:root {
    /* Color Palette - Heritage & Nature */
    --color-primary: #3A4D39;
    /* Deep Forest Green */
    --color-primary-dark: #2C3A2C;
    --color-secondary: #D4B996;
    /* Warm Sand/Gold */
    --color-accent: #A65D57;
    /* Muted Red/Rust */

    --color-bg-light: #F9F7F2;
    /* Cream/Off-white */
    --color-bg-white: #FFFFFF;

    --color-text-dark: #2D2D2D;
    --color-text-medium: #555555;
    --color-text-light: #F9F7F2;

    /* Fonts */
    --font-heading: 'Cinzel', serif;
    --font-subheading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 8px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Reset & Base Types */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body.no-scroll {
    overflow: hidden;
}

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

ul {
    list-style: none;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary-dark);
}

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

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

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-primary-dark);
    border: 2px solid var(--color-secondary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-bg-light);
    /* Assuming on dark bg usually, override if not */
}

/* On light bg overwrite */
.hero-actions .btn-primary:hover {
    color: var(--color-white);
}


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

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

.btn-block {
    display: block;
    width: 100%;
}

/* Header & Nav */
.site-header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    text-transform: uppercase;
    font-weight: 700;
}

.logo-sub {
    color: var(--color-secondary);
    font-weight: 400;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: var(--color-primary-dark);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-secondary);
}

.btn-nav {
    padding: 8px 20px;
    background-color: var(--color-primary);
    color: white !important;
    border-radius: 4px;
}

.btn-nav:hover {
    background-color: var(--color-primary-dark);
    color: white !important;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-primary);
    transition: 0.3s;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-white);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease;
}

.mobile-nav-overlay.active {
    right: 0;
}

.close-mobile-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-primary);
}

.mobile-nav-overlay nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.mobile-nav-overlay nav a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/background.jpeg');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.hero-content p {
    font-family: var(--font-subheading);
    font-style: italic;
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 1;
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9);
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: var(--color-white);
    font-size: 1.5rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Utilities */
.section {
    padding: var(--section-padding);
}

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

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

.subheading {
    display: block;
    font-family: var(--font-subheading);
    font-size: 1.1rem;
    color: var(--color-secondary);
    font-style: italic;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.divider {
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.divider::before,
.divider::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: var(--color-secondary);
    margin: 0 15px;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--color-text-medium);
}

/* Hours Section */
.hours-section {
    background-color: var(--color-white);
}

.hours-card {
    display: flex;
    background: var(--color-bg-white);
    box-shadow: var(--shadow-soft);
    border-radius: var(--border-radius);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.hours-content {
    flex: 1;
    padding: 50px;
    text-align: center;
    position: relative;
    border: 1px solid #eee;
    border-right: none;
}

.hours-image {
    flex: 1;
    background-image: url('assets/images/background.jpeg');
    /* Fallback use hero if no other img */
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.card-icon {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
    display: block;
}

.hours-grid {
    display: grid;
    gap: 15px;
    margin: 30px 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 5px;
}

.hour-item .day {
    font-weight: 700;
    color: var(--color-primary);
}

.hour-item.closed .time {
    color: var(--color-accent);
    font-weight: 700;
}

.hour-item .time {
    color: var(--color-text-medium);
}

.note {
    font-size: 0.9rem;
    font-style: italic;
    color: #888;
}

/* Contact Section */
.contact-section {
    background-color: var(--color-bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
    margin-bottom: 40px;
}

.info-item i {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: var(--font-subheading);
}

.info-item a {
    color: var(--color-primary);
    font-weight: 600;
}

.contact-form-wrapper {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.contact-form-wrapper h3 {
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(58, 77, 57, 0.1);
}

/* Footer */
.site-footer {
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
    padding: 30px 0;
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

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

/* Responsive */
@media (max-width: 768px) {
    .site-header .main-nav {
        display: none;
        /* Hide default nav, show toggle */
    }

    .mobile-toggle {
        display: flex;
        /* Show hamburger */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hours-card {
        flex-direction: column;
    }

    .hours-image {
        display: none;
        /* Or set a height */
        min-height: 200px;
    }

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

/* History Section */
.history-section {
    background-color: var(--color-bg-light);
}

.coming-soon-content {
    padding: 40px;
    background: var(--color-white);
    border: 1px dashed var(--color-secondary);
    border-radius: var(--border-radius);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    text-align: center;
}

.coming-soon-content p {
    font-size: 1.2rem;
    color: var(--color-text-medium);
    margin-bottom: 20px;
}

.coming-soon-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--color-accent);
    color: white;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Menu Section */
.menu-section {
    background-color: var(--color-bg-white);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.menu-item-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.menu-item-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    margin-bottom: 15px;
    transition: box-shadow 0.3s ease;
}

.menu-item-card:hover img {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.menu-item-card h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.menu-item-card p {
    font-style: italic;
    color: var(--color-secondary);
    font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 4px;
    animation: zoomIn 0.3s;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
    }

    to {
        transform: scale(1);
    }
}

/* Media handling for Lightbox */
@media only screen and (max-width: 700px) {
    .lightbox-content {
        width: 100%;
    }
}