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

body {
  font-family: "Roboto", sans-serif;
}

header {
  nav {
    max-width: 1440px;
    margin: 20px auto;
    padding: 0px 25px;

    .nav-container {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 20px;

      .nav-desktop {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 20px;
      }

      a {
        text-decoration: none;
        color: #555;
        font-weight: 500;
      }

      .card-and-menu {
        display: flex;
        gap: 20px;

        .menu-icon {
          display: none;
        }
      }

      #menu-toggle {
        display: none;
      }

      .nav-mobile {
        display: none;
      }
    }
  }
}

@media (max-width: 640px) {
  header {
    nav {
      .nav-container {
        position: relative;
        flex-direction: column;
        align-items: flex-end;

        .nav-desktop {
          display: none !important;
        }

        .card-and-menu {
          .menu-icon {
            display: block;
          }
        }

        .nav-mobile {
          position: absolute;
          top: 25px;
          right: 0;
          width: 100px;
          display: flex;
          flex-direction: column;
          align-items: flex-end;
          gap: 12px;
          max-height: 0;
          overflow: hidden;
          background-color: rgba(71, 71, 71, 0.4);
          backdrop-filter: blur(10px);
          -webkit-backdrop-filter: blur(10px);

          transition: max-height 0.4s ease;
          z-index: 50;


          a {
            color: #555;
            text-decoration: none;
            margin-right: 20px;
          }
        }

        #menu-toggle:checked~.nav-mobile {

          max-height: 210px !important;
          padding: 20px 0px;
        }

        #menu-toggle {
          display: none;
        }

      }

    }
  }
}

.poster {
  max-width: 1440px;
  margin: 20px auto;
  display: flex;
  justify-content: center;
  align-items: center;

  .left-container {
    flex: 1;
    display: flex;
    flex-direction: column;

    .logo {
      height: 30%;
      width: 300px;
      margin-left: 70px;
      transform: translateY(30px);
    }

    h1 {
      margin-left: 70px;
      font-size: 3rem;
    }

    p {
      margin-left: 70px;
    }
  }

  .right-container {
    flex: 1;

    .modelme {
      transform: translateX(100px);
      height: 50%;
      width: 55%;
      -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%),
        linear-gradient(to right, black 70%, transparent 100%);
      -webkit-mask-composite: intersect;

      mask-image: linear-gradient(to bottom, black 70%, transparent 100%),
        linear-gradient(to right, black 70%, transparent 100%);
      mask-composite: intersect;

    }

  }
}

@media (min-width: 641px) and (max-width: 1024px) {

  .poster {

    .left-container {
      .logo {
        height: 25%;
        width: 245px;
        transform: translateY(40px);
      }


    }

    .right-container {
      .modelme {
        transform: translateX(-10px);
        height: 80%;
        width: 80%;
      }

    }

  }


}

@media (max-width: 640px) {

  .poster {
    position: relative;
    flex-direction: column;
    align-items: center;
    margin-bottom: 100px;
    margin: 10px auto;

    .left-container {
      flex: none;
      align-items: center;
      justify-content: center;

      h1 {
        margin-left: 0px;
        font-size: 3rem;
        z-index: 1;
        position: absolute;
        top: 150px
      }

      p {
        position: absolute;
        margin-left: 0px;
        z-index: 4;
        top: 350px;
        text-align: center;
        padding: 0 20px;
      }


      .logo {
        margin-left: 0;
        height: 60px;
        width: auto;
        z-index: 3;
        transform: none;
      }

    }

    .right-container {
      position: absolute;
      top: 60px;
      flex: none;
      z-index: 2;

      .modelme {
        width: 250px;
        height: auto;
        transform: translateX(-15px);
        -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%),
          linear-gradient(to right, black 70%, transparent 100%);
        -webkit-mask-composite: intersect;

        mask-image: linear-gradient(to bottom, black 70%, transparent 100%),
          linear-gradient(to right, black 70%, transparent 100%);
        mask-composite: intersect;
      }
    }



  }

}

