/* ===================================
   CSS VARIABLES (ROOT)
   =================================== */
:root {
    --primary: #243b4f;           /* Deep Sage Green */
    --accent: #efa34f;            /* Warm Terracotta */
    --bg-light: #faf8f3;          /* Cream/Off-white */
    --text-dark: #2d2d2d;         /* Dark Charcoal */
    --white: #ffffff;
    --gray-light: #e8e8e8;
    --gray-medium: #b8b8b8;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===================================
   CONTAINER & LAYOUT
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0.8;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #305063;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow);
}

.btn-secondary {
    background-color: var(--accent);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #d88d3a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow);
}

.btn-special {
    background-color: #D84315;
    color: var(--white);
}

.btn-special:hover {
    background-color: #E65100;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow);
}

.btn-full {
    width: 100%;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 80px 30px;
        box-shadow: -5px 0 20px var(--shadow);
        transition: right 0.3s ease;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid var(--gray-light);
        width: 100%;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('images/hero-background.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(90, 111, 79, 0.7), rgba(198, 123, 92, 0.5));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
}

/* ===================================
   HIGHLIGHTS BAR
   =================================== */
.highlights {
    background-color: var(--white);
    padding: 60px 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.highlight-item {
    text-align: center;
    padding: 2rem;
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight-item h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.highlight-item p {
    color: var(--text-dark);
    opacity: 0.8;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow);
    width: 100%;
    object-fit: cover;
}

.about-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
    line-height: 1.8;
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ===================================
   MENU TEASER
   =================================== */
.menu-teaser {
    background-color: var(--white);
}

.menu-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.menu-card {
    background-color: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.menu-card-image {
    height: 220px;
    overflow: hidden;
    background-color: var(--gray-light);
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-card:hover .menu-card-image img {
    transform: scale(1.1);
}

.menu-card-content {
    padding: 1.5rem;
}

.menu-card-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.menu-card-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.menu-price {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

.menu-cta {
    text-align: center;
}

/* ===================================
   FUNCTIONS SECTION
   =================================== */
.functions {
    background: linear-gradient(135deg, var(--primary), #4a5c40);
    color: var(--white);
    text-align: center;
}

.functions h2 {
    color: var(--white);
}

.functions p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
}

.functions-list {
    max-width: 600px;
    margin: 0 auto 2rem;
    text-align: left;
}

.functions-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.125rem;
}

.functions-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.5rem;
}

/* ===================================
   REVIEWS SECTION
   =================================== */
.reviews {
    background-color: var(--bg-light);
}

.reviews-rating {
    text-align: center;
    margin-bottom: 3rem;
}

.stars {
    font-size: 2rem;
    color: #ffc107;
    margin-right: 1rem;
}

.rating-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.reviews-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.review-card {
    background:var(--primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
    min-width: 280px;
}

.review-text {
    color: var(--white);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.review-author {
    font-weight: 700;
    color: var(--white);
    text-align: right;
}

/* ===================================
   RESERVATIONS SECTION
   =================================== */
.reservations {
    background-color: var(--white);
}

.reservation-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    background-color: var(--bg-light);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(90, 111, 79, 0.1);
}

.form-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9375rem;
    color: var(--text-dark);
    opacity: 0.7;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-item p {
    line-height: 1.7;
}

.contact-item a {
    color: var(--accent);
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-map iframe {
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer a {
    color: var(--accent);
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--white);
}