/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
}

/* Navbar */
#navbar {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(253, 244, 246, 0.9);
}

#navbar.scrolled {
    background: rgba(253, 244, 246, 0.98);
    box-shadow: 0 1px 20px rgba(132, 23, 46, 0.08);
}

/* Mobile Menu */
#nav-links.active {
    display: flex;
}

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

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

#marquee {
    animation: marquee 25s linear infinite;
}

#marquee:hover {
    animation-play-state: paused;
}

/* Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal[data-reveal-delay="1"] {
    transition-delay: 0.1s;
}

.reveal[data-reveal-delay="2"] {
    transition-delay: 0.2s;
}

.reveal[data-reveal-delay="3"] {
    transition-delay: 0.3s;
}

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

/* Geometric Decorations */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

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

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

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

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

/* Selection */
::selection {
    background: #ffd14f;
    color: #3d0712;
}

/* Image aspect ratios */
img {
    display: block;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #ffd14f;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
