:root {
    --primary-color: #0f0f0f;
    --secondary-color: #c5a059;
    --accent-color: #7d0a0a;
    --text-color: #333;
    --light-text: #f4f4f4;
    --muted-text: #777;
    --background-color: #ffffff;
    --section-padding: 5rem 2rem;
    --max-width: 1200px;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

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

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.2; }
h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
p { margin-bottom: 1.5rem; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 4rem; background: #0f0f0f; color: var(--light-text);
    transition: var(--transition);
}
.main-header.transparent { background: transparent; padding: 1.8rem 4rem; }
.logo { 
    flex-shrink: 0;
    margin-right: 2rem;
    position: relative;
}
.logo a { 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
}
.logo a::before {
    content: "II";
    font-family: var(--font-serif);
    font-size: 5rem;
    font-weight: 700;
    color: #7b6d4b; /* De-emphasized from main text but solid and visible */
    position: absolute;
    top: 22%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    letter-spacing: -2px;
    line-height: 1;
}
.logo-main {
    font-family: var(--font-serif); 
    font-size: 2.4rem; 
    font-weight: 700;
    color: #e2be72; /* Lighter gold from screenshot */
    letter-spacing: 0px; 
    position: relative;
    z-index: 2;
    line-height: 1;
    display: flex;
    gap: 0.1rem; /* Close gap to match SecondEmpire sign */
}
.logo-main .word {
    display: inline-block;
}
.logo-tagline {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: #e2be72;
    text-transform: uppercase;
    margin-top: 0.5rem; /* Brought closer to the bottom of the II */
    width: 100%;
    display: flex;
    justify-content: space-between; /* Justified to match Second Empire width */
    white-space: nowrap;
    position: relative;
    z-index: 2;
    margin-right: -4px; /* Compensate for the letter-spacing on the last character */
}
.logo-tagline span {
    flex-shrink: 0;
    letter-spacing: 4px;
}
.main-header nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}
.main-header nav ul { 
    display: flex; 
    list-style: none; 
    align-items: center;
    width: 100%;
    justify-content: flex-end;
}
.main-header nav ul li { margin-left: 0.2rem; flex-shrink: 0; }
.main-header nav a:not(.btn) { 
    color: var(--light-text); 
    text-decoration: none; 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 1.2px; 
    font-weight: 400; 
    white-space: nowrap; 
    padding: 0.6rem 0.8rem; 
    display: block; 
    transition: var(--transition); 
    border-radius: 2px;
}
.main-header nav a:not(.btn):hover { 
    color: var(--secondary-color); 
    background: rgba(255, 255, 255, 0.15); 
}

.main-header .btn-reserve {
    margin-left: 0.8rem;
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    cursor: pointer;
    z-index: 1100;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Buttons */
.btn { 
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    padding: 0 2.5rem; 
    text-decoration: none !important; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-size: 0.8rem; 
    font-weight: 600; 
    cursor: pointer; 
    transition: var(--transition); 
    border: 2px solid transparent;
    text-align: center;
    font-family: var(--font-sans);
    line-height: 1;
    height: 3.2rem; /* Uniform height for all buttons */
    white-space: nowrap;
    border-radius: 0; /* Traditional elegant sharp corners */
}

/* Gold Button - Primary CTA */
.btn-primary, .btn-reserve { 
    background-color: var(--secondary-color) !important; 
    color: white !important; 
    border-color: var(--secondary-color) !important; 
}
.btn-primary:hover, .btn-reserve:hover { 
    background-color: #b08d4a !important; 
    border-color: #b08d4a !important; 
    transform: translateY(-2px);
}

/* Dark Button - Secondary Info */
.btn-secondary { 
    background-color: var(--primary-color) !important; 
    color: white !important; 
    border-color: var(--primary-color) !important;
}
.btn-secondary:hover { 
    background-color: #333 !important;
    border-color: #333 !important;
    transform: translateY(-2px);
}

/* White Button - Alternative CTA */
.btn-outline {
    background-color: white !important;
    color: var(--primary-color) !important;
    border-color: white !important;
}
.btn-outline:hover {
    background-color: #f4f4f4 !important;
    border-color: #f4f4f4 !important;
    transform: translateY(-2px);
}

/* Gold Outline Button - Footer & Dark Backgrounds */
.btn-gold-outline {
    background-color: transparent !important;
    color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}
.btn-gold-outline:hover {
    background-color: var(--secondary-color) !important;
    color: white !important;
    transform: translateY(-2px);
}
/* Specialized small adjustment for the header button */
.main-header .btn-reserve {
    height: 2.8rem;
    padding: 0 1.5rem;
    font-size: 0.75rem;
}

/* Hero Section */
.hero { height: 85vh; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; color: white; position: relative; overflow: hidden; }
.hero-home { background-image: url('/images/table-spread-three-entrees-wine.webp'); }
.hero-dining { background-image: url('/images/atrium-dining-room-ultra-wide.webp'); }
.hero-menus { background-image: url('/images/chef-plating-meat.webp'); }
.hero-menu-main { background-image: url('/images/chef-pouring-sauce-on-plated-dish.webp'); }
.hero-menu-dessert { background-image: url('/images/dessert-chocolate-souffle-pouring-sauce.webp'); }
.hero-special-events { background-image: url('/images/plated-lamb-chops-dinner.webp'); }
.hero-weddings { background-image: url('/images/atrium-dining-room-angle1.webp'); }
.hero-history { background-image: url('/images/interior-hallway-staircase-view.webp'); }
.hero-contact { background-image: url('/images/exterior-house-signage-view.webp'); }
.hero-404 { background-image: url('/images/kitchen-pans-steaming-on-stove.webp'); }
.hero::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); }
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero h1 { margin-bottom: 1.5rem; }
.hero p { font-size: 1.4rem; font-style: italic; font-family: var(--font-serif); margin-bottom: 2.5rem; }
.hero-cta { display: flex; gap: 1.5rem; justify-content: center; align-items: center; }

