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

:root {
    --primary: #5b8c5a;
    --primary-dark: #4a7349;
    --primary-light: #e8f5e8;
    --accent: #f4a261;
    --accent-dark: #e08a3a;
    --text: #2d3436;
    --text-light: #636e72;
    --bg: #ffffff;
    --bg-alt: #faf9f6;
    --border: #e9e9e9;
    --radius: 12px;
    --shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Nunito', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 16px;
}

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

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
}

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

.logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}

/* === Hero === */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f5e8 0%, #fef9ef 50%, #e8f0fe 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(91, 140, 90, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(244, 162, 97, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(91, 140, 90, 0.04) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    padding: 120px 24px 80px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--text-light);
    max-width: 550px;
    margin: 0 auto 32px;
    font-weight: 600;
}

.hero-flags {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.hero-flags span {
    transition: transform 0.2s ease;
    cursor: default;
}

.hero-flags span:hover {
    transform: scale(1.2);
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(91, 140, 90, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 24px rgba(91, 140, 90, 0.4);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* === Sections === */
.section {
    padding: 90px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* === Grid === */
.grid {
    display: grid;
    gap: 28px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* === Cards === */
.card {
    background: white;
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.card-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* === Gallery === */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

/* === Lightbox === */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    animation: fadeIn 0.3s ease;
}

.lightbox-caption {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    color: white;
    font-size: 2.4rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    line-height: 1;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 1.6rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* === Language Cards === */
.lang-card {
    background: white;
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--border);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.lang-en { border-top-color: #1a5276; }
.lang-de { border-top-color: #d4ac0d; }
.lang-fr { border-top-color: #c0392b; }

.lang-flag {
    font-size: 3rem;
    margin-bottom: 16px;
}

.lang-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text);
}

.lang-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.lang-phrase {
    font-style: italic;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.05rem;
}

/* === Cuisine Cards === */
.cuisine-card {
    background: white;
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.cuisine-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.cuisine-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text);
}

.cuisine-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.food-note {
    margin-top: 40px;
    background: var(--primary-light);
    border-radius: var(--radius);
    padding: 24px 32px;
    text-align: center;
    color: var(--primary-dark);
    font-size: 0.95rem;
    border-left: 4px solid var(--primary);
}

/* === Timeline === */
.timeline {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 85px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-light);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
}

.timeline-time {
    flex-shrink: 0;
    width: 75px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
    text-align: right;
    padding-top: 14px;
}

.timeline-content {
    background: white;
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex: 1;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 18px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-light);
}

.timeline-content h4 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 2px;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* === Contact === */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 20px 0;
}

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

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.contact-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* === Form === */
.contact-form {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 32px;
}

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

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
}

/* === Footer === */
.footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-logo .logo-text {
    color: white;
}

.footer p {
    font-size: 0.9rem;
}

/* === Responsive === */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px 24px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .section {
        padding: 60px 0;
    }

    .hero {
        min-height: 80vh;
    }

    .timeline::before {
        left: 0;
        display: none;
    }

    .timeline-item {
        flex-direction: column;
        gap: 8px;
    }

    .timeline-time {
        text-align: left;
        width: auto;
        padding-top: 0;
    }

    .timeline-content::before {
        display: none;
    }
}
