/* Custom styles for EB Sales & Service */

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

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

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

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

/* Hero section */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .hero-image {
        min-height: 50vh;
    }
}

/* Typography */
.serif-headline {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Navigation */
.nav-scrolled {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Service cards */
.service-card {
    transition: all 0.3s ease;
}

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

.service-icon {
    transition: transform 0.3s ease;
}

/* Coral button */
.coral-btn {
    background: linear-gradient(135deg, #e85a1a 0%, #d14510 100%);
    transition: all 0.3s ease;
}

.coral-btn:hover {
    background: linear-gradient(135deg, #ff7a2e 0%, #e85a1a 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232, 90, 26, 0.3);
}

/* Text shadow for hero */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

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

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

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Phone link */
.phone-link {
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #ff7a2e;
}

/* Form inputs */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #e85a1a !important;
    box-shadow: 0 0 0 3px rgba(232, 90, 26, 0.1);
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
