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

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

/* Navbar transition states */
.nav-dark {
    background: rgba(253, 248, 245, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(107, 15, 26, 0.08);
}

.nav-dark .nav-link {
    color: #6B0F1A !important;
}

.nav-dark #nav-logo-text {
    color: #6B0F1A !important;
}

.nav-dark #nav-subtitle {
    color: #c22040 !important;
}

.nav-dark #menu-icon-open,
.nav-dark #menu-icon-close {
    color: #6B0F1A !important;
}

.nav-light #nav-logo-text,
.nav-light .nav-link {
    color: #6B0F1A !important;
}

.nav-light #nav-subtitle {
    color: #db3d5e !important;
}

/* Mobile menu animation */
.mobile-menu-open {
    transform: translateX(0) !important;
}

/* Reveal animations (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* Form focus styles */
input:focus,
textarea:focus {
    border-color: #db3d5e !important;
    box-shadow: 0 0 0 3px rgba(219, 61, 94, 0.1) !important;
}

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

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

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

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

/* Selection color */
::selection {
    background: rgba(107, 15, 26, 0.15);
    color: #6B0F1A;
}
