/* =============================================
   MARZUBA — Main Stylesheet
   Modern minimal nature theme
   ============================================= */

:root {
    --color-bg: #f7f5f0;
    --color-bg-dark: #1a2e1a;
    --color-surface: #ffffff;
    --color-primary: #2d5a3d;
    --color-primary-light: #4a7c59;
    --color-accent: #7ba3b0;
    --color-river: #5b8a9a;
    --color-text: #2c2c2c;
    --color-text-light: #6b6b6b;
    --color-border: rgba(45, 90, 61, 0.12);

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', system-ui, sans-serif;

    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(26, 46, 26, 0.08);
    --shadow-lg: 0 12px 48px rgba(26, 46, 26, 0.12);
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 72px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(247, 245, 240, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--color-border);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav__logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-primary);
}

.nav__links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav__links a {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-light);
    transition: color 0.3s;
    position: relative;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width 0.3s;
}

.nav__links a:hover {
    color: var(--color-primary);
}

.nav__links a:hover::after {
    width: 100%;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-toggle {
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 6px 14px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.lang-toggle:hover {
    border-color: var(--color-primary);
    background: rgba(45, 90, 61, 0.05);
}

.lang-toggle__active {
    color: var(--color-primary);
}

.lang-toggle__inactive {
    color: var(--color-text-light);
}

.lang-toggle__divider {
    color: var(--color-border);
}

.lang-toggle.en .lang-toggle__active {
    color: var(--color-text-light);
}

.lang-toggle.en .lang-toggle__inactive {
    color: var(--color-primary);
}

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-bg);
    padding: 24px;
    z-index: 999;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.mobile-menu a {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(26, 46, 26, 0.75) 0%, rgba(45, 90, 61, 0.55) 40%, rgba(91, 138, 154, 0.45) 100%);
    z-index: 1;
}

.hero__photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero__bg:not(:has(.hero__photo)) .hero__gradient {
    background:
        linear-gradient(135deg, rgba(26, 46, 26, 0.7) 0%, rgba(45, 90, 61, 0.5) 40%, rgba(91, 138, 154, 0.4) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 800"><defs><linearGradient id="g" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="%232d5a3d"/><stop offset="100%" stop-color="%231a2e1a"/></linearGradient></defs><rect fill="url(%23g)" width="1440" height="800"/><path fill="%235b8a9a" opacity="0.3" d="M0,600 Q360,500 720,580 T1440,550 L1440,800 L0,800 Z"/><path fill="%234a7c59" opacity="0.2" d="M0,650 Q480,550 960,620 T1440,600 L1440,800 L0,800 Z"/></svg>') center/cover;
}

.hero__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding-top: var(--nav-height);
}

.hero__tagline {
    font-size: 0.875rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 16px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 400;
    letter-spacing: 0.2em;
    line-height: 1;
    margin-bottom: 24px;
}

.hero__subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    max-width: 520px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.7;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    z-index: 1;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.4);
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0%, 100% { transform: scaleY(0.3); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.btn--primary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.btn--primary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ---- Sections ---- */
.section {
    padding: 100px 0;
}

.section-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    color: var(--color-text-light);
    max-width: 500px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-desc {
    margin: 0 auto;
}

/* ---- Animations ---- */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.15s; }
.reveal.delay-2 { transition-delay: 0.3s; }

/* ---- About ---- */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__text p {
    color: var(--color-text-light);
    margin-bottom: 20px;
    font-weight: 300;
}

.about__features {
    display: flex;
    gap: 32px;
    margin-top: 40px;
}

.about__feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.about__feature-icon {
    font-size: 1.5rem;
}

.about__visual {
    position: relative;
}

.about__image-stack {
    position: relative;
    height: 480px;
}

.about__image {
    position: absolute;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
}

