/* Brand color 
primary-color: #E6A4CB;
Accent color: #C20024;
secondary-color: #92001B;
neutral-color: #FFF2F8;
neutral-dark-color: #1D1D1D;
*/

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

body {
  font-family: "Inter", sans-serif;
  background-color: #fff2f8;
  color: #1d1d1d;
}
h1 {
  font-family: "Playfair", serif;
  font-size: 4rem;
}
h2 {
  font-family: "Playfair", serif;
  font-size: 2.5rem;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 60px;
}
h3 {
  font-family: "Playfair", serif;
  font-size: 1.75rem;
}
p {
  font-size: 1.25rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.search-btn {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #1d1d1d;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.search-btn:hover {
  color: #c20024;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid #c20024;
  outline-offset: 3px;
}

a {
  color: #1d1d1d;
  text-decoration: none;
}
a:hover {
  color: #c20024;
}

.cta-link {
  color: #1d1d1d;
  text-decoration: none;
  position: relative;
  display: inline-block;
  width: fit-content;
  align-self: flex-start;
  padding-bottom: 2px;
}
.cta-link:hover {
  color: #1d1d1d;
}

.cta-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: #c20024;
  transform: scaleX(1);
  transform-origin: left center;
  transition: transform 0.35s ease;
}

.cta-link:hover::after {
  transform: scaleX(0);
  transform-origin: left center;
}

.nav-logo {
  width: 200px;
  height: auto;
}

.nav-container {
  position: relative;

  .nav-upper-part {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 90px 130px 40px 130px;
  }
  .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    text-decoration: none;
    list-style: none;
    margin-bottom: 40px;
  }

  .icons {
    display: flex;
    align-items: center;
    gap: 18px;

    a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #1d1d1d;
      font-size: 1rem;
    }
  }

  .mobile-only-link {
    display: none;
  }

  .nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: #1d1d1d;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
  }
}

.hero-container {
  position: relative;
  position: sticky;
  top: 0;
  z-index: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hero-container video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.about-container {
  position: relative;
  z-index: 2;
  margin-top: -3.5rem;
  padding-top: 5rem;
  /* border-radius: 2rem 2rem 0 0; */
  background-color: #fff2f8;
}

main section:not(.hero-container) {
  display: flow-root;
  position: relative;
  z-index: 2;
  background-color: #fff2f8;
}

.sound-toggle {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background-color: rgba(29, 29, 29, 0.7);
  color: #fff2f8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.sound-toggle:hover {
  background-color: rgba(29, 29, 29, 0.88);
  transform: scale(1.06);
}

.sound-toggle:focus-visible {
  outline: 2px solid #fff2f8;
  outline-offset: 2px;
}

.sound-toggle i {
  font-size: 1rem;
}

.about-section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 100px;
  gap: 120px;

  img {
    width: min(46vw, 800px);
    height: auto;
    object-fit: cover;
    aspect-ratio: 1 / 1;
  }
  .about-text {
    max-width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
  }
}

.brand-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;

  .imgs1 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 50px;

    img {
      width: 50%;
      height: auto;
    }
  }
  .p-container {
    max-width: 80%;
    display: block;
    align-items: center;
    margin: 100px;
    gap: 30px;

    .cta-link {
      margin-top: 30px;
    }
  }
  .imgs2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 30px;
    padding: 0 30px;
    margin-bottom: 100px;
    img {
      width: 100%;
      height: auto;
      aspect-ratio: 1 / 1;
      object-fit: cover;
    }
  }
}

.shopping-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 0 30px;
}
.category {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1 / 1;

  .cta-link {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: auto;
    min-height: 44px;
    padding: 8px 16px;
  }

  .category-img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
  }
}

.social-proof-container {
  position: relative;
  padding-bottom: 80px;
  --carousel-overlay: rgba(0, 0, 0, 0.22);
}

.carousel-shell {
  position: relative;
  padding: 0 70px;
}

.carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.carousel-item {
  position: relative;
  flex: 0 0 clamp(220px, 20vw, 320px);
  width: clamp(220px, 20vw, 320px);
  aspect-ratio: 3 / 4;
  scroll-snap-align: start;
  overflow: hidden;
}

.carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--carousel-overlay);
  pointer-events: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  padding: 3px;
  border: 0;
  border-radius: 50%;
  background-color: #c20024;
  color: #fff2f8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
  box-sizing: content-box;
}

.carousel-btn:hover {
  background-color: #e6a4cb;
  border: 1px solid #c20024;
  color: #c20024;
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn-prev {
  left: 12px;
}

.carousel-btn-next {
  right: 12px;
}

.newsletter-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 120px;
  padding: 30px 30px;

  form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
  }
  p {
    text-align: center;
    max-width: 1000px;
    margin: auto;
  }
  h2 {
    margin-bottom: 30px;
  }
  input {
    padding: 12px 16px;
    border: 1px solid #c20024;
    border-radius: 1px;
    font-size: 1rem;
    width: 700px;
    max-width: 100%;

    transition: border-color 0.2s ease;

    &:focus {
      border-color: #c20024;
      background: #e6a4cb53;
      outline: 2px solid #c20024;
      outline-offset: 2px;
    }
  }
  button {
    padding: 12px 24px;
    border: 0;
    border-radius: 1px;
    background-color: #c20024;
    color: #fff2f8;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition:
      background-color 0.2s ease,
      color 0.2s ease;

    &:hover {
      background-color: #e6a4cb;
      color: #c20024;
      border: 1px solid #c20024;
    }
  }
}
.line {
  width: 100%;
  height: 1px;
  background-color: #c20024;
  margin: 50px auto;
}
.footer-container {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  gap: 50px;
  padding: 50px 50px 80px 50px;

  .footer-left {
    display: flex;
    flex-direction: column;
    gap: 10px;

    .footer-logo {
      width: 200px;
      height: auto;
      margin-bottom: 20px;
    }
    .some-container {
      display: flex;
      gap: 16px;
      align-items: center;

      a {
        font-size: 1.5rem;
        color: #1d1d1d;
        text-decoration: none;
        transition: color 0.2s ease;

        &:hover {
          color: #c20024;
        }
      }
    }
  }

  .footer-mid {
    display: flex;
    flex-direction: column;
    gap: 10px;

    h3 {
      margin: 0 0 10px;
    }
  }

  .footer-right {
    display: flex;
    flex-direction: column;
    gap: 10px;

    h3 {
      margin: 0 0 10px;
    }
  }
}

.copyright-p {
  text-align: center;
  font-size: 0.875rem;
  color: #1d1d1d;
  margin-bottom: 20px;
}

/* ---------------------------------------- */

