/* Custom styles for Atlantic Waves Salon */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF9F5;
}
::-webkit-scrollbar-thumb {
    background: #C4613A;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #A85030;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(140, 66, 41, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar-scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-scrolled .nav-brand-text {
    color: #fff !important;
}

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

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

/* Geometric accent animations */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(12deg); }
    50% { transform: translateY(-12px) rotate(12deg); }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-8px) rotate(45deg); }
}

.geometric-float {
    animation: float 6s ease-in-out infinite;
}

.geometric-float-slow {
    animation: float-slow 8s ease-in-out infinite;
}

/* Mobile menu transitions */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobileMenu.open {
    max-height: 400px;
}

/* Card hover effects */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Gallery hover */
.gallery-item img {
    transition: transform 0.5s ease;
}

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

/* Button focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #C4613A;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Input focus styles */
input:focus,
select:focus,
textarea:focus {
    border-color: #C4613A !important;
    box-shadow: 0 0 0 3px rgba(196, 97, 58, 0.2) !important;
}

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

/* Print styles */
@media print {
    nav, #contactForm, .reveal {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
