/* Agape Salon Suite 18 — Custom Styles */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #070f18;
}
::-webkit-scrollbar-thumb {
    background: #2e4f6e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4ec49e;
}

/* Hero background */
.hero-bg {
    background-image: url('https://images.pexels.com/photos/13068357/pexels-photo-13068357.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* CTA background */
.cta-bg {
    background-image: url('https://images.pexels.com/photos/7195801/pexels-photo-7195801.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=800');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Service card hover effect */
.service-card {
    transform: translateY(0);
    transition: transform 0.4s ease, border-color 0.4s ease, background-color 0.4s ease;
}
.service-card:hover {
    transform: translateY(-4px);
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(7, 15, 24, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(46, 79, 110, 0.3);
}

/* Mobile menu */
.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Hero animations */
.hero-eyebrow {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}
.hero-headline {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}
.hero-subheadline {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}
.hero-ctas {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .hero-eyebrow,
    .hero-headline,
    .hero-subheadline,
    .hero-ctas {
        animation: none;
        opacity: 1;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    .service-card:hover {
        transform: none;
    }
    img {
        transition: none;
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #4ec49e;
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: rgba(78, 196, 158, 0.3);
    color: #e0f5ec;
}
