@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Poppins:wght@400;500&display=swap');

* {
    /* outline: 1px solid red; */
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
:root{
--headingTextColor:#084422;
--bodyBackgroundColor:white;
--topPadding:60px;
--navTextColor:#084422;
--navTextSize:1.25rem;
--eliteBackgroundColor:#F7F4EB;
--buttonTextColor:white;
--buttonHoverBgColor: #1F2937;
--shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

}
body {
  background-color: var(--bodyBackgroundColor);
  font-family: 'Poppins', sans-serif;
  padding-top: var(--topPadding);
}

h1, h2, h3,header span, .product-name {
  font-family: 'Playfair Display', serif;
}

p {
    margin: 0;
}
.section-heading{
    color:var(--headingTextColor) ;
}
   

    /* ===== NAVBAR BASE ===== */
    .navbar {
      background: var(--bodyBackgroundColor);
      box-shadow: var(--shadow);
      height: 60px;
      padding: 0 1.5rem;
    }

    /* ===== BRAND ===== */
    .navbar-brand {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-weight: 600;
      color: var(--headingTextColor);
      text-decoration: none;
    }

    .navbar-brand img {
      width: 45px;
      height: 45px;
      border-radius: 50%;
      object-fit: cover;
    }

    .nav-link {
      font-weight: 500;
      color: var(--text-dark);
      position: relative;
      transition: color 0.3s ease;
    }

    .nav-link:hover {
      color: var(--hover-color);
    }
    
    @media (min-width: 992px) {
      .navbar-collapse {
          margin: 0 !important; 
          
          position: absolute;
          left: 50%;
          transform: translateX(-50%);
          
          width: fit-content; 
      }
    }


    .btn-icon {
      background: none;
      border: none;
      color: var(--text-dark);
      font-size: 1.2rem;
      margin-left: 10px;
      cursor: pointer;
      transition: color 0.3s ease, transform 0.1s;
      padding: 0.25rem;
    }

    .btn-icon:hover {
      color: var(--hover-color);
      transform: translateY(-1px);
    }
    
    .search-box {
      position: relative;
      margin-right: 15px; 
    }

    .search-box input {
      border-radius: 20px;
      border: 1px solid #ddd;
      padding: 0.4rem 1rem 0.4rem 2rem;
      width: 220px; 
      font-size: 0.9rem;
      transition: all 0.3s;
    }

    .search-box input:focus {
      outline: none;
      border-color: var(--hover-color);
      box-shadow: 0 0 4px rgba(25, 135, 84, 0.3);
      width: 220px; 
    }

    .search-box i {
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      color: #777;
      pointer-events: none;
    }

    .mobile-search {
      display: none; 
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 70px;
      background: rgba(255, 255, 255, 0.98);
      align-items: center;
      padding: 0 1rem;
      gap: 0.5rem;
      z-index: 1050;
      
      transform: translateY(-100%);
      opacity: 0;
      pointer-events: none;
      transition: all 0.4s ease;
    }

    .mobile-search.show {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    @media (max-width: 991px) {
      .navbar {
        padding: 0 0.75rem; 
      }
      
      .search-box {
        display: none !important; 
      }

      .navbar-toggler {
        margin-left: 10px; 
        padding: 0.5rem;
      }
      
      .navbar-toggler:focus {
        box-shadow: none !important;
        outline: none !important;
      }
      
      .navbar-collapse {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        margin-left: 0; 
        margin-right: 0;
        background: var(--bg);
        box-shadow: var(--shadow);
        text-align: center;
        border-radius: 0 0 8px 8px;
        padding: 0.5rem 0;
        z-index: 1000;
        
        transform: none !important;
        left: 0 !important;
        width: 100% !important;
      }
      
      .mobile-search {
        display: flex; 
      }

      .mobile-search input {
        flex: 1;
        border-radius: 20px;
        border: 1px solid var(--hover-color);
        padding: 0.4rem 1rem;
        font-size: 1rem;
        box-shadow: none;
      }
      
      .mobile-search button {
        color: var(--hover-color);
        background: #fff;
        border: 1px solid var(--hover-color);
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.1rem;
        opacity: 1;
        flex-shrink: 0; 
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        transition: background-color 0.2s;
      }
      
      .mobile-search button:hover {
          background-color: #f0fff0;
      }
    }
    
 
    
.banner {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;

}

/* Banner style */
.banner img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease-in;
    opacity: 0;
}

.banner img.active{
    opacity: 1;
}

#banner__leftbtn,
#banner__rightbtn {
    position: absolute;
    top: 40%;
    font-size: 2rem;
    z-index: 2;
    color: white;
    cursor: pointer;
    background: #0000003c;
    border-radius: 30px;
}

#banner__leftbtn {
    left: 3%;
}

#banner__rightbtn {
    right: 3%;
}

/* loved products - card  & new product*/

.loved-products,.review{
    background-color: var(--eliteBackgroundColor);
}

.loved-products__card,.new-products__card{
  background-color:var(--bodyBackgroundColor);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition:all 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.loved-products__card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(12, 12, 12, 0.371);
}
.new-products__card{
  background-color: var(--eliteBackgroundColor);
}
.new-products__card:hover {
  box-shadow: 0 10px 20px rgba(12, 12, 12, 0.292);
}

/*.loved-products__rating design */
.loved-products__rating {
  background-color: #d8ddd9bf; 
  color: #0a100bd2;
  padding: 5px;
  font-weight: 600;
}
.loved-products__rating:hover {
  background-color: #d8ddd9f6;
  color: #0a100b;
}

.cart,#viewBtn{
   border: 1px solid black;
}
.cart:hover,#viewBtn:hover {
  background-color:var(--buttonHoverBgColor);
  color: var(--buttonTextColor);
}

.loved-products a{
  color: var(--text-dark);
  text-decoration: none;
}

/* category style */
.category__card {
  transition: all 0.4s ease;
}
.category__card:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.category__card a{
  color: var(--text-dark);
  text-decoration: none;
}
/* review */
.review__card--img{
  border-radius:50%;
}

/* Our story */

.about__image1 {
border-radius:50px 0 0 0 ;
}
.about__image2 {
border-radius:0 0 0 50px ;
}
.about__image3 {
border-radius:0 30px 50px 0 ;
}
.about p{
  text-align: justify;
}

/*footer design*/
.footer{
  background-color: var(--eliteBackgroundColor);
}
.footer__content{
  display: flex;
  flex-direction: column;
  gap:10px;
  /* text-align: center; */
}

.footer h4{
  text-decoration: underline;
}

.footer a{
  color:black;
  text-decoration: none; 
}











