/* Custom styles that extend Tailwind */

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

/* Ensure all text is readable */
body {
    font-family: 'DM Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero section specific styles */
#hero {
    min-height: 100vh;
}

/* Geometric shapes animation */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.geo-circle, .geo-square {
    animation: float 6s ease-in-out infinite;
}

.geo-square:nth-child(odd) {
    animation-delay: -3s;
    animation-duration: 8s;
}

/* Button focus states for accessibility */
button:focus, a:focus {
    outline: 3px solid #F4A6B6;
    outline-offset: 2px;
}

/* Input focus states */
input:focus, textarea:focus {
    outline: none;
}

/* Print styles */
@media print {
    nav, .mobile-menu, #menuBtn {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        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;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .stay-card:hover {
        transform: none;
    }
    
    .img-zoom:hover {
        transform: none;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .font-display {
        font-size: 1.5rem;
    }
}

/* Large screens */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}
