/* === Custom Animations === */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

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

.animate-float-delayed {
    animation: float-delayed 4s ease-in-out infinite;
    animation-delay: 1s;
}

/* === Scroll Reveal (progressive enhancement) === */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #9d174d;
}

/* === Selection Styling === */
::selection {
    background: #be185d;
    color: white;
}

/* === Service Cards Hover === */
.service-card {
    will-change: transform;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* === Gallery Items Hover === */
.gallery-item {
    cursor: pointer;
}

.gallery-item:hover img {
    filter: brightness(1.05);
}

/* === Navbar Scrolled State === */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(157, 23, 77, 0.1);
}

/* === Button Ripple Effect === */
button, a {
    position: relative;
    overflow: visible;
}

/* === Focus Styles === */
*:focus-visible {
    outline: 2px solid #be185d;
    outline-offset: 2px;
}

/* === Mobile Menu Transition === */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* === Print Styles === */
@media print {
    nav, .cta-banner, #contact-form, iframe {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }
}