.perfume-categories {
  max-width: 1440px;
  margin: 70px auto;
  text-align: center;
  margin-top: 100px;

  .section-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 50px;
    letter-spacing: 1px;
    color: #111;
  }

  .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin: 0 70px;
    place-items: center;

    a {
      text-decoration: none;

      .category-card {
        padding: 40px 25px;
        border-radius: 16px;
        background: #f8f8f8;
        transition: all 0.3s ease;
        cursor: pointer;

        h3 {
          font-size: 22px;
          margin-bottom: 12px;
          color: #000;
        }

        p {
          font-size: 15px;
          color: #555;
          line-height: 1.6;
        }
      }

      .category-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
      }

      .category-card.floral {
        background: linear-gradient(135deg, #fff1f5, #f8f8f8);
      }

      .category-card.woody {
        background: linear-gradient(135deg, #f5efe9, #f8f8f8);
      }

      .category-card.fresh {
        background: linear-gradient(135deg, #eef7f9, #f8f8f8);
      }

      .category-card.oriental {
        background: linear-gradient(135deg, #f9f1e7, #f8f8f8);
      }


    }
  }
}

@media (max-width: 640px) {

  .perfume-categories {
    margin-top: 400px;
  }

}

.feature-products {
  max-width: 1440px;
  margin: 70px auto;

  h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 50px;
    letter-spacing: 1px;
    color: #111;
    text-align: center;
  }

  .product-container {
    margin: 0 70px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    place-items: center;

    a {
      text-decoration: none;
      color: #111;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: self-start;
      gap: 5px;

      .img {
        overflow: hidden;

        img {
          height: 200px;
          width: 220px;
          transition: transform 0.3s ease;
        }
      }



      img:hover {
        transform: scale(1.2);
      }

      .product-title {
        font-weight: 600;
      }

      .price-rating {
        display: flex;
        gap: 20px;
      }


    }
  }



}

@media (max-width: 640px) {

  .feature-products {
    .product-container {
      grid-template-columns: repeat(2, 1fr);
      margin: 0 20px;
      place-items: center;

      img {
        height: 120px !important;
        width: 120px !important;
      }

      .price-rating {
        font-size: 11px;
        font-weight: 600;
        display: flex;
        gap: 20px;
      }
    }

  }

}


.banner {
  max-width: 1440px;
  margin: 70px auto;
  margin-top: 80px;

  .banner-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1080px;
    margin: auto;
    padding: 0px 25px;
    justify-content: space-around;
    align-items: center;

    .left-banner-container {
      flex: 1;

      img {
        width: 100%;
        -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
        mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
      }
    }

    .right-banner-container {
      flex: 1;

      .banner-title {
        color: #555;
      }

      .banner-subtitle {
        font-size: 50px;
        line-height: 60px;
        margin: 10px 0px;
      }

      .banne-description {
        color: #555;
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 40px;
      }

      button {
        background-color: #000000;
        margin: 30px 0px;
        padding: 8px 30px;
        border-radius: 30px;
        border: none;
        color: whitesmoke;
        cursor: pointer;
        transition: background-color 0.5s ease;
      }

      button:hover {
        background-color: #ff0000;
      }
    }
  }
}

@media (max-width: 640px) {
  .banner {

    .banner-container {
      flex-direction: column;
      flex-wrap: wrap;
      max-width: 1080px;
      padding: 0px 25px;
      justify-content: center;
      align-items: center;
      gap: 20px;


      .left-banner-container {
        flex: none;

        img {
          margin-left: 30px;
          width: 100%;
          -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
        }
      }

      .right-banner-container {
        flex: none;

        .banner-title {
          color: #555;
        }

        .banner-subtitle {
          font-size: 40px;
          line-height: 50px;
          margin: 5px 0px;
        }

        .banne-description {
          color: #555;
          font-size: 14px;
          line-height: 20px;
          margin-bottom: 30px;
        }

        button {
          background-color: #555;
          margin: 20px 0px;
          padding: 8px 30px;
          border-radius: 30px;
          border: none;
          color: whitesmoke;
          cursor: pointer;
          transition: background-color 0.5s ease;
        }

        button:hover {
          background-color: #0f0f0f;
        }
      }
    }
  }
}

