/* Custom styles for Spring Branch Hotel */

html {
    scroll-behavior: smooth;
}

/* Ensure smooth transitions for all interactive elements */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}

/* Subtle gradient on the hero section */
.hero-bg {
    position: relative;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(94, 234, 212, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

/* Card hover effects */
.card-hover {
    will-change: transform;
}

/* Image zoom container */
.img-zoom img {
    transform: translateZ(0);
}

/* Nav scroll effect */
.nav-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Mobile menu animation */
.mobile-menu {
    will-change: max-height;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0fdfa;
}
::-webkit-scrollbar-thumb {
    background: #5eead4;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #14b8a6;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .card-hover,
    .img-zoom img,
    .nav-link::after,
    .btn-primary,
    .btn-outline {
        transition: none;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    .mobile-menu {
        transition: none;
    }
}
