/* ================= Base Setup & Variables ================= */
:root {
    --primary-color: #3b2818; /* Dark Brown */
    --accent-color: #d4af37; /* Golden */
    --accent-hover: #b5952f;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #faf8f5; 
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= Buttons ================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 4px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-light);
    border: 1px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--text-dark);
}

.btn-outline-nav {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 8px 20px;
}

.btn-outline-nav:hover {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.btn-gold {
    background-color: #dfaa43;
    color: #111;
    border: none;
}

.btn-gold:hover {
    background-color: #c99636;
}

.btn-full {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* ================= Navbar ================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
    background-color: rgba(59, 40, 24, 0.95);
    padding: 12px 0;
    border-bottom: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
}

.nav-links a {
    color: var(--text-light);
    margin: 0 15px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1000;
}

.mobile-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    transition: all 0.3s ease;
}

/* ================= Hero Section ================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1514933651103-005eec06c04b?q=80&w=1974&auto=format&fit=crop') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); 
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1rem;
    letter-spacing: 3px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.hero-buttons .btn {
    margin: 0 10px;
}

/* ================= Scroll Animations ================= */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================= Common Section Styles ================= */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 600;
}

.section-text {
    color: #666;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.8;
}

.text-center {
    text-align: center;
}

.bg-light-alt {
    background-color: #f5f2eb; 
}

/* ================= About Section ================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: 4px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.stats-container {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(59, 40, 24, 0.1);
}

.stat-number {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

/* ================= Specialties Section ================= */
.specialties-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 800px;
    margin: 40px auto 0;
}

.specialty-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.specialty-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.specialty-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* ================= Menu Section (Tabbed Layout) ================= */
.menu-tabs-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.menu-btn {
    background: transparent;
    border: 1px solid #e0dcd5;
    padding: 12px 25px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.menu-btn:hover {
    border-color: #946736;
    color: #946736;
}

.menu-btn.active {
    background-color: #946736;
    color: white;
    border-color: #946736;
}

.menu-content-container {
    max-width: 900px;
    margin: 0 auto;
}

.menu-category {
    display: none;
    animation: fadeInTab 0.5s ease;
}

.menu-category.active {
    display: block;
}

.menu-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px 0;
    border-bottom: 1px solid #eaeaec;
}

.menu-row:last-child {
    border-bottom: none;
}

.menu-info {
    flex: 1;
    padding-right: 20px;
}

.menu-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #222;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.menu-badge {
    background-color: #fdf6eb;
    color: #cba258;
    font-family: var(--font-body);
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 2px;
    letter-spacing: 1px;
}

.menu-desc {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.menu-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #946736;
}

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

/* ================= Gallery Section ================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 15px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 4px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.item-tall {
    grid-column: span 1;
    grid-row: span 2;
}

.item-wide {
    grid-column: span 3;
    height: 300px;
}

/* ================= Chef Section ================= */
.chef-container {
    display: flex;
    align-items: center;
    gap: 60px;
    background-color: #fff;
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.chef-content { flex: 1; }

.chef-image { 
    flex: 1; 
    border-radius: 4px;
    overflow: hidden;
}

.chef-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
    display: block;
    transition: transform 0.6s ease;
}

.chef-image:hover img {
    transform: scale(1.05);
}

.chef-subtitle {
    font-size: 0.9rem;
    color: var(--accent-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--accent-color);
    opacity: 0.3;
    line-height: 0;
    margin-top: 40px;
    margin-bottom: 20px;
}

.chef-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ================= Testimonials Section ================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.stars {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.7;
}

.reviewer-name {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

/* ================= Reservation Section ================= */
.bg-dark-reservation {
    background-color: #3b2e23;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--accent-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.text-white {
    color: #ffffff;
}

.reservation-separator {
    width: 60px;
    height: 1px;
    background-color: var(--accent-color);
    margin: 15px auto 40px;
}

.reservation-form-elegant {
    max-width: 800px;
    margin: 0 auto;
}

.form-grid-elegant {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.form-grid-elegant textarea {
    grid-column: span 2;
    height: 150px;
    resize: vertical;
}

.reservation-form-elegant input,
.reservation-form-elegant select,
.reservation-form-elegant textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ffffff; 
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #444; 
    background-color: #fdfaf5; 
    outline: none;
    transition: all 0.3s ease;
}

.reservation-submit {
    margin-top: 10px;
    letter-spacing: 2px;
}

/* ================= Reservation Success Message ================= */
.success-message {
    text-align: center;
    background-color: #fdfaf5;
    padding: 50px 30px;
    border-radius: 4px;
    border: 1px solid var(--accent-color);
    animation: fadeInMessage 0.6s ease-out forwards;
}

.success-message.hidden {
    display: none;
}

.success-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    line-height: 1;
}

.success-message h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.success-message p {
    color: #555;
    font-size: 1.1rem;
}

@keyframes fadeInMessage {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= Footer Section ================= */
.footer {
    background-color: var(--primary-color); 
    color: var(--text-light);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-text {
    color: #ddd;
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }

.footer-links a {
    color: #ddd;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    font-size: 0.85rem;
}

/* ================= Responsive Design ================= */

/* Tablet Adjustments */
@media (max-width: 992px) {
    .chef-container {
        flex-direction: column; 
        padding: 40px 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr; 
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr; 
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .about-grid, .specialties-grid {
        grid-template-columns: 1fr; 
        gap: 40px;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 20px;
    }
    
    /* New Menu Responsive Styling */
    .menu-row {
        flex-direction: column;
    }
    .menu-price {
        margin-top: 10px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr; 
    }
    
    .item-tall { grid-row: span 1; }
    .item-wide { grid-column: span 1; height: 250px; }

    .form-grid-elegant {
        grid-template-columns: 1fr; 
    }
    
    .form-grid-elegant textarea {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr; 
        text-align: center;
    }

    /* Mobile Navbar Styles */
    .mobile-toggle {
        display: flex; 
    }

    .btn-outline-nav {
        display: none; 
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(59, 40, 24, 0.95); 
        backdrop-filter: blur(5px);
        flex-direction: column;
        align-items: center;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
    }

    .nav-links.active {
        max-height: 300px; 
        padding: 20px 0;
    }

    .nav-links a {
        margin: 15px 0;
        display: block;
    }

    /* Hamburger Animation */
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}