.testimonial {
  max-width: 1440px;
  margin: 70px auto;

  .testimonial-inner-container {
    margin: 0 70px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;

    a {
      text-decoration: none;
      color: #393939;

      .testimonial-card-1 {
        background: linear-gradient(135deg, #fff1f5, #f8f8f8);
      }


      .testimonial-card-2 {
        background: linear-gradient(135deg, #eef7f9, #f8f8f8);
      }


      .testimonial-card-3 {
        background: linear-gradient(135deg, #f9f1e7, #f8f8f8);
      }

      .testimonial-card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        border-radius: 16px;
        transition: all 0.3s ease;
        gap: 15px;

        img {
          border-radius: 50%;
          height: 50px;
          width: 50px;
        }

        span {
          font-weight: 600;
        }

        p {
          text-align: center;
          font-size: 14px;
        }

      }




    }

    .testimonial-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    }

  }
}

.branding {
  max-width: 1440px;
  margin: 70px auto;
  margin-top: 80px;

  .branding-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    max-width: 1080px;
    padding: 0px 25px;
    margin: auto;
    place-items: center;
    gap: 20px;

  }

  img {
    width: auto;
    height: 30px;
    filter: grayscale(100%);
  }

  img:hover {
    filter: grayscale(0%);
  }
}

footer {
  background: #222833;
  color: #eeeeee;
  font-size: 14px;
  padding: 60px 0 20px;

  .footer-inner-container {
    display: flex;
    justify-content: space-around;
    max-width: 1300px;
    margin: auto;
    padding: 0px 25px;
  }

  .footercolumn {
    min-width: 250px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
  }

  .footercolumn-1 {
    flex-basis: 30%;

    h3 {
      color: #ff0000;
      margin-bottom: 20px;
      font-weight: 500;
    }

    p {
      color: #eeeeee;
      cursor: pointer;
    }

    .footer-store {
      display: flex;
      align-items: center;
      gap: 4px;
      margin-top: 20px;

      img {
        width: 140px;
        margin: 5px 0px;
        transition: transform 0.5s ease;
      }

      img:hover {
        transform: translateY(-5px);
      }
    }
  }

  .footercolumn-2 {
    flex: 1;
    align-items: center;

    h3 {
      color: #ff0000;
      margin-bottom: 20px;
      font-weight: 500;
    }

    a {
      text-decoration: none;
      color: #eeeeee;
      margin-top: 10px;
      cursor: pointer;
      transition: color 0.5s ease;
    }

    p:hover {
      color: #ff0000;
    }

    .footer-store {
      display: flex;
      align-items: center;
      gap: 4px;
      margin-top: 20px;
    }
  }

  .footercolumn-3 {
    flex-basis: 12%;
    align-items: center;

    h3 {
      color: #ff0000;
      margin-bottom: 20px;
      font-weight: 500;
    }

    a {
      text-decoration: none;
      color: #eeeeee;
      cursor: pointer;
      margin-top: 10px;
      transition: color 0.5s ease;
    }

    p:hover {
      color: #ff0000;
    }

    .footer-store {
      display: flex;
      align-items: center;
      gap: 4px;
      margin-top: 20px;
    }
  }
}

@media (max-width: 640px) {


  .footer-inner-container {
    flex-direction: column;

    .footer-store {
      flex-direction: column;
    }
  }

}

.card-section-wrapper {
  margin: 80px auto;
  max-width: 1000px;
  padding: 0 25px;

  table {
    width: 100%;
    border-collapse: collapse;

    th {
      text-align: left;
      padding: 5px;
      color: #fff;
      background: #ff0000;
      font-weight: normal;
    }

    th:last-child {
      text-align: right;
    }

    td {
      padding: 10px 5px;

      .card-info {
        display: flex;
        flex-wrap: wrap;

        img {
          width: 80px;
          height: 80px;
          margin-right: 10px;
        }

        .card-info-details {
          display: flex;
          flex-direction: column;

          p {
            color: #555;
          }

          small {
            color: #555;
          }

          a {
            color: #ff0000;
            font-size: 12px;
            text-decoration: none;
            margin-top: 4px;
          }
        }
      }

      input {
        width: 40px;
        padding: 5px;
        outline: none;
      }
    }

    td:last-child {
      text-align: right;
    }
  }

  .total-price {
    display: flex;
    justify-content: flex-end;

    table {
      border-top: 3px solid #ff0000;
      max-width: 350px;
    }
  }

  .buynow-button {
    display: inline-block;
    background: #ff0000;
    color: #fff;
    padding: 8px 30px;
    margin: 30px 0;
    border-radius: 30px;
    transition: background-color 0.5s ease;
  }

  .buynow-button:hover {
    background-color: #222833;
  }

  a {
    text-decoration: none;
  }
}

