@font-face {
  font-family: 'Gilroy';
  src: url('./fonts/Gilroy-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

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

body {
  font-family: "Gilroy", sans-serif;
  background-image: url("./images/brand-card/Background-image.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  /* horizontal center, vertical center */
  background-attachment: fixed;
  background-size: cover;
}


/* nav section start */
header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 999;
  background:
    linear-gradient(rgba(0, 0, 0, 0.797)),
    url(./images/jorgen-hendriksen-_-nX3P8xI9E-unsplash.png);
  background-size: cover;
  background-position: center;

  @media (max-width: 768px) {
    width: 100%;
    margin: 0 auto;
    background:
      linear-gradient(rgba(0, 0, 0, 0.879), rgba(0, 0, 0, 0.913)),
      url(./images/jorgen-hendriksen-_-nX3P8xI9E-unsplash.png);
  }

  @media (min-width: 768px) and (max-width: 1024px) {
    width: 100%;
    margin: 0 auto;
    background:
      linear-gradient(rgba(0, 0, 0, 0.879), rgba(0, 0, 0, 0.913)),
      url(./images/jorgen-hendriksen-_-nX3P8xI9E-unsplash.png);
  }
}

.nav_container {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;

  @media (max-width: 768px) {
    width: 90%;
    margin: 0 auto;
    overflow-x: hidden;
  }

  @media (min-width: 768px) and (max-width: 1024px) {
    width: 90%;
    margin: 0 auto;
    overflow-x: hidden;
  }
}

.logo {
  width: 10%;

  @media (max-width: 768px) {
    width: 30%;
  }
}

.logo img {
  width: 100%;
}

.link {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;

  @media (max-width: 768px) {
    display: none;
  }

  @media (min-width: 768px) and (max-width: 1024px) {
    display: none;
  }
}

.link li a {
  text-decoration: none;
  color: #BABABA;
  font-size: 16px;
  cursor: pointer;
}

.login_cart {
  display: flex;
  align-items: center;
  gap: 30px;

  @media (max-width: 768px) {
    display: none;
  }

  @media (min-width: 768px) and (max-width: 1024px) {
    display: none;
  }
}

.login_wrapper {
  position: relative;
  display: inline-block;
}

.login {
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
}

.login h3 {
  color: #BABABA;
  font-weight: 400;
}

.login i {
  color: #FE4806;
  font-size: 20px;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(201, 199, 199, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px;
  border-radius: 15px;
  flex-direction: column;
  gap: 10px;
  min-width: 150px;
  z-index: 999;
}

.dropdown a {
  display: block;
  padding: 5px 15px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.603);
  font-size: 13px;
  color: black;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.dropdown a:hover {
  background: #000000;
  color: white;
}


.login_wrapper:hover .dropdown {
  display: flex;
}

.login_wrapper:hover .login i {
  transform: rotate(180deg);
  transition: 0.3s;
}

.toggle_btn {
  display: none;

  @media (max-width: 768px) {
    width: 8%;
    display: block;
  }

  @media (min-width: 768px) and (max-width: 1024px) {
    width: 8%;
    display: block;
  }
}

.toggle_btn img {
  @media (max-width: 768px) {
    width: 100%;
  }

  @media (min-width: 768px) and (max-width: 1024px) {
    width: 70%;
  }
}

.sidebar {
  position: fixed;
  top: 0;
  right: -280px;
  /* initially hidden */
  width: 280px;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
    url('./images/mobielandtabvie.jpg') no-repeat center center / cover;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 32px 0 rgba(108, 108, 108, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px;
  transition: all 0.3s ease;
  z-index: 999;
  color: white;

  @media (min-width: 768px) and (max-width: 1024px) {
    width: 580px;
    right: -580px;
    padding: 50px;
  }
}

.sidebar.active {
  right: 0;
  /* Show sidebar */
}

.sidebar .close-btn {
  font-size: 40px;
  cursor: pointer;
  color: #fff;
  position: absolute;
  right: 15px;

  @media (min-width: 768px) and (max-width: 1024px) {
    font-size: 80px;
  }
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin: 20px 0;
}

.sidebar ul li a {
  color: #ffffff;
  text-decoration: none;

  @media (min-width: 768px) and (max-width: 1024px) {
    font-size: 30px;
  }
}

.menu-icon {
  font-size: 30px;
  cursor: pointer;
  color: white;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.productlink {
  position: relative;
}

.prodcutlink:hover .product_card,
.product_card:hover {
  display: block;
}

.product_card {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 999;
}

.card_overlay {
  display: flex;
  position: relative;
  padding: 30px 40px;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid #707070;
  border-radius: 15px;
  justify-content: center;
  gap: 40px;
}

.card_ov {
  width: 200px;
  height: 240px;
  border-radius: 30px;
  background: rgba(60, 60, 60, 0.3);
  /* semi-transparent background */
  border: 4px solid rgba(255, 255, 255, 0.2);
  /* light border */
  box-shadow:
    inset -5px -5px 10px rgba(255, 255, 255, 0.15),
    inset 5px 5px 10px rgba(0, 0, 0, 0.4),
    0 0 0 2px #999,
    0 0 0 4px #0000001f,
    0 5px 15px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(30px);
  /* for Safari */
  position: relative;
  overflow: hidden;
  color: white;
  text-align: center;
}

.cardinner-white {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  height: 120px;
  background: white;
  border-radius: 30px;
  /* Replace with your own image */
  background-size: cover;
  background-position: center;
}

.card_text {
  position: absolute;
  bottom: 25px;
  width: 100%;
  font-size: 15px;
  letter-spacing: 1px;
  color: #D9D9D9;
}

/* nav section end */


.main-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}



.hero {
  position: relative;
  margin-bottom: 70px;
  height: 420px;
  width: 100%;
  background-image: url("./images/brand-card/hero-background.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  /* horizontal center, vertical center */
  background-size: cover;


  & .btn {

    position: absolute;
    bottom: 35px;
    /* adjust as needed */
    left: 50%;
    transform: translateX(-50%);

    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    /* light transparent background */
    backdrop-filter: blur(15px);
    /* soft blur */
    -webkit-backdrop-filter: blur(15px);
    /* Safari support */
    border-radius: 50px;
    padding: 15px 60px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    /* subtle shadow */
    transition: background 0.3s ease, transform 0.2s ease;
  }

  &.btn :hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.03);
  }

}


.card-box {
  padding: 50px 0px;
  width: fit-content;
  display: flex;
  justify-items: center;

  gap: 20px;

  & .image-box {
    width: fit-content;
    position: relative;

    & .card-image {
      width: 300px;
    }

    & .card-shadow {
      position: absolute;
      position: absolute;
      bottom: -45px;
      /* adjust as needed */
      left: 50%;
      transform: translateX(-50%);
      width: 350px;
      opacity: 20%;

    }
  }



  .text-box {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;

    & .tittle-text {

      display: flex;
      gap: 20px;
      margin-bottom: 10px;

      & h3 {
        font-weight: 300;
        font-size: 24px;
        color: white;
        line-height: 1;
      }

      & .save-image {
        height: 24px;
      }
    }

    & .price {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;

      & p {
        font-size: 16px;
        color: white;
        margin-top: 8px;
      }

      & button {
        font-size: 20px;
        font-weight: 500;
        color: white;
        background-color: #FC4D0D;
        padding: 10px 20px;
        border: none;
        border-radius: 2px 9999px 9999px 9999px;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.2s ease;
      }

      & button:hover {
        transform: scale(1.05);
        /* subtle zoom */
      }
    }


    & .cta-button {
      font-size: 16px;
      padding: 8px 18px;
      padding-top: 12px;
      font-weight: 600;
      border-radius: 99px;
      border: none;
      width: fit-content;
      color: rgb(53, 53, 53);
      background-color: #f1f1f1;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
    }

    & .cta-button:hover {
      background-color: #e0e0e0;
      transform: scale(1.05);
    }
  }
}




/* Tablet Styles (portrait & landscape) */
@media (max-width: 1024px) {
  .main-container {
    padding: 20px;
  }

  .hero {
    height: 420px;
    background-position: center center;
    margin-bottom: 40px;
  }

  .hero .btn {
    padding: 12px 40px;
    font-size: 18px;
  }

  .card-box {
    flex-direction: row;
    align-items: center;
  }

  .card-box .image-box .card-image {
    width: 250px;
  }

  .card-box .image-box .card-shadow {
    width: 300px;
    bottom: -35px;
  }

  .text-box .tittle-text h3 {
    font-size: 20px;
  }

  .text-box .price button {
    font-size: 18px;
  }

  .text-box .cta-button {
    font-size: 14px;
    padding: 10px 16px;
  }
}

/* Mobile Styles */
@media (max-width: 600px) {
  .main-container {
    padding: 15px;
  }

  .hero {
    height: 360px;
  }

  .hero .btn {
    padding: 10px 30px;

    font-size: 15px;
  }

  .card-box {
    margin: auto;
    flex-direction: column;
    gap: 30px;
  }

  .card-box .image-box .card-image {
    width: 300px;
  }

  .card-box .image-box .card-shadow {
    width: 250px;
    bottom: -25px;
  }

  .text-box {
    margin-top: 20px;
    text-align: left;
    width: 100%;
  }

  .text-box .tittle-text {
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
  }

  .text-box .tittle-text h3 {
    font-size: 18px;
  }

  .text-box .price {
    flex-direction: row;
    align-items: center;
  }

  .text-box .price button {
    margin-top: 2px;
    font-size: 16px;
    padding: 8px 16px;
  }

  .text-box .cta-button {
    font-size: 14px;
    padding: 8px 16px;
  }
}



/* footer section starts */

.footer_container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 0;
  background-color: #101010;

  @media (max-width: 767px) {
    margin-top: 40px;
    margin-bottom: 0;
  }

  @media (min-width: 768px) and (max-width: 1024px) {
    margin-top: 40px;
    margin-bottom: 0;
  }
}

.footer_logo {
  width: 1100px;
  margin: 0 auto;
  margin-top: 70px;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;

  @media (max-width: 767px) {
    width: 95%;
    margin: 0 auto;
  }

  @media (min-width: 768px) and (max-width: 1024px) {
    width: 95%;
    margin: 0 auto;
  }
}

.footer_logo_img {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.footer_logo_img img:nth-child(1) {
  width: 30%;

  @media (max-width: 767px) {
    margin-top: 70px;
  }

  @media (min-width: 768px) and (max-width: 1024px) {
    margin-top: 80px;
  }
}

.footer_logo_img img:nth-child(2) {
  width: 30%;

  @media (max-width: 767px) {
    margin-top: 70px;
  }

  @media (min-width: 768px) and (max-width: 1024px) {
    margin-top: 80px;
  }
}

.footer_logo_contact button {
  padding: 15px 40px;
  font-size: 20px;
  color: #fff;
  background: radial-gradient(circle at center, #333 0%, #111 100%);
  border: 1px solid #666;
  border-radius: 50px;
  box-shadow:
    inset 0 0 8px rgba(255, 255, 255, 0.1),
    0 0 4px rgba(255, 255, 255, 0.1);
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;

  @media (max-width: 767px) {
    display: none;
  }

  @media (min-width: 768px) and (max-width: 1024px) {
    display: none;
  }
}

.footer_logo_contact button:hover {
  box-shadow:
    inset 0 0 12px rgba(255, 255, 255, 0.2),
    0 0 6px rgba(255, 255, 255, 0.2);
}

.footer_links {
  width: 1100px;
  margin: 0 auto;
  overflow-x: hidden;
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding: 40px 10px 0 10px;

  @media (max-width: 767px) {
    width: 90%;
    margin: 0 auto;
    flex-direction: column;
    gap: 50px;
  }

  @media (min-width: 768px) and (max-width: 1024px) {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto auto;
    gap: 40px;
  }
}

.footer_links .navigate_link {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #FFFFFF;
}

.navigate_media {
  display: flex;
  justify-content: space-between;
  gap: 150px;

  @media (max-width: 767px) {
    width: 100%;
    justify-content: space-between;
  }
}

.navigate_text h4 {
  font-size: 1.1rem;
}

.footer_navs ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer_navs ul li {
  list-style: none;
}

.footer_navs ul li a {
  text-decoration: none;
  color: #CECECE;
  font-size: .8rem;
}

.footer_links .media_links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #FFFFFF;
}

.media_text h4 {
  font-size: 1.1rem;
}

.footer_links .shop_links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #FFFFFF;
}

.shop_text h4 {
  font-size: 1.1rem;
}

.footer_links .address_link {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #FFFFFF;
}

.address_text h4 {
  font-size: 1.1rem;
}

.footer_address {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.footer_address div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer_address p {
  color: #CECECE;
  font-size: .8rem;
}

.footer_address ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer_address ul li {
  list-style: none;
  color: #CECECE;
  font-size: .8rem;
}

.social_links {
  display: none;

  @media (max-width: 767px) {
    display: flex;
    width: 90%;
    margin: 30px auto;
    color: white;
    align-items: center;
    justify-content: space-between;
    font-size: 30px;
  }

  @media (min-width: 768px) and (max-width: 1024px) {
    display: flex;
    width: 90%;
    margin: 30px auto;
    color: white;
    align-items: center;
    justify-content: space-between;
    font-size: 50px;
  }
}

.payment {
  width: 1200px;
  margin: 0 auto;

  @media (max-width: 767px) {
    width: 100%;
    margin: 0 auto;
  }

  @media (min-width: 768px) and (max-width: 1024px) {
    width: 100%;
    margin: 0 auto;
  }
}

.payment .img1 {
  width: 100%;

  @media (max-width: 767px) {
    display: none;
  }

  @media (min-width: 768px) and (max-width: 1024px) {
    display: none;
  }
}

.payment .img2 {
  display: none;
  width: 100%;

  @media (max-width: 767px) {
    display: block;
  }

  @media (min-width: 768px) and (max-width: 1024px) {
    display: block;
  }
}

.copyright {
  width: 1100px;
  margin: 0 auto;
  text-align: center;

  @media (max-width: 767px) {
    display: none;
  }

  @media (min-width: 768px) and (max-width: 1024px) {
    display: none;
  }
}

.copyright p {
  color: #CBCBCB;
  font-size: .9rem;


}

/* footer section ends */