/* Custom styles for Edgewater Beach Resort */

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

/* Hero animations */
.hero-subtitle {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.hero-title {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

.hero-desc {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.7s;
}

.hero-cta {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.9s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(5, 46, 22, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

nav.scrolled .mobile-link,
nav.scrolled a:not(.px-8) {
    color: rgba(254, 253, 248, 0.85);
}

/* Mobile menu */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

/* Image aspect ratios */
img {
    max-width: 100%;
    height: auto;
}

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

::-webkit-scrollbar-track {
    background: #fefdf8;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #4ade80;
}

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

/* Selection */
::selection {
    background: #86efac;
    color: #052e16;
}
