/* Additional custom styles */

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

/* Focus styles for accessibility */
a:focus, button:focus {
    outline: 3px solid #f9d0d9;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background-color: #f9d0d9;
    color: #5c1e29;
}

/* Print styles */
@media print {
    nav, .mobile-menu, #mobile-menu-btn {
        display: none;
    }
    
    .geo-shape, .animate-float, .animate-float-reverse, .animate-spin-slow {
        display: none;
    }
    
    body {
        background: white;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-card {
        border: 2px solid #7B2D3B;
    }
    
    .btn-primary, .btn-secondary {
        border: 3px 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;
    }
}

/* Landscape mode on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-gradient {
        min-height: auto;
        padding: 60px 0;
    }
    
    .hero-gradient h1 {
        font-size: 2.5rem;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .feature-card:hover {
        transform: none;
    }
    
    .btn-primary:hover, .btn-secondary:hover {
        transform: none;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
}

/* Large screens */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    
    h1 {
        font-size: 5rem !important;
    }
    
    h2 {
        font-size: 3.5rem !important;
    }
}

/* Dark mode support (if system prefers) */
@media (prefers-color-scheme: dark) {
    /* Keep the design as-is since it's already well-balanced */
    /* The burgundy/blush palette works well in both modes */
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Error states */
.error-state {
    border: 2px solid #ef4444;
    border-radius: 8px;
    padding: 1rem;
    background-color: #fef2f2;
}

/* Success states */
.success-state {
    border: 2px solid #22c55e;
    border-radius: 8px;
    padding: 1rem;
    background-color: #f0fdf4;
}
