/* Custom styles that complement Tailwind */

:root {
    --midnight-900: #0a1628;
    --midnight-800: #0f2140;
    --midnight-700: #152d56;
    --mint-400: #4ade80;
    --mint-300: #86efac;
}

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

/* Custom font families */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Selection color */
::selection {
    background: rgba(74, 222, 128, 0.3);
    color: #0a1628;
}

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

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Utility animations */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-pulse-slow {
    animation: pulse 3s ease-in-out infinite;
}

/* Print styles */
@media print {
    nav, .cta-section, #contact {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Reduced motion preference */
@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 (prefers-contrast: high) {
    .service-card {
        border-width: 2px;
    }
    
    .nav-link {
        text-decoration: underline;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .service-card:hover {
        transform: none;
        box-shadow: none;
    }
    
    .service-card:hover::before {
        transform: scaleX(0);
    }
}
