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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #2d1119;
    color: #f3eaf0;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #2d1119;
}
::-webkit-scrollbar-thumb {
    background: #7a314c;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a84d6e;
}

/* Selection */
::selection {
    background: #fbbf24;
    color: #2d1119;
}

/* Hero Animations */
@keyframes float1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
@keyframes float2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
@keyframes float3 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}
@keyframes float4 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.card-float-1 { animation: float1 4s ease-in-out infinite; }
.card-float-2 { animation: float2 5s ease-in-out infinite 0.5s; }
.card-float-3 { animation: float3 4.5s ease-in-out infinite 1s; }
card-float-4 { animation: float4 5.5s ease-in-out infinite 0.3s; }

/* Hero Reveal */
.hero-reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 0.8s ease forwards;
}
.hero-reveal:nth-child(1) { animation-delay: 0.2s; }
.hero-reveal:nth-child(2) { animation-delay: 0.4s; }
.hero-reveal:nth-child(3) { animation-delay: 0.6s; }
.hero-reveal:nth-child(4) { animation-delay: 0.8s; }
.hero-reveal:nth-child(5) { animation-delay: 1s; }

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

/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
#navbar {
    background: transparent;
}
#navbar.scrolled {
    background: rgba(45, 17, 25, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(122, 49, 76, 0.3);
}

/* Menu Tabs */
.menu-tab {
    border-color: transparent;
    color: #d4a3b8;
    background: transparent;
    cursor: pointer;
}
.menu-tab.active {
    border-color: #fbbf24;
    color: #fbbf24;
}
.menu-tab:hover:not(.active) {
    border-color: #d4a3b8;
    color: #e8cdd9;
}

/* Gallery hover overlay */
.overflow-hidden {
    position: relative;
}
.overflow-hidden::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 17, 25, 0.2), transparent);
    pointer-events: none;
}

/* Input focus for datetime */
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(0.7) sepia(1) saturate(3) hue-rotate(10deg);
    cursor: pointer;
}

/* Mobile menu animation */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Smooth image loading */
img {
    image-rendering: auto;
}

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}