.allproduct-section {
  display: flex;
  flex-direction: column;
  max-width: 1080px;
  padding: 0px 25px;
  margin: auto;

  .allproduct-label-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 100px 0px 50px;

    h2 {
      padding: 10px;
    }

    select {
      padding: 5px;
      outline: none;
    }
  }

  .product-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    place-items: center;

    a {
      text-decoration: none;
      color: #111;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: self-start;
      gap: 5px;

      .img {
        overflow: hidden;

        img {
          height: 200px;
          width: 220px;
          transition: transform 0.3s ease;
        }
      }



      img:hover {
        transform: scale(1.2);
      }

      .product-title {
        font-weight: 600;
      }

      .price-rating {
        display: flex;
        gap: 20px;
      }
    }
  }

  .pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 80px 0;

    .pagination-button {
      text-decoration: none;
      color: #000;
      display: inline-block;
      border: 1px solid #ff0000;
      width: 40px;
      height: 40px;
      text-align: center;
      line-height: 40px;
      cursor: pointer;
      transition: all 0.5s ease;
    }

    .pagination-button:hover {
      background-color: #ff0000;
      color: #fff;
    }
  }
}

@media (max-width: 640px) {

  .allproduct-section {
    .product-container {
      grid-template-columns: repeat(2, 1fr);
      margin: 0 20px;
      place-items: center;

      .products-card {
        .img {
          img {
            height: 120px !important;
            width: 120px !important;
          }
        }

        .price-rating {
          font-size: 11px;
          font-weight: 600;
        }
      }

    }
  }

}




.about-page {

  .about-hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.5)),
      url("./assets/modelshe.webp") center/cover no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    .about-hero-content {
      text-align: center;
      color: #fff;

      .h1-and-logo {

        h1 {
          font-size: 3rem;
          margin-bottom: 10px;
        }

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


      p {
        font-size: 1.2rem;
        letter-spacing: 1px;
      }
    }
  }


  .about-section {
    padding: 80px 20px;



    .container {
      max-width: 1000px;
      margin: auto;
      text-align: center;

      h2 {

        font-size: 2.2rem;
        margin-bottom: 20px;
      }

      p {

        font-size: 1.05rem;
      }
    }
  }


  .about-features {
    padding: 80px 20px;

    .container {
      max-width: 1100px;
      margin: auto;
      text-align: center;

      h2 {

        font-size: 2.2rem;
        margin-bottom: 50px;
      }

      .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;

        .feature-card {
          padding: 30px;
          border: 1px solid #ddd;
          border-radius: 8px;
          transition: transform 0.3s ease;

          &:hover {
            transform: translateY(-5px);
          }

          h3 {

            margin-bottom: 10px;
          }
        }

        .feature-card-1 {
          background: linear-gradient(135deg, #fff1f5, #f8f8f8);
        }

        .feature-card-2 {
          background: linear-gradient(135deg, #f5efe9, #f8f8f8);
        }

        .feature-card-3 {
          background: linear-gradient(135deg, #eef7f9, #f8f8f8);
        }
      }
    }
  }
}

.contact-page {
  .contact-hero {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.55)),
      url("./assets/modelshe.webp") center/cover no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    .contact-hero-content {
      text-align: center;
      color: #fff;

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

      h1 {

        font-size: 3rem;
        margin-bottom: 10px;
      }

      p {
        font-size: 1.2rem;
        letter-spacing: 1px;
      }
    }
  }


  .contact-section {
    padding: 80px 20px;


    .contact-container {
      max-width: 1100px;
      margin: auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;

      @media (max-width: 768px) {
        grid-template-columns: 1fr;
      }
    }
  }


  .contact-info {
    h2 {

      margin-bottom: 20px;
    }

    p {

      margin-bottom: 30px;
    }

    .info-item {
      margin-bottom: 20px;

      span {
        font-weight: 500;
        display: block;
        margin-bottom: 5px;
      }

      a {
        margin: 0;
        text-decoration: none;
        color: #755d5d;
      }
    }
  }

  .contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

    h2 {

      margin-bottom: 25px;
    }

    form {
      display: flex;
      flex-direction: column;

      input,
      textarea {
        margin-bottom: 20px;
        padding: 12px 15px;
        border: 1px solid #ccc;
        border-radius: 4px;


        &:focus {
          outline: none;
        }
      }

      button {
        padding: 12px;
        color: #fff;
        background-color: rgb(255, 0, 0);
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 1rem;
        transition: background-color 0.3s ease;

        &:hover {
          background-color: #000;
        }
      }
    }
  }

}


