/* Custom overrides and utilities beyond Tailwind */

/* Ensure hero text is readable on the dark overlay */
#hero h1,
#hero p,
#hero a {
    position: relative;
    z-index: 10;
}

/* Smooth focus visible styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #c49a2a;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: rgba(196, 154, 42, 0.3);
    color: #faf8f2;
}

/* Subtle gradient border on cards */
.room-card {
    background: linear-gradient(135deg, rgba(10, 38, 20, 0.8) 0%, rgba(6, 26, 13, 0.9) 100%);
}

/* Gold accent on section dividers */
.gold-line {
    background: linear-gradient(90deg, transparent 0%, #c49a2a 50%, transparent 100%);
}

/* Nav active state */
.nav-link.active {
    color: #e2c76a;
}
.nav-link.active::after {
    width: 100%;
}

/* Mobile menu animation for hamburger */
#menuBtn.open #bar1 {
    transform: rotate(45deg) translate(5px, 5px);
}
#menuBtn.open #bar2 {
    opacity: 0;
}
#menuBtn.open #bar3 {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.25rem;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .float-slow, .float-medium, .float-fast {
        animation: none !important;
    }
    html {
        scroll-behavior: auto;
    }
}
