/* --- Variables & Reset --- */
:root {
    --color-primary: #1A5F7A; /* Deep Teal */
    --color-primary-dark: #0e3d4d;
    --color-secondary: #364C5B; /* Slate Grey */
    --color-accent: #C4A484; /* Muted Gold/Beige */
    --color-text: #2C3E50;
    --color-text-light: #627D98;
    --color-bg-light: #F8F9FA;
    --color-bg-offwhite: #FDFBF7;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
    --spacing-container: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg-offwhite);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
}

.section-tag {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-title {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.section-title.light {
    color: #fff;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Layout Utility --- */
.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

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

.mt-4 {
    margin-top: 2rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
}

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

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    margin-left: 1rem;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--color-text);
    border-color: #fff;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.4s ease, padding 0.4s ease;
    padding: 1.5rem 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.5px;
}

.navbar.scrolled .logo {
    color: var(--color-secondary);
}

.ampersand {
    color: var(--color-accent);
    font-style: italic;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar.scrolled .nav-links a {
    color: var(--color-text);
}

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

.btn-nav {
    background: var(--color-accent);
    color: #fff !important;
    padding: 0.6rem 1.2rem;
    border-radius: 2px;
}

.btn-nav:hover {
    background: #b08d6a;
}

/* --- Mobile Menu --- */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: 0.3s;
}

.navbar.scrolled .bar {
    background-color: var(--color-secondary);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-secondary);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-links {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-links a {
    color: #fff;
    font-family: var(--font-serif);
    font-size: 2rem;
}

/* --- Hero --- */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    background-image: url('https://images.pexels.com/photos/1551346/pexels-photo-1551346.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26, 95, 122, 0.4), rgba(54, 76, 91, 0.7));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 4.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* --- About Section --- */
.about {
    background-color: var(--color-bg-offwhite);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    height: 600px;
}

.main-img {
    width: 75%;
    height: 100%;
    object-fit: cover;
    box-shadow: 20px 20px 0 var(--color-primary);
}

.secondary-img {
    position: absolute;
    bottom: -40px;
    right: 0;
    width: 50%;
    height: 50%;
    object-fit: cover;
    border: 10px solid var(--color-bg-offwhite);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text .lead {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* --- Menu Section --- */
.menu-section {
    background-color: #fff;
}

.section-header {
    margin-bottom: 4rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.menu-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

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

.card-img {
    height: 300px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 2.5rem;
}

.card-content h3 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.card-content > p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.signature-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.signature-items li {
    border-bottom: 1px dashed rgba(0,0,0,0.1);
    padding-bottom: 1rem;
}

.signature-items li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.signature-items span {
    display: block;
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--color-secondary);
    font-size: 1.1rem;
}

.signature-items small {
    display: block;
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-top: 0.2rem;
    font-weight: 300;
}

/* --- Parallax --- */
.parallax-section {
    height: 400px;
    background-image: url('https://images.pexels.com/photos/5812847/pexels-photo-5812847.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 95, 122, 0.6);
}

.parallax-section .container {
    position: relative;
    z-index: 2;
}

/* --- Footer --- */
.footer {
    background-color: var(--color-secondary);
    color: #fff;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.contact-info a {
    color: var(--color-accent);
}

.contact-info a:hover {
    text-decoration: underline;
}

.footer-hours h4, .footer-reservation h4 {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
}

.footer-hours ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.footer-reservation p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reservation-form input,
.reservation-form select {
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-family: var(--font-sans);
    border-radius: 2px;
}

.reservation-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.reservation-form select {
    color: rgba(255,255,255,0.8);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-accent);
    min-height: 20px;
}

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

/* --- Animations --- */
.fade-in {
    animation: fadeIn 1.2s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-wrapper {
        height: 400px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .btn-outline {
        margin-left: 0;
        margin-top: 1rem;
        display: block;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
