/* Custom styles for Sky Harbour Resort - Lakeview */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fafaf9;
}
::-webkit-scrollbar-thumb {
    background: #831443;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9d174d;
}

/* Selection color */
::selection {
    background: #831443;
    color: #fff;
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-hidden {
        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-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(61, 4, 25, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

nav.scrolled .navbar-link {
    color: rgba(255, 255, 255, 0.8) !important;
}

nav.scrolled .navbar-link:hover {
    color: #fbbf24 !important;
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #831443 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Image loading placeholder */
img {
    background-color: #f5f5f4;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* Subtle pulse for CTA buttons */
@keyframes subtle-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(251, 191, 36, 0);
    }
}

a[href^="tel"]:hover,
button[type="submit"]:hover {
    animation: subtle-pulse 2s infinite;
}

/* Form focus styles */
input:focus,
textarea:focus {
    border-color: #f9a8d4 !important;
    box-shadow: 0 0 0 3px rgba(244, 168, 212, 0.2) !important;
}

/* Gallery hover overlay */
.aspect-square:hover img {
    filter: brightness(1.05);
}

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

/* Hero parallax-like effect on scroll */
#hero img {
    will-change: transform;
}

/* Ensure hero is always visible */
#hero {
    min-height: 100vh;
    min-height: 100dvh;
}

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

/* Print styles */
@media print {
    nav, #contact-form, button {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
