/* Base & Resets */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

/* Hero Animations */
.hero-subtitle {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.7s ease forwards 0.2s;
}
.hero-title {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.7s ease forwards 0.4s;
}
.hero-desc {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.7s ease forwards 0.6s;
}
.hero-ctas {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.7s ease forwards 0.8s;
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Feature Cards */
.feature-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.2s; }

/* Menu Cards */
.menu-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.menu-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.menu-card:nth-child(2) { transition-delay: 0.1s; }
.menu-card:nth-child(3) { transition-delay: 0.2s; }
.menu-card:nth-child(4) { transition-delay: 0.3s; }

/* About Section */
.about-image-wrapper {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.about-image-wrapper.visible {
    opacity: 1;
    transform: translateX(0);
}
.about-text {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.about-text.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Gallery */
.gallery-item {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.gallery-item.visible {
    opacity: 1;
    transform: scale(1);
}
.gallery-item:nth-child(2) { transition-delay: 0.05s; }
.gallery-item:nth-child(3) { transition-delay: 0.1s; }
.gallery-item:nth-child(4) { transition-delay: 0.15s; }
.gallery-item:nth-child(5) { transition-delay: 0.2s; }
.gallery-item:nth-child(6) { transition-delay: 0.25s; }
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-item img {
    transition: transform 0.4s ease;
}

/* Visit Section */
.visit-info {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.visit-info.visible {
    opacity: 1;
    transform: translateY(0);
}
.visit-map {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease 0.15s, transform 0.6s ease 0.15s;
}
.visit-map.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar scroll */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* Mobile menu */
#mobile-menu.open {
    display: block;
    animation: slideDown 0.25s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .feature-card, .menu-card, .about-image-wrapper, .about-text,
    .gallery-item, .visit-info, .visit-map {
        opacity: 1;
        transform: none;
    }
}
