/* Custom Styles for Emmie Nail Bar */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #060d18;
}
::-webkit-scrollbar-thumb {
    background: #2d4a70;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4a6b96;
}

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

.geo-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(54, 182, 105, 0.08) 0%, transparent 70%);
    top: 10%;
    right: -100px;
    border-radius: 50%;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(54, 182, 105, 0.06) 0%, transparent 70%);
    bottom: 20%;
    left: -50px;
    border-radius: 50%;
}

.geo-circle-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(54, 182, 105, 0.05) 0%, transparent 70%);
    top: 50%;
    left: 30%;
    border-radius: 50%;
}

.geo-rect-1 {
    width: 120px;
    height: 120px;
    background: rgba(54, 182, 105, 0.04);
    top: 30%;
    left: 10%;
    border-radius: 24px;
    transform: rotate(45deg);
}

.geo-rect-2 {
    width: 80px;
    height: 80px;
    background: rgba(54, 182, 105, 0.03);
    bottom: 30%;
    right: 15%;
    border-radius: 16px;
    transform: rotate(20deg);
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(54, 182, 105, 0.04);
    top: 60%;
    right: 5%;
    transform: rotate(-15deg);
}

/* Navbar styles */
.nav-link {
    position: relative;
}

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

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

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

.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 100%;
    background: rgba(54, 182, 105, 0.1);
    border-radius: 8px;
    transition: width 0.3s ease;
}

.mobile-nav-link:hover::before {
    width: calc(100% - 16px);
}

/* Active navbar */
.navbar-scrolled {
    background: rgba(6, 13, 24, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(45, 74, 112, 0.3);
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #66d18d, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 13, 24, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

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

.geo-circle-1 {
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    animation: float-reverse 10s ease-in-out infinite;
}

.geo-circle-3 {
    animation: float 12s ease-in-out infinite;
    animation-delay: 2s;
}

.geo-rect-1 {
    animation: float-reverse 9s ease-in-out infinite;
    animation-delay: 1s;
}

.geo-rect-2 {
    animation: float 11s ease-in-out infinite;
    animation-delay: 3s;
}

/* Scroll reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s 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; }
}

/* Reduced motion - ensure content is always visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .geo-shape {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #66d18d;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Button hover effects */
a[href^="tel"]:hover {
    box-shadow: 0 0 30px rgba(54, 182, 105, 0.3);
}

/* Print styles */
@media print {
    .geo-shape,
    .fixed,
    .animate-pulse {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}
