/* Custom styles for Blush Beauty Salon */

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

/* Navbar transition */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(30, 58, 95, 0.08);
}

#navbar.scrolled .nav-logo-text {
    color: #1e3a5f !important;
}

#navbar.scrolled .nav-link {
    color: #2e4d5c !important;
}

/* Mobile menu */
.mobile-link {
    display: block;
}

/* Service cards */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #c9a84c, #e74d6f);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

/* Testimonial cards */
.testimonial-card {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(231, 77, 111, 0.1);
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-hidden {
        opacity: 0;
        transform: translateY(30px);
    }

    .reveal-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

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

::-webkit-scrollbar-track {
    background: #fdf2f4;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #c9a84c, #e74d6f);
    border-radius: 4px;
}

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

/* Selection color */
::selection {
    background: #f9c5cf;
    color: #1e3a5f;
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

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

/* Print styles */
@media print {
    #navbar,
    #mobile-menu,
    .gallery-item,
    iframe {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .bg-navy-800,
    .bg-navy-900 {
        background: #1e3a5f !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
