/* Product Card Styles */

:root {
    --green-dark: #0d2818;
    --green-medium: #04471c;
    --green-light: #058c42;
    --purple-dark: #3a0ca3;
    --purple-light: #7209b7;
    --purple-neon: #b5179e;
    --gold: #f5cb5c;
    --text-light: #f8f9fa;
    --text-dark: #212529;
    --gray-dark: #333533;
    --gray-light: #cfdbd5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    background-color: #f5f5f5;
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: url('https://images.unsplash.com/photo-1518173946687-a4c8892bbd9f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-blend-mode: overlay;
    background-color: rgba(245, 245, 245, 0.9);
}

/* Navigation */
header {
    background: linear-gradient(135deg, rgba(13, 40, 24, 0.95), rgba(58, 12, 163, 0.95));
    color: var(--text-light);
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gold);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    filter: drop-shadow(0 0 5px rgba(245, 203, 92, 0.5));
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-subtext {
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--gold);
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a.active {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(245, 203, 92, 0.5);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 70%;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(13, 40, 24, 0.95);
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border-radius: 0 0 8px 8px;
    z-index: 1;
    top: 100%;
    left: 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 203, 92, 0.2);
    border-top: none;
    overflow: hidden;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-content a {
    color: var(--text-light);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.dropdown-content a:hover {
    background-color: rgba(5, 140, 66, 0.3);
    padding-left: 25px;
    color: var(--gold);
}

.dropdown-content a::before {
    content: '•';
    color: var(--gold);
    margin-right: 10px;
    opacity: 0;
    transition: all 0.3s;
}

.dropdown-content a:hover::before {
    opacity: 1;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--text-light);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.3rem;
    margin-left: 1rem;
    transition: transform 0.3s;
}

.cart-icon:hover {
    transform: scale(1.1);
    color: var(--gold);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--gold);
    color: var(--text-dark);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Main Content */
main {
    flex: 1;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero {
    background: linear-gradient(135deg, rgba(13, 40, 24, 0.8), rgba(58, 12, 163, 0.8));
    color: white;
    padding: 4rem 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    text-align: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(245, 203, 92, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-button {
    background-color: var(--gold);
    color: var(--text-dark);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(245, 203, 92, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 203, 92, 0.6);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.category-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.category-image {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.category-info {
    padding: 1.5rem;
}

.category-info h3 {
    color: var(--green-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.category-info p {
    color: var(--gray-dark);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.category-link {
    color: var(--purple-dark);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.category-link:hover {
    color: var(--purple-neon);
}

.category-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.category-link:hover i {
    transform: translateX(3px);
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgba(13, 40, 24, 0.95), rgba(58, 12, 163, 0.95));
    color: var(--text-light);
    padding: 4rem 2rem 1.5rem;
    margin-top: auto;
    border-top: 1px solid var(--gold);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
}

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--gold);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column ul li a {
    color: var(--gray-light);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    padding: 0.2rem 0;
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--gold);
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    color: var(--gold);
    background-color: rgba(245, 203, 92, 0.2);
    transform: translateY(-3px);
}

.newsletter {
    margin-top: 1.5rem;
}

.newsletter p {
    margin-bottom: 1rem;
    color: var(--gray-light);
    font-size: 0.9rem;
}

.newsletter-input {
    display: flex;
    margin-bottom: 1rem;
}

.newsletter-input input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 50px 0 0 50px;
    background-color: rgba(255, 255, 255, 0.9);
}

.newsletter-input button {
    background-color: var(--gold);
    color: var(--text-dark);
    border: none;
    padding: 0 20px;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.newsletter-input button:hover {
    background-color: #e0b84c;
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    opacity: 0.7;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.payment-methods i {
    font-size: 1.8rem;
    opacity: 0.8;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(13, 40, 24, 0.98);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        transition: left 0.4s ease;
        backdrop-filter: blur(10px);
        z-index: 1000;
    }

    .nav-links.active {
        left: 0;
        box-shadow: 5px 0 30px rgba(0,0,0,0.3);
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        border-radius: 0;
        background-color: rgba(0, 0, 0, 0.2);
        margin-top: 0.5rem;
        margin-left: 1rem;
        width: calc(100% - 2rem);
        animation: none;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating {
    animation: float 4s ease-in-out infinite;
}
.product-card {
    position: relative;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #3a0ca3;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #f0f0f0;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2d3748;
    font-weight: 600;
}

.product-spec {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-price {
    margin-bottom: 15px;
}

.current-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d6a4f;
}

.original-price {
    font-size: 1rem;
    text-decoration: line-through;
    color: #a0aec0;
    margin-left: 8px;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.add-to-cart {
    background-color: #2d6a4f;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-to-cart:hover {
    background-color: #1a3b1a;
    transform: translateY(-2px);
}

.view-details {
    color: #3a0ca3;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: underline;
}

.view-details:hover {
    color: #7209b7;
}

/* Product Details Dropdown */
.product-details-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #f8f9fa;
    border-top: 1px solid #e2e8f0;
}

.product-details-dropdown.active {
    max-height: 500px; /* Adjust based on content */
    transition: max-height 0.5s ease-in;
}

.details-content {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.details-description h4 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 5px;
}

.details-description p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 15px;
}

.details-description ul {
    list-style-type: none;
}

.details-description ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    color: #4a5568;
}

.details-description ul li:before {
    content: "•";
    color: #3a0ca3;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .details-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-name {
        font-size: 1.1rem;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .add-to-cart {
        width: 100%;
        justify-content: center;
    }
}

.hero-buttons {
    margin-top: 1rem;
  }
  
  .hero-buttons a {
    background-color: #d10000;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem;
    border-radius: 5px;
    display: inline-block;
    color: white;
  }
  /* Slideshow */
.slideshow {
    position: relative;
    text-align: center;
    padding: 2rem 1rem;
    background: #000;
    color: white;
  }
  
  .slide-text h2 {
    font-size: 1.5rem;
  }
  
  .slides {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    padding: 1rem 0;
  }
  
  .slides img {
    width: 80vw;
    max-width: 400px;
    scroll-snap-align: center;
    border-radius: 10px;
  }
  

  .main-img{width:100%;height:250px;object-fit:contain;background:#f5f5f5;border-radius:8px;cursor:pointer;margin-bottom:1rem}
.thumbnails{display:flex;gap:10px;margin-bottom:1rem}
.thumbnail{width:60px;height:60px;object-fit:cover;border:1px solid #ddd;border-radius:4px;cursor:pointer}
.thumbnail:hover{border-color:var(--secondary)}
