Copy * {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Barlow", sans-serif;
  color: hsl(0, 0%, 100%);
}

img {
  display: block;
}

/* SPECIAL HEADINGS */
h1 {
  color: hsl(0, 100%, 100%);
  font-family: "Fraunces", sans-serif;
  text-align: center;
  text-transform: uppercase;
  margin: 4rem 0;
  font-size: 2.7rem;
  letter-spacing: 5px;
}

h2 {
  color: hsl(212, 27%, 19%);
  font-family: "Fraunces", sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
}

h3 {
  font-size: 1.5rem;
  font-family: "Fraunces", sans-serif;
  margin-bottom: 1rem;
}

h4 {
  font-family: "Fraunces", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

p {
  color: hsl(213, 9%, 39%);
  font-weight: 400;
  line-height: 1.5;
}

/* *************** */

/* HERO SECTION */
.hero-section {
  height: 100vh;
  background-image: url(./images/desktop/image-header.jpg);
  background-size: cover;
  background-position: center;
}

header,
ul {
  display: flex;
  align-items: center;
}

header {
  justify-content: space-between;
  padding: 2rem;
  position: relative; /* REQUIRED: anchors the nav dropdown */
}

ul {
  list-style: none;
  gap: 1rem;
  font-size: 16px;
  font-weight: 600;
}

header a {
  text-decoration: none;
  color: hsl(0, 100%, 100%);
  padding: 0.9rem;
  border-radius: 25px;
}


.contact-btn {
  font-family: "Fraunces", sans-serif;
  font-weight: 600;
  background-color: hsl(0, 0%, 100%);
  color: hsl(240, 100%, 0%) !important; 
  border-radius: 20px;
  padding: 0.75rem;
}



header a:hover {
  background-color: rgba(240, 248, 255, 0.153);
}

.scroll-down-arrow {
  position: absolute;
  bottom: 40%;
  left: 50%;
  transform: translateX(-50%);
  transform: scale(1.2);
}

/* Harmburger button */
.harmburger-btn {
  display: none;
  border: none;
  background: none;
  cursor: pointer;
}
.harmburger-btn span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background: white;
}

/* ************* */

/* SHOWCASE SECTION */

.showcase_section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr 1fr;
}

.showcase_section > div {
  width: 100%;
}

.transform-info {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}
.transform-info > div {
  width: 400px;
  display: flex;
  gap: 1.7rem;
  justify-content: center;
  flex-direction: column;
}

.stand_out-info > div {
  width: 400px;
  display: flex;
  gap: 1.7rem;
  justify-content: center;
  flex-direction: column;
}

.stand_out-info {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  align-items: center;
}

.transform-img,
.stand_out-img {
  width: 100%;
}

.learn-more-btn {
  font-family: "Fraunces", sans-serif;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
  color: hsl(212, 27%, 19%);
  width: fit-content;
  position: relative;
}

.learn-more-btn::after {
  content: "";
  position: absolute;
  bottom: 1px;
  padding: 0 2px;
  border-radius: 5px;
  left: 0;
  width: 0;
  height: 5px;
  z-index: -999;
  transition: width 0.3s ease;
}

.transform-info .learn-more-btn:hover::after {
  background-color: hsl(51, 100%, 49%);
  width: 100%;
}

.stand_out-info .learn-more-btn:hover::after {
  background-color: hsl(7, 99%, 70%);
  width: 100%;
}

.graphics {
  background-image: url(./images/desktop/image-graphic-design.jpg);
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  color: hsl(167, 40%, 24%);
}

.photography {
  background-image: url(./images/desktop/image-photography.jpg);
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  color: hsl(198, 62%, 26%);
}

