/* Custom Styles for Sheri's Salon */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
    background: #2a1018;
}

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

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Service Card Hover Effects */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    box-shadow: 0 20px 60px rgba(251, 191, 36, 0.1);
}

/* Navbar Scroll Effect */
.nav-scrolled {
    background: rgba(42, 16, 24, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(168, 77, 107, 0.2);
}

/* Mobile Menu 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: 1.25rem;
}

.mobile-menu-open #mobileMenu {
    opacity: 1;
    pointer-events: all;
}

/* Selection Color */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #faf5f7;
}

/* Focus Styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* Smooth Transitions */
a,
button,
input,
textarea,
select {
    transition: all 0.3s ease;
}

/* Image Loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}

/* Print Styles */
@media print {
    nav,
    .service-card,
    button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
