/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --accent-color: #3498db;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
    --light-grey: #f8f9fa;
    --dark-grey: #2c3e50;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    
}

.container {
    max-width: 1550px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.0rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    margin-top: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Navigation */

/* ================= HEADER ================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
   background: #fff;
  z-index: 1000;
}

/* ================= CONTAINER ================= */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  flex-wrap: wrap;
}

/* ================= LOGO ================= */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 70px;
  width: auto;
}

/* ================= NAV MENU ================= */
.nav-menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-link,
.dropdown-toggle {
  text-decoration: none;
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 10px 15px;
  font-weight: 600;
  transition: color 0.3s;
  outline: none;
  background: transparent;
}

/* Hover & Active states */
.nav-link:hover,
.dropdown-toggle:hover {
  color: #007bff;
}

/* Active state for nav links & dropdown toggle */
.nav-link.active,
.dropdown-toggle.active {
  color: #007bff;
  position: relative; /* needed for ::after underline */
}

.nav-link.active::after,
.dropdown-toggle.active::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -4px;   /* space below text */
  left: 0;
  width: 100%;
  height: 2px;
  background: #007bff;
  border-radius: 2px;
}



/* ================= DROPDOWNS ================= */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  outline: none;
  background: transparent;
  border: none;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  z-index: 999;
  font-weight: 600;
  border-radius: 4px;
  outline: none;
}

.dropdown-content a {
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
}

/* Desktop hover */
.nav-dropdown:hover .dropdown-content {
  display: block;
}

/* Dropdown arrow icon */
.dropdown-icon {
  transition: transform 0.3s ease;
}

.nav-dropdown.open .dropdown-icon {
  transform: rotate(180deg);
}

/* ================= WHATSAPP BUTTON ================= */
.whatsapp-link {
  background: #ff6b35;
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.whatsapp-link:hover {
  background: #000000;
  transform: translateY(-2px);
}

/* ================= TOGGLE (HAMBURGER) ================= */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  outline: none;
}
.nav-toggle:focus {
  outline: none;
  box-shadow: none;
}
.nav-toggle .bar {
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 2px;
  transition: 0.3s;
}

/* Hamburger animation -> "X" */
.nav-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background-color: #ffffff;
    padding: 1rem 0;
    position: fixed;     
    top: 80px;            /* height of your header/logo */
    left: 0;
    width: 100%;
    height: calc(100vh - 80px); /* fill remaining screen */
    overflow-y: auto;     /* scroll if too many items */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 0;
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-link,
  .dropdown-toggle {
    width: 100%;
    font-size: 16px;
    padding: 12px 60px;
    text-align: left;
    color: #000000;
  }

  .dropdown-content {
    position: static;
    background: #ffffff;
    box-shadow: none;
  }

  .dropdown-content a {
    padding: 10px 60px;
    font-size: 15px;
    color: #000000;
  }

  .dropdown-content a:hover {
    background: #f0f0f0;
  }

  .whatsapp-link {
    font-size: 15px;
    padding: 8px 60px;
    border-radius: 18px;
    width: fit-content;
    margin-left: 20px;
  }
  .nav-link.active::after,
.dropdown-toggle.active::after {
  content: '';
  display: block;
  height: 2px;
  background: #007bff;
  margin-top: 2px;
  margin-left: 60px;
  width: calc(100% - 120px);
}
}



/* Hero Section */
.hero {
   padding-top: 150px;
    padding-bottom: 10px; /* Use padding-bottom for consistent spacing */
    background: linear-gradient(135deg, #08090a 0%, #113ce9fe 100%);
    min-height: 1vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.hero-content {
    animation: fadeInLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
   color: #e3e0e0;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #fffbfb;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}



/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb i {
    margin: 0 0.5rem;
    font-size: 0.8rem;
}

.breadcrumb span {
    color: white;
    font-weight: 500;
}



/* Categories Section */
.categories {
    padding: 10px 0;
    background-color: #f7f7f7;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

/* Featured Products Section */
.featured-products {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
   background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.379); 
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex; 
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
   box-shadow: 0 6px 10px rgba(0, 0, 0, 0.631);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-info {
     padding: 1.5rem;
    display: flex; /* Use flexbox for the info section */
    flex-direction: column;
    justify-content: space-between; /* Pushes content apart, aligning the button to the bottom */
    flex-grow: 1; 
}

.product-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.product-info p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.product-btn {
    background: #ff6b35;
    color: white;
    padding: 14px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    width: 100%;
    margin-top: auto;
}

.product-btn:hover {
   background: #000000;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #2c2c2c;;
    color: rgb(255, 255, 255);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}


.footer-section ul li {
    display: flex; 
    align-items: flex-start; 
    margin-bottom: 0.5rem;
     align-items: center; 
}


.footer-section ul li svg {
    margin-right: 2px; 
    height: 1.2em;  
    width: 1.2;  
    flex-shrink: 0;  
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff6b35;
}
 
.footer-section p {
    display: flex;
    align-items: center; 
    margin-bottom: 0.5rem;
}

 
.footer-section p svg {
    margin-right: 10px;  
    height: 1.2em; 
    width: 1.2em;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    color: #999;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
  
    .hero {
       padding-top: 150px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .categories,
    .featured-products {
        padding: 60px 0;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .category-grid,
    .products-grid,
    .features-grid {
         grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    }
    
    .product-card img {
    height: 160px; /* smaller image height for mobile */
  }

  .product-info h3 {
    font-size: 1rem;
  }

  .product-btn {

    padding: 10px;
    font-size: 0.9rem;
  }
    .feature-card {
        padding: 1.5rem;
    }
    
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
button:focus,
.nav-link:focus,
.product-card:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}