/* Custom Styles for Alvagail Salon */

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

/* Custom Selection Color */
::selection {
    background-color: #d4af37;
    color: #0a192f;
}

/* Service Card Hover Effect */
.service-card {
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d4af37;
    transition: width 0.4s ease;
}

.service-card:hover::after {
    width: 100%;
}

/* Navbar Scroll Effect */
nav.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 0 rgba(10, 25, 47, 0.1);
}

nav.scrolled .logo {
    color: #0a192f;
}

nav.scrolled a {
    color: #0a192f;
}

/* Mobile Menu Animations */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.4s; }

/* Input Focus States */
input:focus,
select:focus,
textarea:focus {
    border-bottom-color: #d4af37 !important;
}

/* Image Hover Zoom */
.overflow-hidden {
    overflow: hidden;
}

/* Subtle Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-card {
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(2) {
    animation-delay: -2s;
}

.floating-card:nth-child(3) {
    animation-delay: -4s;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .overflow-hidden img,
    .service-card img {
        transition: none;
    }
    
    .overflow-hidden img:hover,
    .service-card img:hover {
        transform: none;
    }
    
    .floating-card {
        animation: none;
    }
}
