
/* --- General Styles --- */
:root {
    --primary-color: #8B4513; /* SaddleBrown */
    --secondary-color: #D2B48C; /* Tan */
    --background-color: #F5F5DC; /* Beige */
    --text-color: #333;
    --white: #fff;
    --light-gray: #f4f4f4;
    --dark-gray: #555;
    --error-color: #d9534f;
    --success-color: #5cb85c;

    --font-primary: 'Lora', serif;
    --font-secondary: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

ul {
    list-style: none;
}

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

/* --- Header & Navigation --- */
header {
    background-color: var(--white);
    padding: 1rem 5%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: bold;
}

#navigation {
    display: flex;
    gap: 1rem;
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #6A340B;
}


/* --- Main Content --- */
main {
    padding: 2rem 5%;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    background: url('/images/hero-bg.jpg') no-repeat center center/cover;
    color: var(--white);
}

.hero h1 {
    font-family: var(--font-primary);
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Featured Section */
.featured {
    padding: 2rem 0;
    text-align: center;
}

.carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.carousel-item {
    flex: 0 0 250px;
    background: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.carousel-item h3 {
    padding: 1rem;
}


/* --- Menu Page --- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.menu-item {
    background-color: var(--white);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.menu-item h3 {
    font-family: var(--font-primary);
}


/* --- Gallery Page --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item img {
    border-radius: 5px;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80%;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-close {
    top: 1rem;
    right: 1.5rem;
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}


/* --- Forms --- */
.contact-form, .reservation-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
}

.form-status.success {
    background-color: var(--success-color);
    color: var(--white);
}

.form-status.error {
    background-color: var(--error-color);
    color: var(--white);
}


/* --- Footer --- */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 2rem 5%;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}


/* --- Responsive Styles --- */
@media (max-width: 768px) {
    #navigation {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--white);
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    #navigation.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

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