/* Custom styles for L G Nails And Spa */

:root {
    --gold-300: #f5d98a;
    --gold-400: #e8c547;
    --gold-500: #d4a017;
    --gold-600: #b8860b;
    --mint-300: #5eead4;
    --mint-400: #2dd4bf;
    --mint-500: #14b8a6;
    --midnight-950: #050a14;
    --midnight-900: #0a1628;
    --midnight-800: #0f2035;
}

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

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

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--midnight-950);
    color: #ffffff;
    overflow-x: hidden;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--gold-400), var(--mint-400));
}

/* Selection */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #ffffff;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(5, 10, 20, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 160, 23, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 160, 23, 0.03), transparent);
    transition: left 0.7s ease;
}

.service-card:hover::before {
    left: 100%;
}

/* Gallery hover */
.gallery-item {
    cursor: pointer;
}

/* Mobile menu animations */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-400);
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* Active nav link */
.nav-link-active {
    color: var(--gold-400) !important;
}

/* 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='rgba(255,255,255,0.4)' 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;
    background-size: 16px;
    padding-right: 40px;
}

/* Animations for scroll reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Shimmer effect on gold accents */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.gold-shimmer {
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300), var(--gold-500));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Pulse animation for CTA buttons */
@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(212, 160, 23, 0); }
}

.cta-pulse:hover {
    animation: pulse-gold 1.5s ease-in-out infinite;
}

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

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

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

    .service-card {
        padding: 1.5rem;
    }

    .gallery-item {
        aspect-ratio: 1 / 1 !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
