:root {
    --dark-roast: #1A120B;
    --coffee-bean: #3C2A21;
    --latte-cream: #E5E5CB;
    --caramel: #D4A762;
    --espresso: #5C3D2E;
}
.btn{
    background-color: #D4A762;
    color: #1A120B;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.btn:hover{
    background-color: #e8b870;
}
/* Navbar - Responsive Version */
.navbar {
    background: #1A120B; /* Dark roast */
    padding: 1rem 2rem;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.nav-brand {
    color: #E5E5CB;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 10px;
    z-index: 1001; /* Above mobile menu */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links a {
    color: #E5E5CB;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-links a:hover, 
.nav-links a.active {
    color: #D4A762;
}

.cart-button {
    color: #1A120B;
    background: #D4A762;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
    font-weight: 600;
}

.cart-button:hover {
    background: #e8b870;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #E5E5CB;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .nav-menu {
        gap: 20px;
    }
    
    .nav-links {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.5rem 1rem;
    }
    
    .nav-toggle {
        display: block;
        order: 2;
    }
    
    .nav-brand {
        order: 1;
        margin-left: 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: #3C2A21;
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transition: left 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }
    
    .cart-button {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
    
    /* Animate hamburger icon */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem 1rem;
    }
    
    .nav-brand {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        width: 100%;
    }
}
main {
    flex: 1; /* Takes all available space */
 }

footer {
    background: #1A120B; /* Dark roast */
    color: #E5E5CB; /* Latte cream */
    padding: 2rem 0;
    width: 100%;
    position: relative;
    bottom: 0 ;
    left: 0;
    z-index: 100; /* Below navbar */
    
 
}
footer .container{
    max-width: 1400px;
    margin: 0 auto;
    
}
.list-unstyled li a{
    color: #E5E5CB !important ; 
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.list-unstyled:hover{
    color: #D4A762;
}
.social-icons a  {
    padding: 0.5rem;
    color: #E5E5CB !important;
    font-size: 1.5rem;
    background-color: #1A120B !important;
    text-decoration: none;
} 
.social-icons a:hover{
    color: #D4A762 !important;
}
/* Mobile responsiveness */
@media (max-width: 768px) {
    footer {
        padding: 1.5rem 0;
        position: relative; /* Optional: switch to static on mobile */
    }
    
    main {
        padding-bottom: 0;
    }
}
html, body {
    height: 100%; /* Full viewport height */
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Minimum full viewport height */
}
/* Home styling */
/* Add to your existing CSS (static/home/css/style.css) */

/* Coffee Break Section */
.coffee-break-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 5rem 0;
    position: relative;
    color: #fff;
    text-align: center;
  }
  
  .coffee-break-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 18, 11, 0.7); /* Dark roast with transparency */
    z-index: 0;
  }
  
  .coffee-break-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .coffee-break-section h2 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
  }
  
  .coffee-break-section h2 strong {
    font-weight: 700;
    display: block;
    font-size: 3.5rem;
  }
  
  .lead-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  /* Ratings Animation */
.ratings {
    margin: 1rem auto;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.9s forwards;
}

.stars {
    color: var(--caramel);
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Updated Best Sellers Section */
.best-sellers {
    padding: 4rem 2rem;
    background-color: var(--latte-cream);
    text-align: center;
}

 #sectiontitle   {
    margin-top: 20px;
    color: var(--dark-roast);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
     align-items: center;
}

 #sectiontitle::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: var(--caramel);
    bottom: -10px;
    left: 25%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
    width: auto;
    
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--caramel);
    color: var(--dark-roast);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 2;
}

