/* Custom styles for Pitts Solutions LLC */

/* Skip navigation link - visible on focus, hidden by default */
.sr-only-focusable {
    position: absolute;
    z-index: 1000;
    
    /* Hidden by default - positioned off-screen */
    left: -9999px;
    top: auto;
    
    /* When focused, move into view */
    transition: all 0.2s ease;
}

.sr-only-focusable:focus {
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    padding: 12px 20px;
    margin: 0;
    background-color: #0f172a;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    outline: none;
}

body {
    /* Subtle noise texture */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Ffilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-color: #f8fafc; /* slate-50 */
    opacity: 0.98;
}

/* Multi-layered drop shadows for cards */
.premium-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 
        0 1px 3px rgba(0,0,0,0.1),
        0 10px 15px -3px rgba(0,0,0,0.05),
        0 4px 6px -2px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.premium-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 4px 6px rgba(0,0,0,0.1),
        0 20px 25px -5px rgba(0,0,0,0.1),
        0 10px 10px -5px rgba(0,0,0,0.04);
}

/* Glow effect for interactive elements */
.btn-glow-blue:hover {
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

.btn-glow-indigo:hover {
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.4);
}

/* Honeypot field - hidden from humans, visible to bots */
.honeypot-field {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    tabindex: -1;
}

/* Form focus styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
    border-color: #2563eb;
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile responsiveness fixes */
@media (max-width: 640px) {
    /* Ensure modals are usable on small screens */
    .fixed.inset-0 .relative {
        max-height: 90vh;
        margin: 0;
    }
    
    /* Prevent horizontal overflow from SVG noise texture */
    html, body {
        overflow-x: hidden;
    }
    
    /* Make service cards touch-friendly */
    .premium-card {
        padding: 1.5rem !important;
    }
    
    /* Make form inputs larger for touch */
    input, textarea, select {
        font-size: 16px !important; /* Prevents iOS zoom on focus */
    }
}