/* Premiere Hair and Nail Studio — Custom Styles */

/* Base typography */
html {
    font-family: 'Nunito', system-ui, sans-serif;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Service card hover glow */
.service-card {
    border: 1px solid rgba(161, 36, 62, 0.08);
}

.service-card:hover {
    border-color: rgba(161, 36, 62, 0.15);
}

/* Testimonial card subtle border */
.testimonial-card {
    border: 1px solid rgba(161, 36, 62, 0.06);
}

/* Navbar scroll state */
.nav-scrolled {
    box-shadow: 0 4px 20px rgba(108, 27, 45, 0.08);
}

/* Custom selection color */
::selection {
    background-color: #FCE7EB;
    color: #6C1B2D;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FFFAF7;
}
::-webkit-scrollbar-thumb {
    background: #F5A8B8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D94F6E;
}

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

/* Scroll reveal styles */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
#mobile-menu.open {
    max-height: 500px;
    padding-top: 0.5rem;
    padding-bottom: 1rem;
}

/* Form select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A1243E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}