.product-image-container {
    height: 250px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-details {
    padding: 1.5rem;
    text-align: center;
}

.product-category {
    display: block;
    color: var(--caramel);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.product-title {
    color: var(--dark-roast);
    font-size: 1.5rem;
    margin: 0.5rem 0;
    font-weight: 700;
}

.product-price {
    color: var(--coffee-bean);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

.product-description {
    color: var(--espresso);
    line-height: 1.6;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: var(--latte-cream);
    color: var(--dark-roast);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: var(--caramel);
}

.quantity {
    margin: 0 0.5rem;
    font-size: 1rem;
    min-width: 20px;
    text-align: center;
}

.add-to-cart-btn {
    padding: 0.8rem;
    background: var(--dark-roast);
    color: var(--latte-cream);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background: var(--coffee-bean);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .best-sellers {
        padding: 3rem 1rem;
    }
}
/* Popular Products Section */
.popular-products {
  padding: 4rem 2rem;
  background-color: var(--latte-cream);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  color: var(--dark-roast);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.subtitle {
  color: var(--espresso);
  font-size: 1.1rem;
  line-height: 1.6;
}

.divider {
  width: 100px;
  height: 3px;
  background: var(--caramel);
  margin: 1.5rem auto;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background-color: var(--caramel) !important;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  
}

.product-badge {
  background: var(--dark-roast);
  color: var(--latte-cream);
  padding: 0.5rem 1rem;
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom-right-radius: 10px;
}

.product-content {
  padding: 1.5rem;
}

.product-card h3 {
  color: var(--dark-roast);
  font-size: 1.2rem;
  margin: 0.5rem 0 1rem;
  min-height: 3.5rem;
}

.price {
  color: var(--coffee-bean);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 1rem 0;
}

.dimensions, 
.type, 
.details {
  color: var(--espresso);
  font-size: 0.9rem;
  margin: 0.3rem 0;
}

.add-to-cart {
  width: 100%;
  padding: 0.8rem;
  background: var(--dark-roast);
  color: var(--latte-cream);
  border: none;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.add-to-cart:hover {
  background: var(--coffee-bean);
}

/* Responsive */
@media (max-width: 768px) {
  .popular-products {
    padding: 3rem 1rem;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}
/* Popular Products Section */
.popular-products {
    padding: 4rem 2rem;
    background-color: var(--dark-roast);
    position: relative;
  }
  
  .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--latte-cream) !important;
  }
  
  .section-header h2 {
    color: var(--latte-cream) !important;
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .subtitle {
    color: var(--latte-cream) !important;  
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  .divider {
    width: 100px;
    height: 3px;
    background: var(--caramel);
    margin: 1.5rem auto;
  }
  
  /* Swiper Styles */
  .productSwiper {
    width: 100%;
    padding: 2rem 0 4rem;
  }
  
  .swiper-slide {
    width: 300px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
  }
  
  .product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .product-badge {
    background: var(--dark-roast);
    color: var(--latte-cream);
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom-right-radius: 10px;
    width: max-content;
  }
  
  .product-image {
    height: 200px;
    overflow: hidden;
  }
  
  .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .swiper-slide:hover .product-image img {
    transform: scale(1.05);
  }
  
  .product-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  
  .product-content h3 {
    color: var(--dark-roast);
    font-size: 1.2rem;
    margin: 0.5rem 0 1rem;
    min-height: 3.5rem;
  }
  
  .price {
    color: var(--coffee-bean);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 1rem 0;
  }
  
  .add-to-cart {
    width: 100%;
    padding: 0.8rem;
    background: var(--dark-roast);
    color: var(--latte-cream);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
  }
  
  .add-to-cart:hover {
    background: var(--coffee-bean);
  }
  
  /* Swiper Navigation */
  .swiper-button-next,
  .swiper-button-prev {
    color: var(--caramel) !important;
    background: rgba(255,255,255,0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 1.2rem !important;
    font-weight: bold;
  }
  
  .swiper-pagination-bullet {
    background: var(--espresso);
    opacity: 0.5;
  }
  
  .swiper-pagination-bullet-active {
    background: var(--caramel);
    opacity: 1;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .popular-products {
      padding: 3rem 1rem;
    }
    
    .swiper-slide {
      width: 280px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
      display: none;
    }
  }
  /* About Us Section */
.about-section {
    padding: 5rem 2rem;
    background-color: var(--latte-cream);
    position: relative;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .section-header-about {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .section-header-about .subtitle-about {
    color: var(--caramel);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
  }
  
  .section-header-about h2 {
    color: var(--dark-roast);
    font-size: 2.5rem;
    margin: 0 0 1.5rem 0;
  }
  
  .divider {
    width: 80px;
    height: 3px;
    background: var(--caramel);
    margin: 0 auto;
  }
  
  .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
  
  .about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  }
  
  .main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
  }
  
  .about-image:hover .main-image {
    transform: scale(1.03);
  }
  
  .experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--dark-roast);
    color: var(--latte-cream);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    width: 120px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }
  
  .years {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    line-height: 1;
  }
  
  .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: 0.5rem;
  }
  
  .about-text h3 {
    color: var(--dark-roast);
    font-size: 1.8rem;
    margin: 0 0 1.5rem 0;
  }
  
  .about-text p {
    color: var(--espresso);
    line-height: 1.8;
    margin-bottom: 2rem;
  }
  
  .mission-points {
    margin: 2rem 0;
  }
  
  .mission-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .icon {
    width: 50px;
    height: 50px;
    background: var(--caramel);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .icon img {
    width: 24px;
    height: 24px;
  }
  
  .mission-item h4 {
    color: var(--dark-roast);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
  }
  
  .mission-item p {
    color: var(--espresso);
    margin: 0;
    font-size: 0.95rem;
  }
  
  .btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 2px solid var(--dark-roast);
    color: var(--dark-roast);
    background: transparent;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
  }
  
  .btn-outline:hover {
    background: var(--dark-roast);
    color: var(--latte-cream);
  }
  
  /* Responsive */
  @media (max-width: 992px) {
    .about-content {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    
    .about-image {
      max-width: 600px;
      margin: 0 auto;
    }
  }
  
  @media (max-width: 768px) {
    .about-section {
      padding: 3rem 1rem;
    }
    
    .section-header h2 {
      font-size: 2rem;
    }
    
    .about-text h3 {
      font-size: 1.5rem;
    }
  }
  a {
    text-decoration: none !important;
  }