/* ===== CUSTOM STYLES ===== */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1c2128;
}
::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff6b35;
}

/* Selection color */
::selection {
    background: rgba(255, 107, 53, 0.3);
    color: #fff;
}

/* ===== NAVBAR SCROLL EFFECT ===== */
#navbar.scrolled {
    background: rgba(17, 20, 24, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===== MOBILE MENU ===== */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* ===== HERO GEOMETRIC ANIMATION ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}
@keyframes floatReverse {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(20px) rotate(-3deg); }
}

.hero-shape-1 {
    animation: float 6s ease-in-out infinite;
}
.hero-shape-2 {
    animation: floatReverse 8s ease-in-out infinite;
}
.hero-shape-3 {
    animation: float 7s ease-in-out infinite 1s;
}

/* ===== CORAL GRADIENT BUTTON GLOW ===== */
.btn-coral-glow {
    position: relative;
    overflow: hidden;
}
.btn-coral-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b35, #ff8a52, #ff6b35, #f05018);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.btn-coral-glow:hover::before {
    opacity: 1;
}

/* ===== CARD HOVER EFFECTS ===== */
.lodging-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.lodging-card:hover {
    transform: translateY(-8px);
}

/* ===== IMAGE PARALLAX (subtle) ===== */
.parallax-img {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* ===== DECORATIVE DOTS PATTERN ===== */
.dots-pattern {
    background-image: radial-gradient(circle, rgba(255, 107, 53, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* ===== TEXT GRADIENT ===== */
.text-gradient-coral {
    background: linear-gradient(135deg, #ff8a52, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 640px) {
    .font-playfair {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }
}

/* ===== FOCUS VISIBLE ===== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #ff8a52;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== PREFERS 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;
    }
}
