/* Tuscan Sky Salon - Custom Styles */

/* Base styles */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

::-webkit-scrollbar-track {
    background: #0F1114;
}

::-webkit-scrollbar-thumb {
    background: #3A3D42;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C9A84C;
}

/* Selection */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #F5ECBF;
}

/* Focus visible */
:focus-visible {
    outline: 2px solid #C9A84C;
    outline-offset: 2px;
}

/* Mobile menu transitions */
.mobile-menu {
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

/* Nav scroll state */
nav.scrolled {
    background: rgba(15, 17, 20, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Service card hover glow */
.service-card:hover {
    box-shadow: 0 20px 60px rgba(201, 168, 76, 0.1), 0 0 0 1px rgba(201, 168, 76, 0.2);
}

/* Gallery hover overlay */
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 17, 20, 0.4) 0%, transparent 50%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Button ripple effect */
.btn-coral, .btn-gold {
    position: relative;
    overflow: hidden;
}

.btn-coral::before, .btn-gold::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-coral:hover::before, .btn-gold:hover::before {
    width: 300px;
    height: 300px;
}

/* Gold line animation */
.gold-line {
    background: linear-gradient(90deg, transparent, #C9A84C, transparent);
    height: 1px;
}

/* Testimonial card shine */
.bg-charcoal-700\/40:hover {
    background: linear-gradient(135deg, rgba(37, 40, 45, 0.8) 0%, rgba(26, 29, 33, 0.9) 100%);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card,
    .gallery-item img,
    .service-icon,
    .btn-coral,
    .btn-gold {
        transition: none;
    }
    
    .reveal.hidden-reveal {
        opacity: 1;
        transform: none;
    }
}

/* Print styles */
@media print {
    nav, .mobile-menu, #menuBtn, #closeIcon {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero-overlay {
        display: none;
    }
}
