/* Additional custom styles */
:root {
    --midnight-deep: #0a0f1e;
    --midnight: #111d35;
    --mint: #2dd4a8;
    --mint-light: #dcfce7;
}

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

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

.text-gray-500 {
    color: #6b7280;
}

.text-gray-600 {
    color: #4b5563;
}

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

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #2dd4a8;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Reduced motion */
@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;
    }
}

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

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Better form styling */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    -webkit-appearance: none;
    appearance: none;
}

/* Custom selection color */
::selection {
    background-color: #2dd4a8;
    color: #0a0f1e;
}

/* Subtle hover states for cards */
.service-card {
    background: linear-gradient(145deg, #111d35 0%, #0d1525 100%);
}

.service-card:hover {
    background: linear-gradient(145deg, #162040 0%, #111d35 100%);
}

/* Improved button focus states */
.btn-primary:focus-visible {
    outline: 3px solid #2dd4a8;
    outline-offset: 2px;
}

/* Ensure map is responsive */
iframe {
    max-width: 100%;
}

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}