/* Mobile Responsive - 327px to 768px */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .about-container {
    margin-top: -1rem;
    padding-top: 2rem;
  }

  .nav-container {
    .nav-upper-part {
      padding: 60px 50px 20px 50px;
      flex-direction: row;
      gap: 20px;
    }

    .icons {
      display: none;
    }

    .nav-toggle {
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .nav-bottom-part {
      width: 100%;
    }

    .nav-links {
      display: none;
      flex-direction: column;
      align-items: center;
      gap: 15px;
      margin: 0;
      padding: 12px 0 20px;
      background-color: #fff2f8;

      .mobile-only-link {
        display: list-item;
      }
    }

    &.nav-open {
      .nav-links {
        display: flex;
      }
    }
  }

  .nav-logo {
    width: 120px;
  }

  .about-section {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 50px;
    padding: 0 20px;

    img {
      width: 100%;
      /* max-width: 300px; */
      height: auto;
      aspect-ratio: 1 / 1;
    }

    .about-text {
      max-width: 100%;
      gap: 30px;
    }
  }

  .brand-container {
    gap: 30px;
    padding: 0 20px;

    .imgs1 {
      flex-direction: column;
      gap: 30px;

      img {
        width: 100%;
        /* max-width: 280px; */
        height: auto;
      }
    }

    .p-container {
      max-width: 100%;
      margin: 30px 0;
    }

    .imgs2 {
      grid-template-columns: 1fr;
      gap: 30px;
      padding: 0;
      margin-bottom: 50px;

      img {
        width: 100%;
        height: auto;
      }
    }
  }

  .shop-container {
    padding: 0;

    .category {
      width: 100%;
      /* max-width: 280px; */
    }

    .category img {
      width: 100%;
      height: auto;
    }
  }

  .social-proof-container {
    padding-bottom: 50px;
  }

  .carousel-shell {
    padding: 0 44px;
  }

  .carousel {
    gap: 16px;

    .carousel-item {
      flex: 0 0 72vw;
      width: 72vw;
    }
  }

  .carousel-btn {
    width: 34px;
    height: 34px;
  }

  .carousel-btn-prev {
    left: 6px;
  }

  .carousel-btn-next {
    right: 6px;
  }

  .newsletter-container {
    padding: 40px 20px;

    form {
      flex-direction: column;
      gap: 15px;
    }

    input,
    button {
      width: 100%;
    }
  }

  .footer-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    align-items: stretch;

    .footer-logo-section {
      text-align: center;
      padding: 20px 0;
      border-bottom: 1px solid #c20024;

      .footer-logo {
        width: 60px;
        margin: 0 auto;
      }
    }

    .accordion-section {
      border-bottom: 1px solid #c20024;
      display: flex;
      flex-direction: column;
      gap: 0;

      .footer-accordion-btn {
        background: transparent;
        border: 0;
        padding: 16px 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        text-align: left;
        width: 100%;
        transition: background-color 0.2s ease;

        &:hover {
          background-color: rgba(230, 164, 203, 0.1);
        }

        h3 {
          margin: 0;
          font-size: 1rem;
          font-family: "Playfair", serif;
          color: #1d1d1d;
        }

        i {
          color: #1d1d1d;
          font-size: 0.75rem;
          transition: transform 0.2s ease;
        }
      }

      .footer-accordion-content {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 12px 24px 16px;
        max-height: 500px;
        overflow: hidden;
        animation: slideDown 0.3s ease;

        > a {
          font-size: 0.9rem;
          color: #1d1d1d;
          text-decoration: none;
          transition: color 0.2s ease;
          display: block;
          width: 100%;

          &:hover {
            color: #c20024;
          }
        }

        .some-container {
          display: flex;
          flex-direction: row;
          justify-content: flex-start;
          gap: 12px;
          flex-wrap: wrap;

          a {
            font-size: 1.25rem;
          }
        }
      }

      &.footer-left .footer-accordion-content .some-container {
        justify-content: center;
      }
    }
  }

  .copyright-p {
    padding: 16px 20px;
    border-top: 1px solid #c20024;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      max-height: 0;
    }
    to {
      opacity: 1;
      max-height: 500px;
    }
  }
}

/* Tablet Responsive - 769px to 1200px */
@media (min-width: 769px) and (max-width: 1200px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .about-container {
    margin-top: -2rem;
    padding-top: 3rem;
  }

  .nav-container {
    .nav-upper-part {
      padding: 70px 60px 30px 60px;
    }

    .icons {
      display: none;
    }

    .nav-toggle {
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .nav-bottom-part {
      width: 100%;
    }

    .nav-links {
      display: none;
      flex-direction: column;
      align-items: center;
      gap: 20px;
      margin: 0;
      padding: 12px 0 24px;
      background-color: #fff2f8;

      .mobile-only-link {
        display: list-item;
      }
    }

    &.nav-open {
      .nav-links {
        display: flex;
      }
    }
  }

  .nav-logo {
    width: 150px;
  }

  .about-section {
    gap: 60px;
    margin-bottom: 80px;
    padding: 0 40px;

    img {
      width: min(44vw, 520px);
      height: auto;
      aspect-ratio: 1 / 1;
    }

    .about-text {
      max-width: 50%;
      gap: 40px;
    }
  }

  .brand-container {
    gap: 40px;
    padding: 0 40px;

    .imgs1 {
      gap: 40px;

      img {
        width: calc(50% - 20px);
      }
    }

    .imgs2 {
      gap: 30px;
      padding: 0 30px;
      margin-bottom: 80px;

      img {
        width: 100%;
        height: auto;
        object-fit: cover;
        aspect-ratio: 1 / 1;
      }
    }
  }

  .shop-container {
    padding: 0 20px;

    .category {
      width: 100%;
      /* max-width: 280px; */
    }

    .category img {
      width: 100%;
      height: auto;
    }
  }
  .shopping-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 20px 40px;
    align-items: stretch;

    .footer-logo-section {
      text-align: center;
      padding: 20px 0;
      border-bottom: 1px solid #c20024;

      .footer-logo {
        width: 80px;
        margin: 0 auto;
      }
    }

    .accordion-section {
      border-bottom: 1px solid #c20024;
      display: flex;
      flex-direction: column;
      gap: 0;

      .footer-accordion-btn {
        background: transparent;
        border: 0;
        padding: 16px 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        text-align: left;
        width: 100%;
        transition: background-color 0.2s ease;

        &:hover {
          background-color: rgba(230, 164, 203, 0.1);
        }

        h3 {
          margin: 0;
          font-size: 1rem;
          font-family: "Playfair", serif;
          color: #1d1d1d;
        }

        i {
          color: #1d1d1d;
          font-size: 0.75rem;
        }
      }

      .footer-accordion-content {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 12px 24px 16px;
        max-height: 500px;
        overflow: hidden;

        a {
          font-size: 0.9rem;
          color: #1d1d1d;
          text-decoration: none;
          transition: color 0.2s ease;

          &:hover {
            color: #c20024;
          }
        }

        .some-container {
          display: flex;
          flex-direction: row;
          justify-content: center;
          gap: 12px;
          flex-wrap: wrap;

          a {
            font-size: 1.25rem;
          }
        }
      }
    }
  }
}

