/* ============================================
   ESTRELAS SPA SALON — Custom Styles
   ============================================ */

/* Base Reset & Typography */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #030C17;
    color: #E8EDF5;
}

/* Geometric Background Decorations */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.geo-circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 232, 196, 0.04) 0%, transparent 70%);
    top: 10%;
    right: -10%;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 232, 196, 0.03) 0%, transparent 70%);
    bottom: 20%;
    left: -5%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(124, 232, 196, 0.03);
    top: 40%;
    left: 5%;
    transform: rotate(15deg);
    animation: float-slow 18s ease-in-out infinite;
}

.geo-square-1 {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(124, 232, 196, 0.05);
    top: 60%;
    right: 8%;
    transform: rotate(45deg);
    animation: float-slow 22s ease-in-out infinite reverse;
}

.geo-dots {
    background-image: radial-gradient(circle, rgba(124, 232, 196, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    width: 200px;
    height: 200px;
    top: 25%;
    right: 15%;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

/* Navbar */
.nav-scrolled {
    background: rgba(3, 12, 23, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(124, 232, 196, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #7CE8C4;
    transition: width 0.3s ease;
}

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

/* Mobile Menu */
.mobile-nav-link {
    position: relative;
}

/* Service Cards */
.service-card {
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(124, 232, 196, 0.08);
}

/* Scroll Reveal Animations */
.section-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Gallery Items */
.gallery-item {
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover::after {
    border-color: rgba(124, 232, 196, 0.3);
}

/* Form Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 232, 196, 0.1);
}

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='%237CE8C4' 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;
    padding-right: 2.5rem;
}

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

::-webkit-scrollbar-track {
    background: #030C17;
}

::-webkit-scrollbar-thumb {
    background: #14365E;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1E4A7E;
}

/* Selection */
::selection {
    background: rgba(124, 232, 196, 0.2);
    color: #D8FDF0;
}

/* 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;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .geo-circle-2 {
        width: 200px;
        height: 200px;
    }
    
    .geo-triangle-1 {
        display: none;
    }
    
    .geo-square-1 {
        width: 50px;
        height: 50px;
    }
}
