/* CSS Custom Properties */
:root {
    --forest-green: #2D5A3D;
    --forest-green-dark: #1E3D2A;
    --forest-green-light: #3D7A52;
    --off-white: #F8F6F0;
    --cream: #FDFBF7;
    --warm-gray: #6B6560;
    --dark-text: #2C2C2C;
    --light-text: #F8F6F0;
    --shadow-sm: 0 2px 8px rgba(45, 90, 61, 0.08);
    --shadow-md: 0 4px 20px rgba(45, 90, 61, 0.12);
    --shadow-lg: 0 8px 40px rgba(45, 90, 61, 0.15);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--off-white);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    line-height: 1.2;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'DM Sans', sans-serif;
}

.btn-primary {
    background-color: var(--forest-green);
    color: var(--light-text);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--forest-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--light-text);
    color: var(--forest-green);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 246, 240, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--forest-green);
}

.logo-icon {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--dark-text);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--forest-green);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--forest-green);
    padding: 8px;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 90, 61, 0.98);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-overlay .btn-primary {
    background-color: var(--off-white);
    color: var(--forest-green);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-nav-links a {
    color: var(--light-text);
    font-size: 1.5rem;
    font-family: 'Fraunces', serif;
}

.close-menu-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--light-text);
    padding: 8px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 61, 42, 0.85) 0%, rgba(45, 90, 61, 0.75) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding-top: 80px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--light-text);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(248, 246, 240, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--cream);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--off-white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--forest-green);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--warm-gray);
    font-size: 1rem;
    line-height: 1.7;
}

/* Section Titles */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--forest-green);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--warm-gray);
    margin-bottom: 48px;
}

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

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--off-white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-text {
    color: var(--warm-gray);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-highlights {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.highlight {
    text-align: center;
}

.highlight-number {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--forest-green);
    line-height: 1;
}

.highlight-label {
    font-size: 0.9rem;
    color: var(--warm-gray);
    margin-top: 8px;
    display: block;
}

/* Menu Section */
.menu {
    padding: 100px 0;
    background-color: var(--cream);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.menu-item {
    background: var(--off-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.menu-item-image {
    height: 200px;
    overflow: hidden;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.menu-item:hover .menu-item-image img {
    transform: scale(1.1);
}

.menu-item-content {
    padding: 24px;
}

.menu-item-content h3 {
    font-size: 1.3rem;
    color: var(--forest-green);
    margin-bottom: 8px;
}

.menu-item-content p {
    color: var(--warm-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background-color: var(--off-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    aspect-ratio: 3/2;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

/* Visit Section */
.visit {
    padding: 100px 0;
    background-color: var(--forest-green);
}

.visit-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: stretch;
}

.visit-info {
    color: var(--light-text);
}

.visit-info .section-title {
    color: var(--light-text);
}

.visit-text {
    color: rgba(248, 246, 240, 0.85);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 4px;
    color: var(--light-text);
}

.contact-item p {
    color: rgba(248, 246, 240, 0.8);
    line-height: 1.6;
}

.contact-item a {
    color: var(--off-white);
    border-bottom: 1px solid rgba(248, 246, 240, 0.4);
}

.contact-item a:hover {
    color: var(--cream);
    border-color: var(--cream);
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 400px;
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background-color: var(--forest-green-dark);
    color: var(--light-text);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--light-text);
}

.footer-brand p {
    color: rgba(248, 246, 240, 0.7);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(248, 246, 240, 0.7);
}

.footer-links a:hover {
    color: var(--light-text);
}

.footer-contact p {
    color: rgba(248, 246, 240, 0.7);
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--off-white);
}

.footer-contact a:hover {
    color: var(--cream);
}

.footer-bottom {
    border-top: 1px solid rgba(248, 246, 240, 0.15);
    padding-top: 24px;
    text-align: center;
    color: rgba(248, 246, 240, 0.5);
    font-size: 0.9rem;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .about-container,
    .visit-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .about-highlights {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .features-grid,
    .menu-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        flex-direction: column;
        gap: 24px;
    }

    .visit-map {
        min-height: 300px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        will-change: opacity, transform;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal.hidden {
        opacity: 1;
        transform: none;
    }
}