/* ---------------------------------------- */

/* Desktop Responsive - 1201px and above */
@media (min-width: 1201px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.5rem;
    margin-top: 50px;
    margin-bottom: 60px;
  }

  p {
    font-size: 1.25rem;
  }

  .nav-container {
    .nav-upper-part {
      padding: 90px 130px 40px 130px;
    }

    .nav-toggle {
      display: none;
    }

    .nav-links {
      display: flex;
      flex-direction: row;
      margin-bottom: 40px;
      gap: 30px;
    }

    .icons {
      display: flex;
    }
  }

  .nav-logo {
    width: 200px;
  }

  .about-section {
    gap: 120px;
    margin-bottom: 100px;

    img {
      width: 800px;
      height: 800px;
    }

    .about-text {
      max-width: 30%;
      gap: 50px;
    }
  }

  .brand-container {
    gap: 50px;

    .imgs1 {
      gap: 50px;

      img {
        width: 50%;
      }
    }

    .imgs2 {
      gap: 30px;
      padding: 0 30px;
      margin-bottom: 100px;

      img {
        width: 100%;
        height: auto;
      }
    }
  }

  .footer-container {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 50px;
    padding: 50px 50px 80px 50px;
    flex-direction: row;

    .footer-logo-section {
      display: flex;
      flex-direction: column;
      gap: 10px;
      flex-shrink: 0;

      .footer-logo {
        width: 150px;
        min-width: 150px;
        max-width: none;
        height: auto;
        margin-bottom: 20px;
      }
    }

    .accordion-section {
      border: none;
      flex-direction: column;
      gap: 10px;
      align-items: flex-start;

      .footer-accordion-btn {
        display: block;
        padding: 0;
        background: transparent;
        border: none;
        width: auto;
        text-align: left;
        cursor: default;
        margin: 0;

        h3 {
          margin: 0 0 10px;
          font-size: 1rem;
          font-family: "Playfair", serif;
          color: #1d1d1d;
          cursor: default;
        }

        i {
          display: none;
        }

        &:hover {
          background-color: transparent;
        }
      }

      .footer-accordion-content {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        padding: 0 !important;
        max-height: none !important;

        a {
          font-size: 1rem;
          color: #1d1d1d;
          text-decoration: none;
          transition: color 0.2s ease;

          &:hover {
            color: #c20024;
          }
        }

        .some-container {
          justify-content: flex-start;
          gap: 16px;
          flex-direction: row;

          a {
            font-size: 1.5rem;
          }
        }
      }
    }

    .footer-mid,
    .footer-right {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-left {
      display: flex;
      flex-direction: column;
      gap: 10px;

      .some-container {
        justify-content: flex-start;
        gap: 16px;
        align-items: center;

        a {
          font-size: 1.5rem;
          color: #1d1d1d;
          text-decoration: none;
          transition: color 0.2s ease;

          &:hover {
            color: #c20024;
          }
        }
      }
    }
  }
}
