/* Custom Styles for Hair Affair Salon */

/* Custom Properties */
:root {
    --midnight-950: #0a0f1a;
    --midnight-900: #0d1525;
    --midnight-800: #111d35;
    --gold-300: #f4e4bc;
    --gold-400: #d4af37;
    --gold-500: #c9a227;
    --mint-300: #a8e6cf;
    --mint-400: #7dd3c0;
    --mint-900: #1a3a3a;
}

/* Font Families */
.font-cinzel {
    font-family: 'Cinzel', serif;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* Custom Animations */
@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

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

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

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

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

::-webkit-scrollbar-track {
    background: var(--midnight-950);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--gold-400), var(--mint-400));
    border-radius: 5px;
}

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

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

/* Navbar Glass Effect */
#navbar {
    backdrop-filter: blur(10px);
    background: rgba(10, 15, 26, 0.8);
}

#navbar.scrolled {
    background: rgba(10, 15, 26, 0.95);
    box-shadow: 0 4px 30px rgba(212, 175, 55, 0.1);
}

/* Gold Gradient Text */
.text-gold-gradient {
    background: linear-gradient(135deg, var(--gold-300), var(--gold-400), var(--gold-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Hover Effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Focus States */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* Button Hover Glow */
button:hover,
a:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* 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);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-cinzel {
        font-size: 1.5rem;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
}

/* Print Styles */
@media print {
    #navbar,
    #contact-form,
    button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
