/* ============================================
   Full Sail Vacation Rentals — Custom Styles
   ============================================ */

/* Base & Typography */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(27, 67, 50, 0.15);
    color: #1B4332;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F7F5F0;
}
::-webkit-scrollbar-thumb {
    background: #b8d0bc;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8fb894;
}

/* ============================================
   Navbar
   ============================================ */
#navbar {
    background: rgba(247, 245, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(184, 208, 188, 0.3);
}

#navbar.scrolled {
    background: rgba(247, 245, 240, 0.95);
    box-shadow: 0 1px 20px rgba(27, 67, 50, 0.06);
}

/* ============================================
   Hero
   ============================================ */
.hero-tag {
    animation: fadeSlideDown 0.8s ease-out forwards;
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Reveal Animations (below-the-fold only)
   ============================================ */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }
#mobile-menu.open .mobile-link:nth-child(6) { transition-delay: 0.35s; }

/* ============================================
   Hover Effects
   ============================================ */
a {
    text-decoration: none;
}

/* ============================================
   Form Inputs
   ============================================ */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.08);
}

/* ============================================
   Map
   ============================================ */
iframe {
    filter: saturate(0.7) brightness(1.02);
    transition: filter 0.4s ease;
}

iframe:hover {
    filter: saturate(0.85) brightness(1);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.1;
    }
}

/* ============================================
   Reduced Motion
   ============================================ */
@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;
    }
}
