/* Custom Aviation Styles for Windham Aircraft Repair */

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

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

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

/* Aviation-specific custom properties */
:root {
    --aviation-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --aviation-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --aviation-shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Enhanced button styles */
.aviation-btn-primary {
    background: linear-gradient(135deg, #1E40AF, #3B82F6);
    border: none;
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--aviation-transition);
    box-shadow: var(--aviation-shadow);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}

.aviation-btn-primary:hover {
    background: linear-gradient(135deg, #1D4ED8, #2563EB);
    transform: translateY(-2px);
    box-shadow: var(--aviation-shadow-lg);
}

.aviation-btn-secondary {
    background: transparent;
    border: 2px solid #3B82F6;
    color: #1E40AF;
    padding: 10px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--aviation-transition);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}

.aviation-btn-secondary:hover {
    background: #3B82F6;
    color: white;
    transform: translateY(-1px);
}

/* Service cards hover effects */
.service-card {
    transition: var(--aviation-transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--aviation-shadow-lg);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

/* Testimonial animations */
.testimonial-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: backwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

/* Navigation enhancements */
.nav-link {
    position: relative;
    transition: var(--aviation-transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #F97316;
    transition: var(--aviation-transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero section enhancements */
.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-buttons {
    animation: slideInRight 1s ease-out 0.3s;
    animation-fill-mode: backwards;
}

/* Form enhancements */
.form-input {
    transition: var(--aviation-transition);
    border: 2px solid #e5e7eb;
}

.form-input:focus {
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

/* Cookie consent banner specific styles */
.cookie-consent-banner {
    backdrop-filter: blur(10px);
    animation: slideInRight 0.5s ease-out;
    max-height: 400px;
    overflow-y: auto;
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .aviation-btn-primary,
    .aviation-btn-secondary {
        width: 100%;
        justify-content: center;
        margin-bottom: 12px;
    }
    
    .service-card {
        margin-bottom: 24px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #1E40AF;
}

/* Accessibility enhancements */
.focus-visible {
    outline: 2px solid #F97316;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .cookie-consent-banner,
    nav,
    footer {
        display: none !important;
    }
    
    * {
        color: black !important;
        background: white !important;
    }
}