/* Custom Styles for Diarra Hair Braiding */

/* Color Variables */
:root {
    --emerald-950: #022c22;
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --cream: #f5f0e8;
    --gold: #c9a84c;
    --gold-light: #d4af61;
}

/* Base Typography */
body {
    font-family: 'Montserrat', sans-serif;
}

.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

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

::-webkit-scrollbar-track {
    background: #022c22;
}

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

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

/* Navigation Active State */
.nav-link.active {
    color: #c9a84c !important;
}

/* Service Card Hover Effects */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px -20px rgba(201, 168, 76, 0.15);
}

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

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

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

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

/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Gold Gradient Text */
.text-gold-gradient {
    background: linear-gradient(135deg, #c9a84c 0%, #d4af61 50%, #c9a84c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Image Hover Zoom */
.gallery-img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-img:hover {
    transform: scale(1.1);
}

/* Input Focus Effects */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.2);
}

/* Button Ripple Effect */
button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

button:active::after {
    opacity: 1;
}

/* Mobile Menu Animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* Smooth Transitions for All Interactive Elements */
a, button, input, textarea, select {
    transition: all 0.3s ease;
}

/* Custom Selection Color */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #f5f0e8;
}
