/* Custom Styles for Premier Body Shop */

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

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

::-webkit-scrollbar-track {
    background: #102a43;
}

::-webkit-scrollbar-thumb {
    background: #d49a2a;
    border-radius: 5px;
}

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

/* Hero Animations */
.hero-eyebrow {
    animation: slideUp 0.8s ease-out forwards;
}

.hero-headline {
    animation: slideUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-subtitle {
    animation: slideUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-cta {
    animation: slideUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

.hero-trust {
    animation: slideUp 0.8s ease-out 0.8s forwards;
    opacity: 0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Animations */
.section-eyebrow {
    animation: fadeIn 0.6s ease-out forwards;
}

.section-title {
    animation: fadeIn 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

.section-subtitle {
    animation: fadeIn 0.6s ease-out 0.4s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Service Cards */
.service-card {
    transform: translateY(0);
    transition: all 0.5s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Gallery Items */
.gallery-item {
    position: relative;
    overflow: hidden;
}

/* Testimonial Cards */
.testimonial-card {
    transform: translateY(0);
    transition: all 0.5s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Scroll Indicator */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Navbar Scroll Effect */
nav.scrolled {
    background: rgba(10, 26, 46, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu */
.mobile-link {
    transition: all 0.3s ease;
}

/* Back to Top Button */
#back-to-top.visible {
    opacity: 1 !important;
    pointer-events: all !important;
}

#back-to-top:hover {
    transform: translateY(-3px);
}

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

/* Print Styles */
@media print {
    nav,
    #back-to-top,
    .scroll-indicator {
        display: none;
    }
}

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

/* Loading States */
button:active {
    transform: scale(0.98);
}

/* Selection Color */
::selection {
    background: #d49a2a;
    color: #102a43;
}
