/* Custom styles for AcryliX Nail Studio */

:root {
    --coral: #FF6B6B;
    --coral-light: #FF8E8E;
    --charcoal: #1a1a2e;
    --charcoal-deep: #16162a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--charcoal);
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

.font-outfit {
    font-family: 'Outfit', sans-serif;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Reveal animations - progressive enhancement, only active with JS */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal.hidden {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.visible {
        opacity: 1;
        transform: none;
    }
}

/* Mobile menu transitions */
#mobileMenu {
    transform: translateX(100%);
}

#mobileMenu.open {
    transform: translateX(0);
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--coral);
    border-radius: 4px;
}

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

/* Selection color */
::selection {
    background: var(--coral);
    color: var(--charcoal);
}

/* Form select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23FF6B6B' 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 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

/* Geometric shapes animation */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(12deg); }
    50% { transform: translateY(-20px) rotate(12deg); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 107, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 107, 107, 0.6); }
}

/* Nav active state */
nav a:hover,
nav a.active {
    color: var(--coral);
}

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}