.about__image--fallback.about__image--1 {
    background: linear-gradient(135deg, #2d5a3d, #4a7c59);
}

.about__image--fallback.about__image--2 {
    background: linear-gradient(135deg, #5b8a9a, #7ba3b0);
}

.about__image--1 {
    width: 70%;
    height: 70%;
    top: 0;
    left: 0;
    z-index: 2;
}

.about__image--2 {
    width: 55%;
    height: 45%;
    bottom: 0;
    right: 0;
    z-index: 1;
}
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse-deco 4s ease-in-out infinite;
}

@keyframes pulse-deco {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.15; }
}

/* ---- Menu ---- */
.menu {
    background: var(--color-surface);
}

.menu__tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.menu__tab {
    padding: 10px 24px;
    border: 1px solid var(--color-border);
    border-radius: 30px;
    background: none;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--color-text-light);
    cursor: pointer;
    transition: var(--transition);
}

.menu__tab:hover,
.menu__tab.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.menu__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.menu-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.menu-card__image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.menu-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.menu-card:hover .menu-card__image img {
    transform: scale(1.08);
}

.menu-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-river));
}

.menu-card__placeholder span {
    font-family: var(--font-display);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.menu-card__body {
    padding: 24px;
}

.menu-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.menu-card__name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
}

.menu-card__price {
    font-weight: 500;
    color: var(--color-river);
    white-space: nowrap;
    font-size: 0.95rem;
}

.menu-card__desc {
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-weight: 300;
    line-height: 1.6;
}

/* ---- Gallery ---- */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 240px);
    gap: 16px;
}

.gallery__item {
    border-radius: var(--radius);
    overflow: hidden;
}

.gallery__item--large {
    grid-row: span 2;
    grid-column: span 2;
}

.gallery__img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.gallery__item:hover .gallery__img {
    transform: scale(1.05);
}

.gallery__img--1 { background: linear-gradient(160deg, #2d5a3d 0%, #1a2e1a 100%); }
.gallery__img--2 { background: linear-gradient(160deg, #5b8a9a 0%, #3d6a7a 100%); }
.gallery__img--3 { background: linear-gradient(160deg, #4a7c59 0%, #2d5a3d 100%); }
.gallery__img--4 { background: linear-gradient(160deg, #7ba3b0 0%, #5b8a9a 100%); }
.gallery__img--5 { background: linear-gradient(160deg, #1a2e1a 0%, #2d5a3d 100%); }

/* ---- Contact ---- */
.contact {
    background: var(--color-bg-dark);
    color: #fff;
}

.contact .section-label {
    color: var(--color-accent);
}

.contact .section-title {
    color: #fff;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact__info p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
    font-weight: 300;
}

.contact__list {
    list-style: none;
}

.contact__list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.contact__icon {
    font-size: 1.2rem;
    width: 32px;
    text-align: center;
}

.contact__map-iframe {
    width: 100%;
    height: 320px;
    border: none;
    border-radius: var(--radius-lg);
}

.contact__map-image {
    height: 320px;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.contact__map-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 46, 26, 0.7), transparent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 32px;
    text-align: center;
}

.contact__map-overlay span {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0.2em;
    color: #fff;
    margin-bottom: 8px;
}

.contact__map-overlay p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.contact__list a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.contact__list a:hover {
    color: #fff;
}

.contact__map-placeholder {
    height: 320px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(45, 90, 61, 0.4), rgba(91, 138, 154, 0.3));
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact__map-placeholder span {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

.contact__map-placeholder p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ---- Footer ---- */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--color-border);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    color: var(--color-primary);
}

.footer__copy {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* ---- Responsive ---- */
@media (max-width: 968px) {
    .about__grid,
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about__image-stack {
        height: 360px;
    }

    .gallery__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .gallery__item--large {
        grid-row: span 1;
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav__links {
        display: none;
    }

    .nav__burger {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .about__features {
        flex-direction: column;
        gap: 16px;
    }

    .menu__grid {
        grid-template-columns: 1fr;
    }

    .gallery__grid {
        grid-template-columns: 1fr;
    }

    .gallery__item--large {
        grid-column: span 1;
    }

    .footer__inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
