/* Custom styles for White Lotus Nails & Spa */

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

/* Selection color */
::selection {
    background: rgba(52, 192, 114, 0.3);
    color: #f0f4f8;
}

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

::-webkit-scrollbar-track {
    background: #102a43;
}

::-webkit-scrollbar-thumb {
    background: #34c072;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5ed392;
}

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, #34c072 0%, #249953 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5ed392 0%, #34c072 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(52, 192, 114, 0.5);
}

.btn-outline {
    border: 2px solid #34c072;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline:hover {
    background: #34c072;
    color: #0a1628;
    transform: translateY(-2px);
}

/* Service card hover */
.service-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Gallery hover */
.gallery-img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Lotus divider */
.lotus-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #34c072, transparent);
}

/* Image overlay */
.image-overlay {
    position: relative;
    overflow: hidden;
}

.image-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.6) 0%, transparent 60%);
    pointer-events: none;
}

/* Hero gradient */
.hero-gradient {
    background: linear-gradient(135deg, #0a1628 0%, #102a43 25%, #1a3a5c 50%, #0d4a3a 75%, #0a3d20 100%);
}

/* Focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #34c072 !important;
    box-shadow: 0 0 0 3px rgba(52, 192, 114, 0.1);
}

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

/* Print styles */
@media print {
    nav,
    .mobile-menu,
    #contact-form,
    .animate-bounce {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero-gradient {
        background: #102a43 !important;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .btn-primary {
        border: 2px solid ButtonText;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    #hero {
        min-height: auto;
        padding: 80px 0;
    }
}
