/* --- Global Variables & Resets --- */
:root {
    --choco-dark: #3e1f04;
    --choco-medium: #5c3312;
    --cream: #fcf8f2;
    --beige: #f3e5d8;
    --gold: #c59b27;
    --gold-light: #e8c66a;
    --white: #ffffff;
    --text-dark: #2b180d;
    --text-light: #6e4b35;
    --shadow: 0 8px 24px rgba(62, 31, 4, 0.08);
    --transition: all 0.3s ease;
}

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

body { 
    font-family: 'Poppins', Arial, sans-serif; 
    color: var(--text-dark); 
    background-color: var(--cream);
    line-height: 1.6; 
    overflow-x: hidden; 
}

h1, h2, h3, h4, .brand-logo { 
    font-family: 'Playfair Display', Georgia, serif; 
}

/* --- Navigation Bar --- */
header { 
    background-color: var(--white);
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.05); 
    transition: var(--transition); 
}

.nav-container { 
    max-width: 1200px;
    margin: 0 auto; 
    padding: 1rem 2rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.brand-logo { 
    font-size: 1.5rem; 
    font-weight: 700; 
    color: var(--choco-dark);
    text-decoration: none; 
    letter-spacing: 1px; 
}

.nav-links { 
    display: flex; 
    gap: 1.5rem; 
    list-style: none; 
    align-items: center; 
}

.nav-links a { 
    text-decoration: none;
    color: var(--text-dark); 
    font-weight: 500; 
    font-size: 0.95rem; 
    transition: var(--transition); 
}

.nav-links a:hover { 
    color: var(--gold); 
}

/* --- DROPDOWN MENU DESIGN --- */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Yeh naya invisible bridge hai jo 15px ke gap mein hover tutne nahi dega */
.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px; 
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow);
    z-index: 1001;
    border-radius: 10px;
    top: 100%;
    left: 0;
    overflow: hidden;
    margin-top: 15px; /* Spacing below nav */
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--beige);
    transition: var(--transition);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--cream);
    color: var(--gold);
    padding-left: 25px; /* Smooth hover slide effect */
}

/* Hovering shows the dropdown */
.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

/* --- Navigation Buttons --- */
.btn-order-nav {
    background-color: var(--choco-dark);
    color: var(--white) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-weight: 500;
}

.btn-order-nav:hover {
    background-color: var(--gold);
    transform: translateY(-2px);
}

.hamburger { 
    display: none; 
    font-size: 1.5rem; 
    cursor: pointer; 
    color: var(--choco-dark); 
}

/* --- Buttons --- */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-primary { 
    background-color: var(--gold); 
    color: var(--white); 
}

.btn-primary:hover { 
    background-color: #b38b22; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 12px rgba(197, 155, 39, 0.3); 
}

.btn-secondary { 
    background-color: var(--white); 
    color: var(--choco-dark); 
}

.btn-secondary:hover { 
    background-color: var(--beige); 
    transform: translateY(-2px); 
}

/* --- Hero Section --- */
.hero { 
    height: 100vh;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center;
    padding: 0 2rem; 
    margin-top: 60px; 
}

.hero-content { 
    max-width: 800px; 
    color: var(--white); 
}

.hero h1 { 
    font-size: 4rem;
    margin-bottom: 1rem; 
    line-height: 1.2; 
}

.hero p { 
    font-size: 1.2rem; 
    margin-bottom: 2rem; 
    font-weight: 300; 
}

.btn-group { 
    display: flex; 
    gap: 1rem; 
    justify-content: center; 
}

/* --- General Layout --- */
section { 
    padding: 5rem 2rem; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.section-header { 
    text-align: center; 
    margin-bottom: 4rem; 
}

.section-header h2 { 
    font-size: 2.5rem; 
    color: var(--choco-dark); 
    margin-bottom: 0.5rem; 
}

.section-header p { 
    color: var(--text-light); 
    font-size: 1.1rem; 
}

/* --- Product Grid & Cards (Professional Aesthetic) --- */
.product-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem; 
}

