/* ===== CUSTOM STYLES ===== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hero geometric animations */
@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, -30px) rotate(5deg); }
}

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

@keyframes float-fast {
    0%, 100% { transform: translate(0, 0) rotate(45deg); }
    50% { transform: translate(10px, -20px) rotate(50deg); }
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -20px); }
}

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

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

.shape-circle-1 {
    width: 500px;
    height: 500px;
    border: 2px solid rgba(255, 192, 212, 0.15);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: spin-slow 60s linear infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 148, 180, 0.08);
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
    animation: float-slow 8s ease-in-out infinite;
}

.shape-circle-3 {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255, 208, 212, 0.2);
    border-radius: 50%;
    top: 40%;
    right: 15%;
    animation: float-medium 6s ease-in-out infinite;
}

.shape-rect-1 {
    width: 80px;
    height: 80px;
    background: rgba(255, 192, 212, 0.06);
    top: 25%;
    left: 8%;
    animation: float-fast 7s ease-in-out infinite;
}

.shape-rect-2 {
    width: 50px;
    height: 50px;
    background: rgba(255, 148, 180, 0.1);
    bottom: 20%;
    right: 35%;
    animation: float-medium 5s ease-in-out infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(255, 192, 212, 0.08);
    top: 60%;
    left: 2%;
    animation: float-slow 9s ease-in-out infinite;
}

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

.animate-marquee {
    animation: marquee 30s linear infinite;
}

/* Scroll reveal base — content always visible */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Scroll reveal via JS progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .scroll-reveal:not(.revealed) {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Mobile menu */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(255, 253, 249, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(123, 45, 59, 0.08);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FFFDF9;
}
::-webkit-scrollbar-thumb {
    background: #d94064;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7B2D3B;
}

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