/* ===== Custom Animations & Utilities ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-down {
    animation: fadeInDown 0.8s ease-out both;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

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

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

/* ===== Navbar Transition ===== */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(92, 31, 49, 0.08);
}

.navbar-scrolled .nav-text {
    color: #5c1f31 !important;
}

/* ===== Selection Color ===== */
::selection {
    background: #fcd34d;
    color: #5c1f31;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #a13350, #d97706);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #822a43;
}

/* ===== Mobile Menu Animation ===== */
.mobile-menu-open {
    opacity: 1 !important;
    visibility: visible !important;
}

/* ===== Button Focus Styles ===== */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== Input Focus Styles =====
