/* Additional custom styles */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure all text has proper contrast */
.hero-gradient h1,
.hero-gradient p,
.hero-gradient a {
    color: inherit;
}

/* Smooth focus states */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .hero-gradient {
        background: #0f766e !important;
        animation: none !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* 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 validation styles */
input:invalid:focus,
textarea:invalid:focus {
    border-color: #ef4444;
}

input:valid:focus,
textarea:valid:focus {
    border-color: #14b8a6;
}

/* Loading state for form */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Better touch targets for mobile */
@media (hover: none) {
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
}
