/* index.css - Global Styles + Home Page Specifics */

/* =========================== */
/* 1. RESET & VARIABLES (GLOBAL) */
/* =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* STRICT RED PALETTE (#c62828 based) */
    --primary-red: #c62828;   
    --dark-red: #8e0000;      
    --deep-maroon: #500000;   
    --light-red: #ff5f52;     
    --pale-red: #ffebee;      
    
    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #fafafa;
    --dark-gray: #222222;     
    --medium-gray: #555555;   
    
    /* Effects */
    --shadow: 0 4px 20px rgba(198, 40, 40, 0.25);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* =========================== */
/* 2. TYPOGRAPHY (GLOBAL)      */
/* =========================== */
h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
p { font-size: 1rem; line-height: 1.6; }

/* =========================== */
/* 3. BUTTONS (GLOBAL)         */
/* =========================== */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-red), var(--primary-red));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(198, 40, 40, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-red);
    transform: translateY(-2px);
}

/* =========================== */
/* 4. NAVIGATION (GLOBAL)      */
/* =========================== */
.navbar {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 8px 0;
    background: linear-gradient(135deg, var(--dark-red), var(--primary-red));
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    color: var(--white);
    display: flex;
    flex-direction: column;
}

.logo h1 { font-size: 1.8rem; margin: 0; line-height: 1; }
.logo-accent { color: var(--white); }
.logo-subtitle { font-size: 0.75rem; color: rgba(255, 255, 255, 0.9); margin: 0; font-weight: 500; }

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
    opacity: 1;
}

.nav-cta { margin-left: 10px; }
.nav-cta .btn-primary {
    background: var(--white);
    color: var(--primary-red);
    padding: 10px 20px;
    font-size: 0.85rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--white);
    cursor: pointer;
    padding: 5px;
}

/* =========================== */
/* 5. HERO SECTION (HOME ONLY) */
/* =========================== */
.hero {
    /* FORCE FULL SCREEN HEIGHT */
    height: 100vh; 
    min-height: 600px;
    width: 100%;
    
    display: flex;
    align-items: center; 
    justify-content: center;
    
    /* Neutral Tint + Image */
    background: 
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('https://images.unsplash.com/photo-1559339352-11d035aa65de?auto=format&fit=crop&q=80&w=1920');
        
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
    
    /* Padding to account for navbar */
    padding-top: 60px; 
}

.hero-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.highlight {
    color: var(--white);
    position: relative;
    display: inline-block;
    border-bottom: 4px solid var(--primary-red);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    max-width: 600px;
    font-weight: 500;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
}

.hero .btn-primary {
    background: var(--primary-red);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 2px solid var(--primary-red);
}

.hero .btn-primary:hover {
    background: var(--dark-red);
    border-color: var(--dark-red);
}

/* =========================== */
/* 6. SIGNATURE SECTION (HOME) */
/* =========================== */
.signature-section {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    color: var(--dark-red);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-red);
}

.section-subtitle {
    color: var(--medium-gray);
    font-size: 1rem;
}

.signature-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.signature-image { flex: 1; }

.chocolate-display {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, var(--dark-red), var(--deep-maroon)); 
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.chocolate-layer { position: absolute; width: 100%; border-radius: 10px; }
.layer-1 { top: 40px; left: 30px; right: 30px; height: 70px; background: rgba(255,255,255,0.05); }
.layer-2 { top: 130px; left: 20px; right: 20px; height: 90px; background: rgba(255,255,255,0.08); }
.layer-3 { top: 240px; left: 40px; right: 40px; height: 50px; background: rgba(255,255,255,0.1); }
.chocolate-drip { position: absolute; bottom: 0; width: 100%; height: 80px; background: linear-gradient(to top, transparent 0%, var(--dark-red) 100%); }

.signature-details { flex: 1; }
.signature-title { color: var(--primary-red); margin-bottom: 15px; }
.signature-description { color: var(--medium-gray); margin-bottom: 25px; }
.signature-features { display: flex; gap: 20px; margin-bottom: 25px; }
.feature { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; }
.feature i { color: var(--primary-red); }

/* =========================== */
/* 7. CATEGORIES (HOME)        */
/* =========================== */
.categories-section {
    padding: 80px 0;
    background: var(--pale-red);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-red);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(198, 40, 40, 0.15);
}

.category-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary-red), var(--dark-red)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; color: var(--white); font-size: 1.5rem; }
.category-title { color: var(--dark-red); margin-bottom: 10px; font-size: 1.1rem; }
.category-desc { color: var(--medium-gray); font-size: 0.9rem; }

/* =========================== */
/* 8. FOOTER (GLOBAL)          */
/* =========================== */
.footer {
    background: #1e0505;
    color: var(--white);
    padding: 60px 0 20px;
    text-align: center;
}

.footer-content { display: flex; flex-direction: column; gap: 30px; margin-bottom: 40px; align-items: center; }
.footer-logo h2 { font-size: 2rem; margin-bottom: 5px; }
.footer-links { display: flex; gap: 50px; flex-wrap: wrap; justify-content: center; }
.footer-column h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 15px; }
.footer-column p { color: rgba(255, 255, 255, 0.7); margin-bottom: 10px; font-size: 0.9rem; }
.social-icons { display: flex; gap: 15px; justify-content: center; margin-top: 15px; }
.social-icons a { width: 35px; height: 35px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); transition: var(--transition); }
.social-icons a:hover { background: var(--primary-red); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); }

/* =========================== */
/* 9. RESPONSIVE (HOME SPECIFIC) */
/* =========================== */
@media (max-width: 992px) {
    .signature-content { flex-direction: column; text-align: center; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* Navbar Mobile */
    .mobile-menu-btn { display: block; }
    
    .nav-links {
        position: fixed; top: 60px; left: 0; width: 100%;
        background: var(--dark-red);
        flex-direction: column; padding: 30px 20px; gap: 20px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .nav-cta { margin: 0; width: 100%; }
    .nav-cta .btn-primary { display: block; width: 100%; text-align: center; background: var(--white); color: var(--primary-red); }
    .nav-link { width: 100%; text-align: center; padding: 12px; border-bottom: 1px solid rgba(255,255,255,0.05); }

    /* HERO MOBILE */
    .hero { min-height: 100vh; padding: 0; display: flex; align-items: center; justify-content: center; }
    .hero-title { font-size: 2.5rem; } 
    .hero-subtitle { font-size: 1rem; padding: 0 15px; margin-bottom: 30px; }
    .hero-btns { flex-direction: column; align-items: center; justify-content: center; width: 100%; gap: 20px; }
    .hero-btns .btn { width: 80%; max-width: 280px; text-align: center; margin: 0 auto; }

    /* Single Column */
    .categories-grid { grid-template-columns: 1fr; }
    .footer-links { flex-direction: column; gap: 30px; }
}

@media (max-width: 380px) {
    h1, .hero-title { font-size: 2rem; }
    h2, .section-title { font-size: 1.6rem; }
    .container { padding: 0 15px; }
    .hero-btns .btn { width: 90%; }
}