/* Custom styles for J. Morgan Salon Services */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #050505;
}
::-webkit-scrollbar-thumb {
    background: #3b0710;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6c142b;
}

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

/* Service card hover lift */
.service-card {
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(59, 7, 16, 0.2);
}

/* Gallery item hover */
.gallery-item {
    height: 200px;
}
@media (min-width: 768px) {
    .gallery-item {
        height: 280px;
    }
}
.gallery-item.col-span-2.row-span-2 {
    height: 420px;
}
@media (min-width: 1024px) {
    .gallery-item.col-span-2.row-span-2 {
        height: 100%;
        min-height: 560px;
    }
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(5, 5, 5, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

/* Mobile menu animation */
.mobile-menu.active {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Mobile menu lines animation */
.mobile-menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-open .menu-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 6rem;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .service-card,
    .gallery-item img,
    .service-card,
    a,
    button {
        transition: none;
    }
    .service-card:hover {
        transform: none;
    }
    .gallery-item:hover img {
        transform: none;
    }
}

/* Select dropdown styling */
select option {
    background: #0a0a0a;
    color: #d4af37;
}
