/* === Custom Styles for Maura-Kay Beauty Center === */

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

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

::-webkit-scrollbar-track {
    background: #0A1628;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #DDBF6E;
}

/* Selection color */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #F5EDCA;
}

/* Base animations - progressive enhancement, content visible without JS */
@media (prefers-reduced-motion: no-preference) {
    .service-card {
        opacity: 1;
        transform: translateY(0);
    }
    
    .gallery-item {
        opacity: 1;
    }
}

/* Service card hover effects */
.service-card {
    transition: border-color 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(201, 168, 76, 0.08);
}

/* Gallery hover effects */
.gallery-item {
    cursor: pointer;
}

/* Mobile menu transitions */
.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Gold shimmer animation for CTA */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(5, 13, 26, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

/* Subtle pulse for the hero badge */
@keyframes subtle-pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive typography adjustments */
@media (max-width: 640px) {
    .font-serif {
        line-height: 1.15;
    }
}

/* Print styles */
@media print {
    nav, .gallery, #contact iframe {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #C9A84C;
    outline-offset: 2px;
}

/* Loading state for lazy images */
img[loading="lazy"] {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[loading="lazy"][src] {
    opacity: 1;
}

/* Decorative line animation */
@keyframes line-expand {
    from {
        width: 0;
    }
    to {
        width: 3rem;
    }
}
