/* Custom styles for Bieneman Automotive Equipment */

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

/* Base styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Font styles */
.font-serif {
    font-family: 'Playfair Display', serif;
}

/* Custom gradient for hero section */
.hero-gradient {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 25%, #c9613e 75%, #d67a53 100%);
}

/* Subtle pattern overlay */
.hero-pattern {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%);
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Navigation scroll effect */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile menu animation */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Scroll reveal animations - progressive enhancement */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Service icon styling */
.service-icon {
    background: linear-gradient(135deg, #c9613e 0%, #d67a53 100%);
    box-shadow: 0 4px 15px rgba(201, 97, 62, 0.3);
}

/* Primary button styling */
.btn-primary {
    background: linear-gradient(135deg, #c9613e 0%, #d67a53 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(201, 97, 62, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #a74b31 0%, #c9613e 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 97, 62, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Secondary button styling */
.btn-secondary {
    border: 2px solid #c9613e;
    color: #c9613e;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background: #c9613e;
    color: white;
    transform: translateY(-2px);
}

/* Section divider */
.section-divider {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, #c9613e, #d67a53);
    border-radius: 2px;
}

/* Focus styles for accessibility */
input:focus,
textarea:focus,
button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 97, 62, 0.3);
}

/* Image styling */
img {
    max-width: 100%;
    height: auto;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.2s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-gradient {
        background: linear-gradient(180deg, #1a365d 0%, #2c5282 50%, #c9613e 100%);
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Print styles */
@media print {
    .hero-gradient {
        background: #1a365d !important;
    }
    
    .btn-primary,
    .btn-secondary {
        background: #c9613e !important;
        color: white !important;
    }
}

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