/* Emerald Beauty Salon & Spa - Custom Styles */

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9f3;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #e55a27, #c94118);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #c94118, #a32f14);
}

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease;
}
img[loading="lazy"].loaded {
    opacity: 1;
}

/* Selection color */
::selection {
    background: rgba(229, 90, 39, 0.25);
    color: #1a1a1a;
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid #e55a27;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .fixed, nav, #mobileMenu { display: none; }
    body { color: #000; background: #fff; }
}

/* 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; }
}

/* High contrast mode */
@media (forced-colors: active) {
    .btn-primary {
        border: 2px solid ButtonText;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-text-side {
        padding: 3rem 2rem;
    }
}

/* Small mobile */
@media (max-width: 374px) {
    .hero-text-side {
        padding: 2rem 1.25rem;
    }
    .font-serif.text-5xl {
        font-size: 2.5rem;
    }
}
