/* ============================================
   The Schaefer Inn — Custom Styles
   Premium Dark Luxury | Teal + Gold + Slate
   ============================================ */

/* --- Base & Typography --- */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #080d18;
    color: #e2e8f0;
}

::selection {
    background-color: rgba(201, 168, 76, 0.3);
    color: #f8fafc;
}

/* --- Navbar --- */
.nav-scrolled {
    background-color: rgba(8, 13, 24, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* --- Gold Accents --- */
.gold-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #C9A84C, transparent);
}

/* --- Room Cards --- */
.room-card {
    position: relative;
    overflow: hidden;
}

.room-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    border-radius: inherit;
    transition: border-color 0.3s ease;
    pointer-events: none;
}

.room-card:hover::after {
    border-color: rgba(201, 168, 76, 0.3);
}

/* --- Buttons --- */
.btn-gold {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-gold:hover::before {
    opacity: 1;
}

/* --- Image Hover --- */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.img-zoom:hover img {
    transform: scale(1.05);
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

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

::-webkit-scrollbar-track {
    background: #080d18;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}

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

/* --- Input Focus --- */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.2);
}

/* --- Amenity Card Hover --- */
.amenity-card {
    transition: all 0.3s ease;
}

.amenity-card:hover {
    border-color: rgba(201, 168, 76, 0.3) !important;
    transform: translateY(-2px);
}

/* --- Divider --- */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(100, 116, 139, 0.3), transparent);
}

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

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .img-zoom img {
        transition: none;
    }
    
    .img-zoom:hover img {
        transform: none;
    }
}
