/* Custom Styles for Aloha Nail */

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

/* Gold line animation */
.gold-line {
    position: relative;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #c5a059, #d4af72);
    animation: expandLine 1s ease-out forwards;
}

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 60px;
    }
}

/* Service card hover effect */
.service-card {
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Gallery hover effect */
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 17, 32, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(10, 17, 32, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Testimonial card hover */
.testimonial-card {
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 160, 89, 0.3);
}

/* Custom selection color */
::selection {
    background: rgba(197, 160, 89, 0.3);
    color: #fff;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card,
    .gallery-item,
    .testimonial-card {
        transition: none;
    }
    
    .gold-line {
        animation: none;
        width: 60px;
    }
}

/* Mobile menu transition */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.2);
}

/* Button hover glow */
button:hover {
    box-shadow: 0 4px 20px rgba(197, 160, 89, 0.3);
}