.feature-skill-info {
  /* width: 400px; */
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.feature-skill-img {
  width: 100%;
  z-index: -999;
}

/* CLIENT TESTIMONIAL SECTION */
.testimonials-section {
  display: flex;
  padding: 8rem 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.client_heading {
  color: hsl(210, 4%, 67%);
  letter-spacing: 3px;
}

.client-container {
  max-width: 1100px;
  padding: 2rem;
  display: flex;
}

.client-img {
  width: 60px;
  border-radius: 50%;
}

.client-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
}
.client-name {
  font-family: "Fraunces", sans-serif;
  font-weight: 900;
  color: hsl(240, 100%, 0%);
}

.client-position {
  font-size: 14px;
}

.client-info > p {
  color: hsl(213, 9%, 39%);
  font-weight: 600;
}

/* ************************ */

/* PHOTO GALLERY SECTION */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.photo-gallery div {
  /* border: 1px solid black;  */
}
.photo-gallery div img {
  width: 100%;
  object-fit: cover;
}
/* ******************** */

/* FOOTER SECTION */

.footer-container {
  max-width: 500px;
  align-items: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

footer {
  background-color: hsl(167, 46%, 60%);
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 4rem;

  a {
    text-decoration: none;
    color: hsl(167, 40%, 24%);
    transition: color 0.2s ease;
    font-size: 16px;
  }

  a:hover {
    color: hsl(0, 100%, 100%);
  }

  ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
  }

  nav {
    width: 100%;
  }

  .footer-logo {
    fill: hsl(167, 40%, 24%);
  }
}

.social-media {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 4rem;
}
.social-media a {
  fill: hsl(167, 40%, 24%);
}
.social-media a:hover {
  fill: hsl(0, 100%, 100%);
}

/* MEDIA QUERIES */

@media (max-width: 800px) {
  .showcase_section {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto 1fr 700px 700px;
  }

  .scroll-down-arrow {
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
  }

  .transform-img-container {
    order: -1;
  }
  .client-container {
    flex-direction: column;
  }

  .graphics {
    background-image: url(./images/mobile/image-graphic-design.jpg);
  }

  .photography {
    background-image: url(./images/mobile/image-photography.jpg);
  }
}

/* WIDTH 600PX */

@media (max-width: 600px) {
  .hero-section {
    background-image: url(./images/mobile/image-header.jpg);
    position: relative;
  }

  h1 {
    font-size: 3rem;
  }

  .photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .harmburger-btn {
    display: block;
    cursor: pointer;
  }

  /* NAV OVERLAY — anchored to header (position: relative) */
  header nav {
    position: absolute;
    top: calc(100%);
    left: 7%;
    right: 7%;
    width: 85%;
    opacity: 0;
    transform: translateY(-10px);
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
    z-index: 100;
  }

  /* Triangle pointer at top-right of the menu */
  header nav::before {
    content: "";
    position: absolute;
    top: -10px;
    right: 0;
    height: 0;
    border: 16px solid transparent;
    border-bottom-color: white;
    border-right-color: white;
  }

  /* Open state */
  header nav.active {
    opacity: 1;
    transform: translateY(0);
  }

  header ul {
    flex-direction: column;
    gap: 0;
    background-color: hsl(0, 100%, 100%);
    padding: 2rem;
    color: hsl(210, 60%, 8%);
  }

  header li {
    padding: 0.8rem;
    display: block;
  }

  header .contact-btn {
    background-color: hsl(51, 100%, 49%);
    border-radius: 20px;
    margin-top: 0.5rem;
  }

  header nav a {
    color: hsl(213, 9%, 39%);
  }

  header nav a:hover {
    background-color: transparent;
    color: hsl(212, 27%, 19%);
  }

  .transform-info > div {
    width: 100%;
    padding: 2rem;
    text-align: center;
  }

  .stand_out-info > div {
    width: 100%;
    padding: 2rem;
    text-align: center;
  }

  .learn-more-btn {
    width: auto;
  }
}

/* WIDTH 400PX */

@media (max-width: 400px) {
  .transform-info > div {
    padding: 1rem;
  }

  .stand_out-info > div {
    padding: 1rem;
  }
}
