/* GLOBAL STYLES */
:root {
    --primary-color: #556B2F; /* Sage Green */
    --secondary-color: #2F2F2F; /* Charcoal */
    --accent-color: #D2691E; /* Warm Wood/Orange */
    --bg-color: #FDFBF7; /* Creamy Off-White */
    --text-color: #333;
    --font-heading: 'Playfair Display', serif; /* Elegant for headers */
    --font-body: 'Lato', sans-serif; /* Clean for reading */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: inherit;
}

/* NAVIGATION */
header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 700;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover, .active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
}

/* FOOTER */
footer {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}
/* HERO SECTION */
.hero {
    /* We will use a linear gradient to darken the image so text pops */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/home-bg.webp');
    background-size: cover;
    background-position: center;
    height: 80vh; /* 80% of the screen height */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white; /* Override default heading color */
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* BUTTONS */
.btn {
    padding: 0.8rem 2rem;
    background-color: var(--accent-color);
    color: white;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #b05515;
}

/* SECTIONS */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}
/* PAGE HEADERS (Small Hero) */
.page-header {
    height: 40vh; /* Smaller than the home page hero */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: #333; /* Fallback color */
    /* Dark overlay to make text readable */
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.4);
}

.page-header h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 0.5rem;
}

/* MENU LAYOUT */
.menu-section {
    padding: 4rem 1rem;
    background-color: var(--bg-color);
}

.menu-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}

.menu-category {
    margin-bottom: 3rem;
}

.menu-category h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 0.5rem;
    /* This centers the inline-block border */
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.menu-item {
    margin-bottom: 1.5rem;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px dotted #ccc;
    margin-bottom: 0.5rem;
}

.item-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin: 0;
}

.item-header .price {
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.description {
    font-style: italic;
    color: #666;
    font-size: 0.95rem;
}
/* CONTACT PAGE LAYOUT */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 4rem;
    align-items: start;
    text-align: left; /* Override center alignment from container */
}

/* Info Styling */
.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.info-block {
    margin-top: 2rem;
}

.info-block h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

/* Form Styling */
.contact-form-wrapper {
    background-color: white;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    border-top: 5px solid var(--accent-color);
}

.contact-form-wrapper h2 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 0.9rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(85, 107, 47, 0.2);
}

/* Form Row for side-by-side inputs (Date/Guests) */
.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1; /* Each input takes up equal space */
}

.full-width {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    /* Stack the contact page grid */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Stack the Navigation Header */
    nav {
        flex-direction: column; /* Puts logo on top, links on bottom */
        padding: 1rem;
    }

    .nav-links {
        display: flex; /* Turn them back on! */
        flex-direction: column; /* Stack them vertically */
        gap: 1rem; /* Space them out nicely */
        margin-top: 1rem;
        text-align: center;
        width: 100%; /* Ensure clickable area spans width */
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}