﻿    /* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
    --dark-choco: #1a0d08; /* Slightly darker tone to seamlessly blend with the black logo */
    --milk-choco: #4A2E20; /* Accent brown for text & hover states */
    --gold: #E8B647; /* Warm, glowing gold from the storefront signage */
    --cream: #FAF6F0; /* Soft, elegant cream background */
    --pure-white: #FFFFFF; /* Pure white for product cards and contrast */
    --text-dark: #333333; /* Crisp body text color */
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* --- GLOBAL STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* --- NAVIGATION BAR --- */
header {
    background-color: var(--dark-choco);
    padding: 10px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 100px; /* Constrains the height perfectly within the navbar */
    width: auto; /* Maintains proportions */
    object-fit: contain;
    border-radius: 4px; /* Subtle rounding instead of a harsh square box */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); /* Gives it a premium depth */
}

/* Clean styling for your uploaded logo image    */
/*.logo-img {
    height: 65px;*/ /* Perfectly scaled height for header balance */
    /*width: 65px;*/ /* Keeps the square aspect ratio intact */
    /*object-fit: contain;*/ /* Ensures no stretching or squishing */
    /*border-radius: 6px;*/ /* Smooth corner finish */
    /*border: 1px solid rgba(255, 255, 255, 0.1);
}*/

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    /*text-transform: uppercase;*/
    /*letter-spacing: 0.5px;*/

}

    .logo-text span {
        color: var(--gold);
    }

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

    nav ul li a {
        color: var(--pure-white);
        font-weight: 500;
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        padding: 8px 0;
        border-bottom: 2px solid transparent;
    }

        nav ul li a:hover {
            color: var(--gold);
            border-bottom: 2px solid var(--gold);
        }


/*.hero {*/
    /* 1. Keep your gradient and image layers */
    /*background-image: linear-gradient(rgba(26, 13, 8, 0.7), rgba(26, 13, 8, 0.85)), url('https://images.unsplash.com/photo-1578985545062-69928b1d9587?q=80&w=1920&auto=format&fit=crop');
    background-repeat: no-repeat;
    background-size: cover;*/
    /* 2. THE ACTUAL UPDATE: Center horizontally, shift vertically down by 18% */
    /*background-position: center 18%;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--pure-white);
    padding: 10px 20px;
}*/
/* --- HERO SECTION --- */

.hero {
    background: linear-gradient(rgba(26, 13, 8, 0.7), rgba(26, 13, 8, 0.85)), url('https://images.unsplash.com/photo-1578985545062-69928b1d9587?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
    /*background-position: center 3%;*/
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--pure-white);
    padding: 10px 20px;
}

    .hero h1 {
        font-size: 3.5rem;
        margin-bottom: 15px;
        letter-spacing: 1px;
        font-weight: 800;
    }

        .hero h1 span {
            color: var(--gold);
        }

    .hero p {
        font-size: 1.3rem;
        max-width: 600px;
        margin-bottom: 30px;
        color: #E0D7D3;
    }

.btn-primary {
    background-color: var(--gold);
    color: #000000;
    padding: 14px 35px;
    font-weight: 700;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(232, 182, 71, 0.4);
}

    .btn-primary:hover {
        background-color: var(--pure-white);
        color: var(--dark-choco);
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
    }

/* --- SECTION STRUCTURE --- */
section {
    padding: 80px 10%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2B1810;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
}

    .section-title::after {
        content: '';
        display: block;
        width: 70px;
        height: 3px;
        background-color: var(--gold);
        margin: 10px auto 0 auto;
        border-radius: 2px;
    }

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* --- ABOUT SECTION --- */
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

    .about-text h3 {
        font-size: 1.8rem;
        color: var(--milk-choco);
        margin-bottom: 15px;
    }

    .about-text p {
        margin-bottom: 20px;
        color: #555;
        font-size: 1.05rem;
    }

.about-image {
    flex: 1;
}

    .about-image img {
        width: 100%;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border: 5px solid var(--pure-white);
    }

/* --- SPECIALITIES SECTION --- */
.specialities {
    background-color: var(--pure-white);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--cream);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 25px rgba(74, 46, 32, 0.15);
    }

