/* =============================================
   AAA Tower Inn and Suites — Custom Styles
   Premium Dark Luxury Theme
   ============================================= */

/* === Base Reset & Typography === */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* === Selection === */
::selection {
    background-color: rgba(201, 168, 76, 0.3);
    color: #F5F0E8;
}

/* === Custom Scrollbar === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0D1B12;
}

::-webkit-scrollbar-thumb {
    background: #2D6A4F;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C9A84C;
}

/* === Smooth Focus === */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #C9A84C;
    outline-offset: 2px;
}

/* === Gold Accent Line Animations === */
@keyframes goldShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.gold-shimmer {
    background: linear-gradient(90deg, #C9A84C 0%, #F5E6A3 50%, #C9A84C 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 4s linear infinite;
}

/* === Scroll Reveal (progressive enhancement) === */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .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; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* === Navbar Scroll State === */
.navbar-scrolled {
    background: rgba(13, 27, 18, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* === Image Hover Effects === */
img {
    max-width: 100%;
    height: auto;
}

/* === Button Ripple Effect === */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* === Mobile Menu Transitions === */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* === Card Hover Lift === */
.card-lift {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* === Gold Border Gradient Animation === */
@keyframes borderGlow {
    0%, 100% { border-color: rgba(201, 168, 76, 0.2); }
    50% { border-color: rgba(201, 168, 76, 0.6); }
}

.gold-border-glow {
    animation: borderGlow 3s ease-in-out infinite;
}

/* === Print Styles === */
@media print {
    body { background: white; color: black; }
    nav, footer, .no-print { display: none; }
}