@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, #f7f7f7, #ececec);

  .wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .card {
    background: #fff;
    width: 100%;
    max-width: 520px;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);

    h1 {
      font-size: 56px;
      font-weight: 600;
      color: #111;
    }

    h2 {
      font-size: 22px;
      margin: 10px 0 12px;
      color: #222;
    }

    .main-text {
      font-size: 15px;
      color: #555;
      margin-bottom: 8px;
    }

    .sub-text {
      font-size: 14px;
      color: #777;
      line-height: 1.6;
      margin-bottom: 28px;
    }

    .brand {
      display: block;
      margin-top: 30px;
      font-size: 13px;
      color: #aaa;
    }
  }

  .loader {
    width: 46px;
    height: 46px;
    border: 4px solid #ddd;
    border-top-color: #111;
    border-radius: 50%;
    margin: 0 auto 25px;
    animation: spin 1s linear infinite;
  }

  .actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;

    button,
    a {
      padding: 10px 24px;
      border-radius: 30px;
      font-size: 14px;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    button {
      background: #111;
      color: #fff;
      border: none;

      &:hover {
        background: #ff0000;
      }
    }

    a {
      border: 1px solid #111;
      color: #111;

      &:hover {
        background: #ff0000;
        color: #fff;
      }
    }
  }

  @media (max-width: 480px) {
    .card {
      padding: 30px 20px;

      h1 {
        font-size: 44px;
      }

      h2 {
        font-size: 18px;
      }
    }
  }
}


.product-details-container {
  margin-top: 80px;
  max-width: 1880px;
  margin: auto;
  padding-left: 25px;
  padding-right: 25px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: center;

  .product-details-content {
    flex-basis: 50%;
    padding: 20px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
  }

  .product-detail-img-content {
    gap: 4px;

    .prduct-details-big-image {
      width: 70%;
    }


  }

  .product-detail-text-content {
    p {
      color: #555;
    }

    h1 {
      font-size: 50px;
      line-height: 60px;
      margin: 15px 0;
    }

    h4 {
      color: #555;
      margin: 10px 0;
      font-size: 22px;
      font-weight: bold;
    }

    select {
      display: block;
      padding: 10px;
      margin-top: 10px;
      border: 1px solid #ff0000;
      outline: none;
      width: fit-content;
    }

    .add-to-card-wrapper {
      display: flex;
      align-items: center;
      gap: 10px;

      input {
        width: 60px;
        height: 40px;
        padding-left: 10px;
        font-size: 15px;
        margin-right: 10px;
        border: 1px solid #ff0000;
        outline: none;
      }

      .add-to-card-button {
        display: flex;
        background-color: #ff0000;
        color: #fff;
        padding: 8px 30px;
        border-radius: 30px;
        transition: background-color 0.5s ease;
        text-decoration: none;
      }

      .add-to-card-button:hover {
        background-color: #222831;
      }
    }
  }
}