.card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

    .card-body h3 {
        color: #2B1810;
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .card-body p {
        color: #666;
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

.price {
    display: block;
    font-weight: 700;
    color: var(--milk-choco);
    font-size: 1.2rem;
}

/* --- FOOTER --- */
footer {
    background-color: var(--dark-choco);
    color: var(--pure-white);
    padding: 50px 10% 20px 10%;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

    .footer-col h4 {
        color: var(--gold);
        font-size: 1.2rem;
        margin-bottom: 20px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .footer-col p, .footer-col ul {
        color: #C8BDB8;
        font-size: 0.95rem;
    }

    .footer-col ul {
        list-style: none;
    }

        .footer-col ul li {
            margin-bottom: 10px;
        }

            .footer-col ul li a:hover {
                color: var(--gold);
            }

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: #A4958F;
}




/* Perfectly circular product image frames like image_a4d2c9.png */
/* --- LUXURY CATEGORIES ROW (DESKTOP CIRCLES CLEANUP) --- */
.categories-section {
    padding: 40px 20px;
}

.categories-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px 20px; /* Gives nice breathing space between elements */
    text-align: center;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

/* Beautiful circular frames matching your new look */
.category-icon-box {
    width: 140px;
    height: 140px;
    border-radius: 50% !important; /* Forces perfect circles */
    overflow: hidden; /* Elegantly clips images to the circle boundary */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12); /* Soft shadow for depth */
    background: none !important; /* Strips old square backgrounds */
    border: none !important; /* Strips old borders */
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

    /* Forces real cake photos to cleanly occupy the entire circle frame */
    .category-icon-box img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important; /* Prevents stretching or squishing */
        filter: none !important; /* REMOVES the old white-out vector filters entirely! */
    }

/* Sophisticated interactive pop effect on hover */
.category-item:hover .category-icon-box {
    transform: scale(1.07); /* Smoothly lifts the circle */
    box-shadow: 0 12px 24px rgba(74, 46, 32, 0.2); /* Deeper luxurious accent shadow */
}

.category-item h4 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #2B1810; /* Dark premium chocolate text color */
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    margin-top: 5px;
}

.category-item:hover h4 {
    color: var(--gold); /* Your beautiful gold color highlights on hover */
}
/* ==========================================
   --- UPDATED RESPONSIVE DESIGN BLOCK ---
   ========================================== */

/* --- Desktop Defaults (Ensures the toggle hides on computer screens) --- */
.menu-toggle {
    display: none;
}

/* --- Mobile Styles (Triggers on screens 768px wide or smaller) --- */
@media (max-width: 768px) {

    /* 1. Header Layout Alignment */
    header {
        position: relative; /* Allows the absolute dropdown menu to anchor to it */
        padding: 15px 5%;
        display: flex;
        justify-content: space-between; /* Keeps logo on left, burger button on right */
        align-items: center;
    }

    .logo-text {
        max-width: none; /* Removes the old two-line restriction */
        white-space: nowrap; /* Keeps "The Chocolate Drop" on one line */
        font-size: 1.15rem; /* Scales it down slightly so it won't crash into the menu icon */
        display: block;
        line-height: 1;
    }

    /* 2. Forces "The Chocolate Drop" into Two Lines */
    /*.logo-text {
        max-width: 140px;*/ /* Forces wrapping precisely after 'The' and 'Chocolate' */
        /*word-wrap: break-word;
        white-space: normal;
        line-height: 1.2;*/ /* Brings lines elegantly closer together */
        /*font-size: 1.25rem;*/ /* Perfectly downscales text size for small displays */
        /*display: block;
    }*/

    /* 3. Reveals and Styles the Hamburger Button */
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 32px; /* Large easy-to-tap interactive icon */
        cursor: pointer;
        /*color: var(--gold);*/ /* Uses your theme's gold color */
        color: var(--pure-white) !important;
        padding: 5px;
    }
    /* 4. Turns the Nav Layout into a Dropdown Drawer */
    .nav-menu {
        display: none; /* Hides the menu out of sight by default */
        position: absolute;
        top: 100%; /* Snaps it directly under the header bar */
        left: 0;
        width: 100%;
        background-color: var(--dark-choco) !important; /* Forces a solid background matching your header */
        box-shadow: 0 8px 15px rgba(0,0,0,0.3);
        z-index: 99999; /* Forces the menu to sit on top of the hero image */
        padding: 15px 0;
    }

        /* 5. Restructuring Navigation Items Vertically */
        .nav-menu ul {
            flex-direction: column; /* Stacks menu options vertically */
            gap: 0; /* Resets desktop gap */
            width: 100%;
        }

            .nav-menu ul li {
                width: 100%;
                text-align: center;
            }

                .nav-menu ul li a {
                    display: block;
                    padding: 15px 0;
                    width: 100%;
                    font-size: 1rem;
                    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Soft premium dividers */
                }

                /* Removes the bottom line on the final menu option (Contact) */
                .nav-menu ul li:last-child a {
                    border-bottom: none;
                }

    /* Desktop link underline effect is removed on mobile for a cleaner look */
    nav ul li a:hover {
        border-bottom: 1px solid transparent;
        color: var(--gold);
    }

    /* 6. Active State: This class gets applied by JavaScript when clicking the ☰ */
    .nav-menu.active {
        display: block !important;
    }
   
    /* 7. Existing Layout fixes for Content & Sections */
    .hero h1 {
        font-size: 2.3rem;
    }

    .about-container {
        flex-direction: column; /* Vertically stacks image & description on mobile */
    }

    /*.categories-section {
        padding: 30px 20px 15px 20px !important;*/ /* Tighter padding for mobile screens */
    /*}*/
    /* 7. CATEGORY QUICK LINKS TWO-COLUMN GRID */
    /*.categories-container {
        grid-template-columns: repeat(2, 1fr) !important;*/ /* Force 2 items per row */
        /*gap: 15px;
        padding: 0 10px;
        margin-bottom: 0px !important;*/ /* Prevents the inner grid box from pushing down */
    /*}

    .category-icon-box {
        width: 105px !important;*/ /* Increased from 75px to make it match your larger global look! */
        /*height: 105px !important;*/ /* Increased from 75px */
        /*border-radius: 24px !important;*/ /* Softens corners to perfectly match the 105px scale */
        /*margin-bottom: 8px;
    }*/

        /* Add this helper block so the white icons grow proportionally inside the bigger boxes */
        /*.category-icon-box img {
            width: 75% !important;
            height: auto;
        }

    .category-item h4 {
        font-size: 0.95rem;
        line-height: 1.3;
    }*/


    /* 7. CATEGORY QUICK LINKS TWO-COLUMN GRID (CIRCULAR LOOK) */
    /* --- CATEGORY SECTION MOBILE OPTIMIZATIONS (CIRCULAR PHOTO STYLE) --- */
    .categories-section {
        padding: 30px 20px 0px 20px !important; /* Drops bottom padding completely to close the gap */
    }

    /* 7. CATEGORY QUICK LINKS TWO-COLUMN GRID */
    .categories-container {
        grid-template-columns: repeat(2, 1fr) !important; /* Force 2 items per row */
        gap: 25px 15px; /* Adds extra vertical space between the rows so titles don't crash */
        padding: 0 10px;
        margin-bottom: 0px !important;
    }

    .category-icon-box {
        width: 115px !important; /* Perfect mobile circle size so 2 fit side-by-side beautifully */
        height: 115px !important;
        border-radius: 50% !important; /* Forces perfect round profiles on mobile */
        overflow: hidden !important; /* Clips the square cake photo into a neat circle */
        margin-bottom: 10px;
        background: none !important; /* Removes old box background colors */
        border: none !important; /* Removes old box borders */
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12) !important; /* Soft depth shadow */
    }

        /* Ensures the real cake photo takes up 100% of the mobile circle without distorting */
        .category-icon-box img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important; /* Crops square cake photos cleanly into the mobile circle */
            filter: none !important; /* REMOVES the white vector icon filter completely */
        }

    .category-item h4 {
        font-size: 0.95rem;
        font-weight: 600;
        line-height: 1.3;
        color: #2B1810; /* Dark premium chocolate text color */
        margin-top: 5px;
    }

    /* --- TIGHTEN SPACING ON SECTION DIRECTLY BELOW CATEGORIES --- */
    .about-section, #about, section:nth-of-type(3) {
        padding-top: 15px !important; /* Pulls the "Who We Are" content upwards */
        margin-top: 0px !important;
    }

    /* --- FOOTER MOBILE POLISH --- */
    footer {
        padding: 40px 8% 40px 8% !important; /* Adds safe breathing space on the left, right, and bottom sides */
    }

    .footer-col {
        margin-bottom: 30px; /* Separates the footer sections cleanly as they stack */
    }

        .footer-col ul li {
            display: flex;
            flex-wrap: wrap; /* Allows text to break naturally if a phone screen is extremely small */
            align-items: center;
            gap: 8px; /* Puts a clean space between your emojis and your text */
            line-height: 1.5;
        }
}