/* Custom styles for Marriott Hotels & Resorts - Altamonte Springs */

/* Smooth focus styles */
*:focus-visible {
    outline: 2px solid #96222c;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background-color: #fce4e7;
    color: #781d25;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF8F5;
}
::-webkit-scrollbar-thumb {
    background: #f9c3c9;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ec606b;
}

/* Navigation active state */
#nav.scrolled {
    box-shadow: 0 1px 20px rgba(150, 34, 44, 0.08);
}

/* Button hover lift effect */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Image placeholder fallback */
img {
    background: linear-gradient(135deg, #fce4e7 0%, #f9c3c9 100%);
}

/* Subtle gradient border for cards */
.bg-gradient-to-b.from-warm.to-cream {
    background: linear-gradient(180deg, #FAF5F2 0%, #FDF8F5 100%);
}

/* Animation for scroll reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .reveal.visible {
        opacity: 1;
        transform: none;
    }
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.25s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Pool wave animation */
@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Subtle pulse for CTA buttons */
@keyframes softPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(150, 34, 44, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(150, 34, 44, 0); }
}

/* Responsive typography adjustments */
@media (max-width: 640px) {
    h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    h2 {
        font-size: 1.75rem !important;
    }
}

/* Print styles */
@media print {
    #nav, #mobileMenu, .reveal { display: none; }
    body { color: #000; background: #fff; }
    a { color: #96222c; }
}
