*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture { display: block; max-width: 100%; }

::selection {
    background: #a7f3d0;
    color: #064e3b;
}

/* ─── NAVBAR ─── */
.nav-glass {
    background: rgba(254, 253, 248, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(5, 150, 105, 0.08);
    transition: box-shadow 0.3s ease;
}

.nav-glass.scrolled {
    box-shadow: 0 4px 30px rgba(5, 150, 105, 0.08);
}

.nav-logo { color: #059669; }

.nav-link { position: relative; }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #10b981;
    border-radius: 1px;
    transition: width 0.25s ease;
}

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

.nav-btn { color: #064e3b; }

/* ─── MOBILE MENU ─── */
.mobile-nav-link { transition: color 0.2s ease, transform 0.2s ease; }
.mobile-nav-link:hover { transform: translateY(-2px); }

#mobile-menu.open { opacity: 1 !important; pointer-events: all !important; }

/* ─── BUTTONS ─── */
.btn-primary {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    color: #fff;
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    background: #fff;
    color: #059669;
    border: 2px solid #a7f3d0;
    border-radius: 12px;
    padding: 0.8125rem 1.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: #ecfdf5;
    border-color: #34d399;
    transform: translateY(-2px);
    color: #047857;
}

/* ─── HERO ─── */
.hero-split {
    background: linear-gradient(135deg, #fefdf8 0%, #f0fdf4 50%, #ecfdf5 100%);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: radial-gradient(circle at 2px 2px, #059669 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero-badge {
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(5, 150, 105, 0.15);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
}

.hero-float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.12);
    z-index: 2;
}

.card-float-1 { bottom: 15%; left: -10%; }
.card-float-2 { top: 12%; right: -8%; }

@keyframes float1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.card-float-1 { animation: float1 4s ease-in-out infinite; }
.card-float-2 { animation: float2 5s ease-in-out infinite 0.5s; }

/* ─── WAVE DIVIDER ─── */
.wave-divider {
    position: relative;
    height: 60px;
    margin-top: -60px;
    z-index: 1;
}

.wave-divider svg { width: 100%; height: 100%; display: block; }

/* ─── ABOUT ─── */
.about-images { position: relative; }

.about-img-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(5, 150, 105, 0.12);
}

.about-img-main img, .about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 45%;
    border-radius: 20px;
    overflow: hidden;
    border: 5px solid #ecfdf5;
    box-shadow: 0 15px 40px rgba(5, 150, 105, 0.15);
}

.about-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #a7f3d0, #34d399);
    border-radius: 20px;
    opacity: 0.4;
    z-index: -1;
}

/* ─── MENU CARDS ─── */
.menu-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(5, 150, 105, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(5, 150, 105, 0.12);
}

.menu-card-img {
    overflow: hidden;
    height: 200px;
}

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.menu-card:hover .menu-card-img img { transform: scale(1.05); }

.menu-card-body {
    padding: 1.5rem;
}

.menu-card-cta {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-card-cta-inner {
    text-align: center;
    color: #fff;
    width: 100%;
}

.menu-card-cta .btn-primary {
    background: #fff;
    color: #059669;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.menu-card-cta .btn-primary:hover {
    background: #fefdf8;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: #047857;
}

/* ─── WHY US ─── */
.why-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle at 2px 2px, #fff 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.why-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
}

.why-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: #d1fae5;
}

/* ─── GALLERY ─── */
.gallery-item {
    overflow: hidden;
    cursor: pointer;
}

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

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

/* ─── SCROLL PROGRESS ─── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #059669, #34d399, #6ee7b7);
    z-index: 50;
    width: 0%;
    transition: width 0.1s linear;
}

/* ─── BACK TO TOP ─── */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: #059669;
    color: #fff;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
    z-index: 40;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #047857;
    transform: translateY(-2px);
}

/* ─── REVEAL ANIMATIONS ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }

    html { scroll-behavior: auto; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1023px) {
    .hero-split { min-height: auto; padding-top: 6rem; }
    .card-float-1 { left: 5%; bottom: 8%; }
    .card-float-2 { right: 5%; top: 6%; }
}

@media (max-width: 640px) {
    .hero-split { padding-top: 5rem; }
    .hero-image-wrapper { margin-top: 2rem; }
    .card-float-1, .card-float-2 { display: none; }
    .about-img-secondary { width: 55%; right: -10px; bottom: -20px; }
    .wave-divider { height: 40px; margin-top: -40px; }
    .back-to-top { bottom: 1.25rem; right: 1.25rem; width: 42px; height: 42px; }
}
