/* Custom styles for Divine Angle Wings Beauty Salon */

:root {
    --forest-50: #f2f7f2;
    --forest-300: #9bbf82;
    --forest-400: #74a059;
    --forest-500: #527f3d;
    --forest-700: #2c4b23;
    --forest-900: #1e3118;
    --forest-950: #0f1a0b;
    --gold-300: #edc96a;
    --gold-400: #e6b033;
    --gold-500: #d4941c;
    --dark-800: #111a11;
    --dark-900: #0a0f0a;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* Selection color */
::selection {
    background-color: rgba(212, 148, 28, 0.3);
    color: #f2f7f2;
}

/* Navbar transition */
#navbar.scrolled {
    background: rgba(10, 15, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 148, 28, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* Service card hover */
.service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(212, 148, 28, 0.08);
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s 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; }
}

/* Gold shimmer on hover for buttons */
button::after,
a::after {
    content: '';
}

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

::-webkit-scrollbar-track {
    background: var(--dark-900);
}

::-webkit-scrollbar-thumb {
    background: var(--forest-700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-500);
}

/* Input autofill styling for dark theme */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #111a11 inset !important;
    -webkit-text-fill-color: #f2f7f2 !important;
    caret-color: #f2f7f2;
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease forwards;
}

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

/* Subtle glow effect for gold elements */
.text-gold-400 {
    text-shadow: 0 0 20px rgba(230, 176, 51, 0.15);
}

/* Image hover overlay */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid rgba(230, 176, 51, 0.6);
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .font-serif {
        line-height: 1.1;
    }
}
