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

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

body {
    overflow-x: hidden;
}

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

/* ========== NAVBAR ========== */
#site-header {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#site-header.scrolled {
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(27, 67, 50, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.25s ease;
}

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

/* Mobile menu */
.mobile-link {
    opacity: 1;
    transform: none;
}

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

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

/* Hamburger animation */
#menu-toggle.open .bar:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}
#menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}
#menu-toggle.open .bar:nth-child(3) {
    width: 1.5rem;
    transform: translateY(-4px) rotate(-45deg);
}

/* ========== HERO GEOMETRIC SHAPES ========== */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 184, 75, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle--2 {
    width: 300px;
    height: 300px;
    background: rgba(155, 184, 142, 0.2);
    bottom: 10%;
    left: 5%;
    animation: float-medium 15s ease-in-out infinite reverse;
}

.geo-circle--3 {
    width: 120px;
    height: 120px;
    background: rgba(224, 122, 95, 0.3);
    top: 30%;
    right: 35%;
    animation: float-fast 10s ease-in-out infinite;
}

.geo-rect {
    position: absolute;
    pointer-events: none;
}

.geo-rect--1 {
    width: 80px;
    height: 80px;
    background: rgba(232, 184, 75, 0.2);
    border-radius: 16px;
    top: 15%;
    left: 8%;
    transform: rotate(25deg);
    animation: spin-slow 25s linear infinite;
}

.geo-rect--2 {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    bottom: 20%;
    right: 15%;
    transform: rotate(-15deg);
    animation: spin-slow 20s linear infinite reverse;
}

.geo-tri {
    position: absolute;
    pointer-events: none;
}

.geo-tri--1 {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(232, 184, 75, 0.15);
    top: 40%;
    left: 3%;
    animation: float-medium 12s ease-in-out infinite;
}

.geo-circle--4 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    bottom: -200px;
    right: -100px;
    animation: float-slow 18s ease-in-out infinite;
}

.geo-circle--5 {
    width: 250px;
    height: 250px;
    background: rgba(232, 184, 75, 0.1);
    top: -80px;
    left: 10%;
    animation: float-medium 14s ease-in-out infinite reverse;
}

.dot-pattern {
    background-image: radial-gradient(rgba(255,255,255,0.3) 1px, transparent 1px);
    background-size: 16px 16px;
    width: 200px;
    height: 200px;
}

/* ========== ANIMATIONS ========== */
@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, -30px) rotate(5deg); }
    66% { transform: translate(-15px, 15px) rotate(-3deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(25px, -20px); }
}

@keyframes float-fast {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 15px) scale(1.1); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========== MARQUEE ========== */
.marquee-track {
    animation: marquee 30s linear infinite;
}

.marquee-item {
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== MENU CARDS ========== */
.menu-card {
    cursor: pointer;
}

/* ========== GALLERY ========== */
.gallery-img {
    cursor: pointer;
    transition: transform 0.4s ease;
}

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

.gallery-img img {
    transition: transform 0.6s ease;
}

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

/* ========== SCROLL REVEAL (progressive enhancement) ========== */
@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; }
}

/* Reduced motion: no animations */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
