/* --- CSS VARIABLES & RESET --- */
:root {
    --dark-green: #2C4A2E;
    --cream: #F5EFE0;
    --gold: #C9A84C;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --sage: #8FA982;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--cream);
    color: var(--dark-green);
    line-height: 1.6;
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(44, 74, 46, 0.95); 
    padding: 1rem 3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.35s ease, padding 0.3s ease, background-color 0.3s ease;
    transform: translateY(0);
}

body.category-page nav {
    display: none;
}

.back-button {
    position: fixed;
    top: 1rem;
    left: 1rem;
    min-width: 68px;
    height: 46px;
    background-color: var(--dark-green);
    color: var(--cream);
    border: none;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    font-size: 1rem;
    letter-spacing: 0.02em;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 1100;
    text-decoration: none;
    transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

.back-button:hover {
    transform: translateY(-2px) scale(1.05);
}

.nav-hidden {
    transform: translateY(-120%);
}

.logo {
    margin-left: 1rem;
}

.logo img {
    filter: brightness(0) invert(1);
    height: 55px;
}

.nav-links {
    display: none;
    flex-direction: column;
    list-style: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 240px;
    background: var(--dark-green);
    padding: 1rem;
    border-radius: 0 0 0 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    z-index: 1001;
}

.nav-links.active {
    display: flex;
}

.nav-links li {
    margin: 0.75rem 0;
}

.nav-links a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--gold);
}

.hamburger {
    margin-right: 1rem;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--cream);
    padding: 6px;
    background: rgba(0,0,0,0.08);
    border-radius: 8px;
    width: 30px;
    height: 34px;
}

.hamburger .dot {
    width: 4px;
    height: 4px;
    background: var(--cream);
    border-radius: 50%;
    display: block;
}

@media (max-width: 768px) {
    .hamburger .dot {
        width: 5px;
        height: 5px;
        gap: 3px;
    }
}

/* --- HERO SECTION --- */
#home {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('bg.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

#home h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: 'Great Vibes', cursive !important;
    font-weight: 400;
}

#home p {
    font-size: 1.5rem;
    margin-bottom: 4rem;
    max-width: 600px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

.btn {
    background-color: var(--gold);
    color: var(--dark-green);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--white);
    transform: translateY(-3px);
}

/* --- SECTION STYLING --- */
section {
    padding: 100px 10% 60px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-green);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    width: 50%;
    height: 3px;
    background: var(--gold);
    position: absolute;
    bottom: -10px;
    left: 25%;
}

/* --- MENU SECTION --- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.menu-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    border-bottom: 5px solid var(--gold);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.menu-card:hover {
    transform: translateY(-10px);
}

.menu-card h3 {
    margin-bottom: 10px;
    color: var(--dark-green);
}

.menu-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
}

.price {
    font-weight: 400;
    color: var(--dark-green);
    font-size: 1.2rem;
}

/* Make menu cards that link act like full-card links */
.menu-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.menu-card.menu-link-card {
    cursor: pointer;
}

/* --- ABOUT SECTION --- */
#about {
    background-color: var(--dark-green);
    color: var(--cream);
    text-align: center;
}

#about h2 { 
    color: var(--gold); 
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* --- CONTACT SECTION --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form input, .contact-form textarea {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: var(--white);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: white;
    padding: 12px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    font-weight: bold;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    background-color: #128C7E;
}

/* --- FOOTER --- */
footer {
    background: #1a2e1c;
    color: var(--cream);
    padding: 40px 10% 20px;
    text-align: center;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    color: var(--gold);
    margin: 0 15px;
    text-decoration: none;
    font-size: 1.2rem;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    nav {
        padding: 1rem 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        width: 240px;
        background: var(--dark-green);
        padding: 1.5rem;
        border-radius: 0 0 0 10px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.15);
        flex-direction: column;
    }

    .hamburger {
        display: inline-flex;
        flex-direction: column;
        gap: 4px;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 34px;
        padding: 6px;
        background: rgba(0,0,0,0.08);
        border-radius: 8px;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    #home h1 { 
        font-size: 2.5rem; 
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .logo img {
        height: 55px;
    }
    
    .hamburger {
        display: inline-flex;
        flex-direction: column;
        gap: 4px;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 34px;
        padding: 6px 8px 6px 6px;
        color: var(--cream);
        background: rgba(0,0,0,0.08);
        border-radius: 8px;
    }
}
@media (max-width: 768px) {
    nav {
        padding: 0.8rem 4%;
        justify-content: space-between;
    }
    
    .logo img {
        height: 35px;
    }
    
    .hamburger {
        display: inline-flex;
        flex-direction: column;
        gap: 4px;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 34px;
        padding: 6px;
        color: #ffffff;
        background: rgba(0,0,0,0.08);
        border-radius: 8px;
        flex-shrink: 0;
    }

    .back-button {
        padding: 10px 12px;
        min-width: 64px;
        height: 40px;
        top: 0.75rem;
        left: 0.75rem;
        font-size: 0.95rem;
    }
}