@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #222831;
  color: #eeeeee;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2rem auto;
  max-width: 1200px;
  padding: 0.5rem;
}

.navigation ul {
  display: flex;
  list-style-type: none;
  gap: 2rem;
}

.navigation a {
  text-decoration: none;
  color: aliceblue;
  transition: color 0.3s ease;
}

.navigation a:hover {
  color: #00adb5;
}

hr {
  opacity: 10%;
  border: none;
  height: 1px;
  background-color: #ffffff;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 5rem auto;
  max-width: 1200px;
  position: relative;
  flex-wrap: wrap;
}

.arrow {
  position: absolute;
  transform: translateX(-5.5rem) translateY(1.5rem); 
}

.herosub {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 1;
}

.name {
  font-size: 3rem;
  color: #eeeeee;
  font-weight: bold;
}

.title {
  font-size: 4rem;
  color: #00adb5;
  text-transform: uppercase;
}

.heroBtns {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hireme, .cv {
  border-radius: 24px;
  text-decoration: none;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.hireme {
  background-color: #00adb5;
  color: #eeeeee;
}

.hireme:hover {
  background-color: #019ba3;
  transform: scale(1.05);
}

.cv {
  background-color: rgba(57, 62, 70, 0.75);
  color: #eeeeee;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(4px);
}

.cv:hover {
  background-color: rgba(57, 62, 70, 0.9);
  transform: scale(1.05);
}

.heroimg {
  max-width: 400px;
  width: 100%;
  z-index: 0;
}

/* About Me Section */
.aboutme {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 5rem auto;
  max-width: 1200px;
  gap: 6rem;
  flex-wrap: wrap;
}

.aboutmeimg {
  max-width: 400px;
  width: 100%;
}

.textContainer {
  display: flex;
  flex-direction: column;
}

.texttitle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.aboutname {
  font-size: 3rem;
  color: #eeeeee;
}

.abouttitle {
  font-size: 3rem;
  color: #00adb5;
}

.light {
  width: 30px;
  height: 30px;
}

.aboutmepar {
  margin-top: 1rem;
  color: #dddddd;
  line-height: 1.6;
  max-width: 400px;
}

/* Works Section */
.Works {
  background-image: url("assets/svg/background.svg");
  background-size: cover;
  background-position: center;
  padding: 10rem 2rem;
  margin: 5rem 0;
}

.workscontainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.projectTitle {
  text-align: center;
}

.projectTitle .aboutname {
  font-size: 2.5rem;
  color: #eeeeee;
}

.projectTitle .aboutTitle {
  font-size: 3rem;
  color: #00adb5;
}

.Works ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style-type: none;
  gap: 2rem;
  padding: 0;
}

.Works li img {
  max-width: 250px;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
}

.Works li img:hover {
  transform: scale(1.05);
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.4);
}

/* Contact Section */
.contact {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 2rem;
  text-align: center;
}

.contact h1 {
  font-size: 3rem;
  color: #00adb5;
  margin-bottom: 1rem;
}

.contact p {
  color: #dddddd;
  margin-bottom: 2rem;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact input,
.contact textarea {
  padding: 1rem;
  border-radius: 12px;
  border: none;
  outline: none;
  font-size: 1rem;
  background-color: #393e46;
  color: #eeeeee;
}

.contact textarea {
  resize: none;
  height: 150px;
}

.contact button {
  padding: 1rem;
  background-color: #00adb5;
  border: none;
  border-radius: 12px;
  color: #eeeeee;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact button:hover {
  background-color: #019ba3;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background-color: #1c1e23;
  color: #888888;
  margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero,
  .aboutme {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .arrow {
    display: none;
  }

  .heroimg,
  .aboutmeimg {
    max-width: 100%;
  }

  .navigation ul {
    gap: 1rem;
  }

  .heroBtns {
    flex-direction: column;
    align-items: center;
  }
}