/* Award Icons */
.awards-section { background-color: #fff; }
.featured-award {
    max-width: 1000px;
    margin: 0 auto 4rem;
    text-align: center; 
    padding: 4rem 2rem; 
    background: #fdfaf4; 
    border: 1px solid #f0e6d2; 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}
.featured-award .award-logos { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 3rem; 
    width: 100%;
    flex-wrap: wrap;
}
.featured-award .banner { 
    max-width: 500px; 
    width: 100%;
    height: auto; 
    object-fit: contain;
}
.featured-award .logo { 
    max-width: 200px; 
    width: 100%;
    height: auto; 
    object-fit: contain;
}
.award-quote { 
    font-family: var(--font-serif); 
    font-size: 1.5rem; 

    line-height: 1.5; 
    color: var(--primary-color); 
    max-width: 800px;
    margin: 0 auto;
}
.award-quote span { 
    display: block; 
    margin-top: 2rem; 
    font-family: var(--font-sans); 
    font-weight: 600; 
    font-style: normal; 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    color: var(--secondary-color); 
}

.awards-grid.secondary { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
    gap: 2rem; 
    flex-wrap: wrap; 
    max-width: 900px;
    margin: 0 auto;
}
.awards-grid.secondary .award-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-width: 200px;
}
.awards-grid.secondary .award-item img { 
    height: 130px; 
    width: auto; 
    transition: var(--transition); 
}
.awards-grid.secondary .award-item:hover img { transform: scale(1.05); }

@media (max-width: 768px) {
    .featured-award { padding: 3rem 1.5rem; }
    .featured-award .award-logos { gap: 2rem; }
    .award-quote { font-size: 1.2rem; }
    .awards-grid.secondary { gap: 3rem; }
    .awards-grid.secondary .award-item img { height: 90px; }
}

/* Section Spacing */
section { padding: var(--section-padding); }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title.left { text-align: left; }
.section-title span { display: block; color: var(--secondary-color); text-transform: uppercase; letter-spacing: 3px; font-size: 0.8rem; margin-bottom: 0.5rem; }

/* Grid & Layout */
.grid { display: grid; gap: 3rem; align-items: center; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.img-container { overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.img-container img { width: 100%; height: auto; display: block; transition: var(--transition); }
.img-container:hover img { transform: scale(1.05); }

/* COMPACT FORM STYLES */
.event-form-container { background: #fff; padding: 3rem; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-radius: 8px; }
.form-header { text-align: center; margin-bottom: 2.5rem; }
.form-header h3 { font-size: 1.8rem; color: var(--primary-color); margin-bottom: 0.5rem; }
.form-header p { color: var(--muted-text); font-size: 0.9rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; color: #666; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.8rem; border: 1px solid #ddd; font-family: var(--font-sans); font-size: 1rem; border-radius: 4px; background-color: #fff; color: var(--text-color); }
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}
.form-group textarea { resize: vertical; }

/* Gallery Styles */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.gallery-grid .img-container { height: 350px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }

/* Vimeo Wrapper */
.vimeo-wrapper { position: relative; padding-bottom: 56.25%; height: 0; box-shadow: 0 30px 60px rgba(0,0,0,0.2); }
.vimeo-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Section Variants */
.section-alt { background-color: #f9f9f9; }
.section-flush { padding: 5rem 0; }

/* Content Block Spacing */
.content-block { margin-bottom: 5rem; }
.content-block-sm { margin-bottom: 4rem; }

/* Intro Text */
.intro-text { max-width: 800px; margin: 0 auto; }

/* CTA Wrapper */
.cta-wrapper { text-align: center; margin-top: 3rem; }
.cta-inline { margin-top: 2rem; }

/* Wine Spectator Label */
.wine-spectator-label { font-family: var(--font-serif); font-weight: 700; color: #722F37; font-size: 1.4rem; margin-bottom: 0.5rem; letter-spacing: 0.5px; }

/* Alert Styles */
.alert { padding: 1rem; border-radius: 4px; margin-bottom: 2rem; }
.alert-success { background: #d4edda; color: #155724; }
.alert-danger { background: #f8d7da; color: #721c24; }

/* Narrow Container */
.container-narrow { max-width: 800px; margin: 0 auto; }

/* Menu Detail Page */
.menu-detail-section .container { max-width: 800px; padding: 0 2rem; }
.menu-nav { text-align: center; margin-bottom: 3rem; }
.menu-nav .btn { font-size: 0.7rem; padding: 0.5rem 1rem; height: auto; }
.menu-placeholder { text-align: center; }
.menu-footer { margin-top: 4rem; border-top: 1px solid #eee; padding-top: 2rem; }
.menu-chef { text-align: center; font-style: italic; font-size: 0.9rem; }
.menu-disclaimer { text-align: center; font-size: 0.8rem; color: #666; }

/* Live Menu Content */
.live-menu-content h2 { text-align: center; color: var(--secondary-color); margin-top: 3rem; margin-bottom: 2rem; text-transform: uppercase; letter-spacing: 2px; font-size: 1.5rem; }
.menu-item { margin-bottom: 2rem; text-align: center; }
.item-name { font-family: var(--font-serif); font-size: 1.3rem; color: var(--primary-color); display: block; margin-bottom: 0.4rem; font-weight: 700; }
.item-description { color: var(--muted-text); font-size: 1rem; line-height: 1.5; max-width: 600px; margin: 0 auto; }
.item-description em { color: var(--secondary-color); font-weight: 600; margin-left: 0.5rem; }

/* Menus Index Page */
.menu-list { text-align: center; }
.menu-list-item { margin-bottom: 4rem; }
.menu-list-item h3 { font-size: 2rem; margin-bottom: 1rem; }
.menu-list-item p { color: var(--muted-text); margin-bottom: 1.5rem; font-size: 1.1rem; }

/* Contact & Map */
.contact-item { margin-top: 2rem; }
.contact-note { font-size: 0.8rem; margin-top: 0.5rem; color: var(--muted-text); }
.map-container img { width: 100%; height: auto; display: block; border: 1px solid #ddd; border-radius: 4px; transition: opacity 0.3s; }
.map-container img:hover { opacity: 0.9; }

/* 404 Hero CTA */
.hero-cta-inline { margin-top: 2rem; }

/* Footer */
.main-footer { padding: 4rem 2rem; background-color: var(--primary-color); color: var(--muted-text); text-align: center; font-size: 0.8rem; border-top: 1px solid #222; }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.footer-copyright { margin: 0; }

/* Staff Cards */
.staff-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 2rem;
    align-items: stretch;
}
.staff-grid.centered {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.staff-card {
    background: #fff;
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}
.staff-card img {
    width: 150px;
    height: auto;
    margin: 0 auto 1.5rem auto;
    border-radius: 4px;
}
.staff-card .staff-info {
    margin-top: 0;
}
.staff-card h3 {
    margin-bottom: 0.2rem;
    font-size: 1.4rem;
}
.staff-card p {
    color: var(--secondary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .staff-grid {
        grid-template-columns: 1fr;
    }
    .staff-grid.centered {
        max-width: none;
    }
}

@media (max-width: 1200px) {
    .main-header { padding: 1rem 2rem; }
    .main-header.transparent { padding: 1.5rem 2rem; }
    .logo-main { font-size: 2rem; gap: 0.1rem; }
    .logo-tagline { font-size: 0.75rem; margin-top: 0.4rem; justify-content: space-between; margin-right: -3px; }
    .logo-tagline span { letter-spacing: 3px; }
    .logo a::before { font-size: 4rem; top: 22%; }
    .main-header nav ul li { margin-left: 0.1rem; }
    .main-header nav a:not(.btn) { font-size: 0.7rem; letter-spacing: 1px; padding: 0.5rem 0.6rem; }
}

@media (max-width: 1024px) {
    .main-header { padding: 1rem 2rem; }
    .main-header.transparent { padding: 1rem 2rem; }
    .main-header nav { position: fixed; top: 0; right: -100%; width: 300px; height: 100vh; background-color: #0f0f0f; padding: 5rem 1.5rem; transition: 0.4s; }
    .main-header nav.active { right: 0; }
    .main-header nav ul { flex-direction: column; align-items: stretch; justify-content: flex-start; width: 100%; height: 100%; overflow-y: auto; }
    .main-header nav ul li { margin: 0.8rem 0; width: 100%; }
    .main-header nav a:not(.btn) { font-size: 1rem; padding: 1rem; }
    .main-header .btn-reserve { margin-left: 0; margin-top: 1rem; width: 100%; }
    .nav-toggle { display: flex; }
}

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.8rem; }
    .hero-cta { flex-direction: column; width: 100%; padding: 0 2rem; }
    .hero-cta .btn { width: 100%; }
    .gallery-grid { grid-template-columns: 1fr; }
}
