/* Custom styles supplementing Tailwind */

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

/* Ensure all text has good contrast */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero section text safety - dark bg, light text already set */
.hero-gradient {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

/* Subtle line dividers */
.thin-line {
    width: 1px;
    background: #e8e7e6;
}

/* Button focus states for accessibility */
.btn-primary:focus,
.btn-outline:focus {
    outline: 2px solid #ff6f4e;
    outline-offset: 2px;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f3f2f1;
}
::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Fade-in animations - progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* Form input styles */
input:focus,
textarea:focus {
    outline: none;
    border-color: #ff6f4e !important;
    box-shadow: 0 0 0 3px rgba(255, 111, 78, 0.1);
}

/* Card hover effects */
.card-hover {
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.card-hover:hover {
    border-bottom-color: #ff6f4e;
    transform: translateY(-2px);
}

/* FAQ toggle animation */
.faq-icon {
    transition: transform 0.2s ease;
}
.faq-toggle[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

/* Navigation shadow on scroll */
nav.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}
