/* Base */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Floating Card Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.floating-card {
    animation: float 4s ease-in-out infinite;
}

.floating-card:nth-child(2) {
    animation-delay: -1.5s;
    animation-duration: 5s;
}

.floating-card:nth-child(3) {
    animation-delay: -2.5s;
    animation-duration: 4.5s;
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal[data-reveal-delay="100ms"] { transition-delay: 100ms; }
.scroll-reveal[data-reveal-delay="200ms"] { transition-delay: 200ms; }
.scroll-reveal[data-reveal-delay="300ms"] { transition-delay: 300ms; }
.scroll-reveal[data-reveal-delay="400ms"] { transition-delay: 400ms; }

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar */
.nav-scrolled {
    background: rgba(250, 248, 245, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.nav-scrolled .nav-link {
    color: #2C2C2C;
}

/* Mobile Menu */
.mobile-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
}

/* Custom Select */
select option {
    background: #fff;
    color: #2C2C2C;
}

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

/* Selection */
::selection {
    background: #f9d5cc;
    color: #2C2C2C;
}

/* Focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* Subtle scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fdf9f3;
}

::-webkit-scrollbar-thumb {
    background: #f3e2c4;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e9cc9e;
}
