/* Custom styles for Caribbean Beach Resort */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Geometric decorative elements */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1A1A2E;
}

::-webkit-scrollbar-thumb {
    background: #FF4F3D;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #E63E2E;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 500px;
}

/* Button hover lift effect */
button, a {
    transition: all 0.2s ease;
}

/* Card hover */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

/* Subtle pattern overlay for sections */
.bg-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 79, 61, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible styles */
*:focus-visible {
    outline: 2px solid #FF4F3D;
    outline-offset: 2px;
}

/* Form input focus states */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 79, 61, 0.15);
}
