/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --charcoal: #1a1a1a;
    --dark-grey: #2d2d2d;
    --light-grey: #4a4a4a;
    --gold: #c9a96e;
    --light-gold: #d4b885;
    --white: #f5f5f5;
    --slate: #3c4b4f;
    --copper: #b87333;
    --nav-height: 80px; /* Defined height for calculation */
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height); /* Fixes anchor links hiding behind navbar */
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--charcoal);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
    text-align: center;
}

.subsection-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--light-gold);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.2rem 0; /* Default padding */
    transition: all 0.3s ease;
    height: var(--nav-height);
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(26, 26, 26, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

.nav-logo a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 1px;
    z-index: 1002;
    position: relative;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1002;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    /* Added fixed attachment for simple CSS parallax foundation, JS enhances it */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 0;
    overflow: hidden;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    color: var(--charcoal);
    background-color: var(--gold);
}

/* Section Common Styles */
section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
    background-color: var(--charcoal); /* Ensures no transparency issues during scroll */
}

.section-header {
    margin-bottom: 60px;
}

.divider {
    width: 80px;
    height: 2px;
    background-color: var(--gold);
    margin: 0 auto;
}

/* Philosophy Section */
/* Philosophy Section */
.philosophy {
    background-color: var(--dark-grey);
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Splits screen 50% Text / 50% Image */
    gap: 60px;
    align-items: center; /* This ensures the text is vertically centered with the image */
}

.philosophy-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify; /* Optional: makes the text block look square like the screenshot */
}

.philosophy-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.chef-photo {
    width: 100%;
    max-width: 500px; /* Prevents image from getting too big on huge screens */
    height: auto;     /* Keeps the natural shape of your photo */
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: block;
}

/* Mobile adjustment for Philosophy */
@media screen and (max-width: 992px) {
    .philosophy-content {
        grid-template-columns: 1fr; /* Stack them on mobile */
        text-align: center;
    }
    
    .philosophy-text p {
        text-align: left; /* Keep text readable on mobile */
    }
    
    .chef-photo {
        margin-top: 30px;
        max-width: 100%;
    }
}

/* Dishes Section */
.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Better responsiveness */
    gap: 30px;
}

.dish-card {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 400px;
    display: flex;
    flex-direction: column;
}

.dish-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.dish-image {
    flex-grow: 1; /* Fills available space */
    background-color: var(--light-grey);
    background-size: cover;
    background-position: center;
    transition: filter 0.3s ease;
    min-height: 60%;
}

.dish-image.loading {
    filter: blur(5px);
}

.dish-image.loaded {
    filter: blur(0);
}

.dish-info {
    padding: 20px;
    background-color: var(--dark-grey);
    /* Remove fixed height, let content dictate, but allow flex grow */
    z-index: 2;
}

.dish-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gold);
}

.dish-desc {
    font-size: 0.9rem;
    color: var(--white);
    opacity: 0.8;
}

/* Press Section */
.press {
    background-color: var(--charcoal);
}

.press-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.awards-list {
    list-style: none;
}

.awards-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-grey);
    position: relative;
    padding-left: 20px;
}

.awards-list li:before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.publications {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.publication-logo {
    height: 100px;
    background-color: var(--dark-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--gold);
    border: 1px solid var(--light-grey);
    transition: all 0.3s ease;
}

.publication-logo:hover {
    border-color: var(--gold);
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    background-color: var(--dark-grey);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-text {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

input, textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--light-grey);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--gold);
    background-color: rgba(255, 255, 255, 0.1);
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-button {
    padding: 12px 30px;
    background-color: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    color: var(--charcoal);
    background-color: var(--gold);
}

/* Footer */
.footer {
    padding: 40px 0;
    background-color: var(--charcoal);
    border-top: 1px solid var(--light-grey);
}

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

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--gold);
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .philosophy-content,
    .press-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0; /* Fixed to top */
        height: 100vh; /* Full height */
        flex-direction: column;
        background-color: var(--charcoal);
        width: 100%;
        justify-content: center; /* Center links vertically */
        align-items: center;
        transition: 0.3s ease-in-out;
        padding: 0;
        z-index: 1001; /* Below hamburger, above everything else */
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 1.5rem;
        font-size: 1.2rem;
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .publications {
        grid-template-columns: 1fr;
    }
    
    .philosophy-image .image-placeholder {
        height: 300px;
    }
}