/* Custom Styles for Fades & Braids */

/* Base Reset & Typography */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #FAFAFA; /* Paper */
    color: #0f172a; /* Navy 900 */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FAFAFA;
}
::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0f172a;
}

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

@keyframes scroll {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Utility Classes for Animations */
.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-scroll {
    animation: scroll 2s linear infinite;
}

/* Reveal Animations (Applied via JS) */
.reveal-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0; /* Start hidden */
}

.reveal-scale {
    animation: scaleIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Service Card Hover Effect */
.service-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Selection Color */
::selection {
    background: #D4AF37;
    color: #0f172a;
}
