/* Custom styles for Diva Beauty Salon */

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f1c0f;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4af5a, #c9a227);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e8d5a3;
}

/* Selection */
::selection {
    background: rgba(212, 175, 90, 0.3);
    color: #faf9f6;
}

/* Base styles */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Navbar glass effect */
#navbar.scrolled {
    background: rgba(15, 28, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 90, 0.1);
}

/* Service card shimmer on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 90, 0.05), transparent);
    transition: left 0.5s ease;
}
.service-card {
    position: relative;
    overflow: hidden;
}
.service-card:hover::before {
    left: 100%;
}

/* Gold text gradient animation */
@keyframes goldShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.gold-text {
    background-size: 200% auto;
    animation: goldShimmer 4s ease-in-out infinite;
}

/* Mobile menu link hover */
.mobile-link {
    position: relative;
}
.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #e8d5a3, #c9a227);
    transition: width 0.3s ease;
}
.mobile-link:hover::after {
    width: 100%;
}

/* Form focus states */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 2px rgba(212, 175, 90, 0.2);
}

/* Button press effect */
button[type="submit"], a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 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;
    }
    .service-card:hover {
        transform: none;
    }
    .service-card:hover .service-icon {
        transform: none;
    }
    img {
        transition: none;
    }
}

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