/* Additional custom styles */

/* Ensure proper spacing for fixed navbar */
body {
    padding-top: 80px;
}

/* Smooth transitions */
a, button {
    transition: all 0.3s ease;
}

/* Focus styles for accessibility */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid #22c55e;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .fixed, nav, button {
        display: none;
    }
    
    body {
        padding-top: 0;
    }
    
    .hero-split {
        min-height: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid currentColor;
    }
}

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

/* Better touch targets on mobile */
@media (hover: none) and (pointer: coarse) {
    .btn-primary, .btn-secondary, a {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Loading state for form submission */
.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Custom selection color */
::selection {
    background-color: #22c55e;
    color: #0a1a2e;
}

/* Improve image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Ensure proper contrast for all text */
.text-gray-300 {
    color: #d1d5db;
}

.text-gray-400 {
    color: #9ca3af;
}

/* Ensure buttons are always readable */
.btn-primary, .btn-secondary {
    font-weight: 600;
    letter-spacing: 0.025em;
}

/* Better focus visibility */
:focus-visible {
    outline: 3px solid #22c55e;
    outline-offset: 2px;
}

/* Ensure proper stacking */
.hero-image {
    z-index: -1;
}

/* Mobile menu backdrop */
.mobile-menu {
    backdrop-filter: blur(10px);
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}
