/* Custom styles for Ikonic Aesthetic Lounge */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: #7f2222;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b83232;
}

/* Selection color */
::selection {
    background: rgba(184, 50, 50, 0.4);
    color: #fff;
}

/* Service cards - initial state for progressive enhancement */
.service-card {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonial cards - initial state */
.testimonial-card {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery items - initial state */
.gallery-item {
    opacity: 1;
}

/* Scroll reveal classes (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; }
}

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

/* Navbar scroll state */
nav.scrolled {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Gold shimmer effect for special text */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

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

.hero-float-1 { animation: float 6s ease-in-out infinite; }
.hero-float-2 { animation: float 6s ease-in-out infinite 1s; }
.hero-float-3 { animation: float 6s ease-in-out infinite 2s; }
.hero-float-4 { animation: float 6s ease-in-out infinite 3s; }

/* Pulse for CTA */
@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(232, 192, 96, 0.3); }
    50% { box-shadow: 0 0 0 15px rgba(232, 192, 96, 0); }
}

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

/* Form input focus styles */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Select dropdown arrow */
select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.25em 1.25em;
}