.product-card { 
    background: var(--white); 
    border-radius: 20px;
    overflow: hidden; 
    box-shadow: var(--shadow); 
    transition: var(--transition); 
    position: relative; 
}

.product-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 12px 30px rgba(62, 31, 4, 0.12); 
}

.product-img { 
    width: 100%; 
    height: 220px; 
    object-fit: cover; 
    border-bottom: 3px solid var(--beige); 
}

.product-info { 
    padding: 1.5rem; 
    text-align: center; 
}

.product-title { 
    font-size: 1.25rem; 
    color: var(--choco-dark); 
    margin-bottom: 0.5rem; 
}

.product-price { 
    font-size: 1.1rem; 
    color: var(--gold); 
    font-weight: 600; 
}

.badge-premium {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- Features Grid (Why Choose Us) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.feature-icon { 
    font-size: 2.5rem; 
    margin-bottom: 1rem; 
    display: inline-block; 
}

.feature-card h3 { 
    color: var(--choco-dark); 
    margin-bottom: 0.5rem; 
    font-size: 1.2rem; 
}

/* --- Professional Footer --- */
footer {
    background-color: var(--choco-dark);
    color: var(--white);
    text-align: center;
    padding: 3rem 2rem 1rem;
}

.footer-logo { 
    font-size: 1.8rem; 
    color: var(--gold-light); 
    margin-bottom: 0.5rem; 
    font-family: 'Playfair Display', serif; 
}

.footer-tagline { 
    color: var(--beige); 
    margin-bottom: 1.5rem; 
    font-style: italic; 
}

.footer-links { 
    margin-bottom: 2rem; 
}

.footer-links a { 
    color: var(--white); 
    text-decoration: none; 
    margin: 0 10px; 
    transition: var(--transition); 
}

.footer-links a:hover { 
    color: var(--gold-light); 
}

.copyright { 
    color: rgba(255,255,255,0.5); 
    font-size: 0.9rem; 
    margin-top: 2rem; 
    border-top: 1px solid rgba(255,255,255,0.1); 
    padding-top: 1rem; 
}

/* --- Floating WhatsApp & Scroll Top --- */
.float-wa {
    position: fixed;
    bottom: 30px;
    left: 30px; 
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: var(--transition);
}

.float-wa:hover {
    transform: scale(1.1);
    background-color: #20b858;
    color: white;
}

.float-top {
    position: fixed;
    bottom: 30px;
    right: 30px; 
    background-color: var(--choco-dark);
    color: var(--gold-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border: 2px solid var(--gold-light);
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.float-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.float-top:hover {
    background-color: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    transform: translateY(-5px);
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* =========================================
   RESPONSIVE DESIGN (For all Devices)
========================================= */

@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .section-header h2 { font-size: 2.2rem; }
    section { padding: 4rem 1.5rem; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links { 
        position: fixed;
        top: 70px;
        left: -100%; 
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    .nav-links.active { left: 0; }
    
    /* Dropdown adjustments for mobile */
    .dropdown-content {
        position: relative;
        box-shadow: none;
        background-color: var(--cream);
        border-radius: 0;
        margin-top: 10px;
    }
    .dropdown:hover .dropdown-content {
        display: block;
    }
    
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .btn-group { flex-direction: column; width: 100%; }
    .btn { width: 100%; justify-content: center; }
    
    .product-grid, .features-grid { 
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto; 
    }
    section { padding: 3rem 1rem; }
    
    .footer-links a { display: inline-block; margin: 0.5rem; }
    
    .float-wa { bottom: 20px; left: 20px; width: 55px; height: 55px; font-size: 30px; }
    .float-top { bottom: 20px; right: 20px; width: 45px; height: 45px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .section-header h2 { font-size: 1.8rem; }
    .product-img { height: 200px; }
}

/* --- Navbar Logo Styling --- */
.nav-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    display: block;
}

.nav-logo:hover {
    transform: scale(1.05);
}

/* =========================================
   HERO SLIDER ANIMATION
========================================= */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.5s ease-in-out, transform 6s linear;
}

.hero-slider .slide.active {
    opacity: 1;
    transform: scale(1.08);
}