/* Custom styles for Glitz & Glamour Salon */

:root {
    --coral-400: #FF8787;
    --coral-500: #FF6B6B;
    --gold-400: #D4A574;
    --charcoal-950: #0a0a0a;
    --charcoal-900: #111111;
    --charcoal-800: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* Gradient text utility */
.text-transparent.bg-clip-bg-gradient {
    -webkit-background-clip: text;
    background-clip: text;
}

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

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

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

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

/* Selection */
::selection {
    background: rgba(255, 107, 107, 0.3);
    color: #fff;
}

/* Navbar transitions */
.nav-scrolled {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 107, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

/* Hamburger animation */
.hamburger-active #menuLine1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-active #menuLine2 {
    opacity: 0;
}

.hamburger-active #menuLine3 {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Service cards */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: inherit;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

/* Testimonial cards */
.testimonial-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.testimonial-card:hover {
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.08);
}

/* Gallery images */
.gallery-img {
    transition: transform 0.7s ease;
}

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

/* Button hover glow */
.btn-glow:hover {
    box-shadow: 0 0 40px rgba(255, 107, 107, 0.3) !important;
}

/* Smooth section transitions */
section {
    position: relative;
}

/* Subtle shimmer animation for decorative elements */
@keyframes shimmer {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* Floating animation for accent elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-anim {
    animation: float 4s ease-in-out infinite;
}

/* Pulse animation for status dot */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* Fade-in for scroll reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }

    .font-serif {
        line-height: 1.1;
    }
}

/* Image aspect ratio utilities */
.aspect-\[3\/4\] {
    aspect-ratio: 3 / 4;
}

.aspect-\[4\/3\] {
    aspect-ratio: 4 / 3;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--coral-400);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Prevent layout shift on images */
img {
    content-visibility: auto;
}
