/* ============================================
   1450 Lodging — Premium Dark Luxury Styles
   ============================================ */

/* Custom Properties */
:root {
    --charcoal-950: #0a0a0c;
    --charcoal-900: #111115;
    --charcoal-800: #1a1a20;
    --gold-400: #C9A962;
    --gold-500: #B8943E;
    --gold-600: #9A7B2E;
    --coral-400: #F97316;
    --coral-500: #EA620A;
    --coral-600: #C44E04;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--charcoal-950);
    color: #ffffff;
    overflow-x: hidden;
}

.font-playfair {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--charcoal-950);
}
::-webkit-scrollbar-thumb {
    background: var(--charcoal-800);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-500);
}

/* Navbar */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(201, 169, 98, 0.1);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-400), var(--coral-400));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--gold-400);
}

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

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

.menu-line {
    transition: all 0.3s ease;
}

#menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}
#menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 1.25rem;
}

.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 50%, var(--coral-400) 100%);
    color: var(--charcoal-950);
    font-weight: 600;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--coral-400) 0%, var(--gold-400) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.btn-gold span,
.btn-gold svg,
.btn-gold * {
    position: relative;
    z-index: 1;
}

.btn-outline-gold {
    border: 1px solid rgba(201, 169, 98, 0.4);
    color: var(--gold-400);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: rgba(201, 169, 98, 0.1);
    border-color: var(--gold-400);
    box-shadow: 0 0 30px rgba(201, 169, 98, 0.15);
}

/* Floating Cards */
.floating-card {
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.floating-card:nth-child(1) {
    animation-delay: 0s;
}
.floating-card:nth-child(2) {
    animation-delay: -1.5s;
}
.floating-card:nth-child(3) {
    animation-delay: -3s;
}
.floating-card:nth-child(4) {
    animation-delay: -4.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.card-gold {
    background: rgba(201, 169, 98, 0.08);
    border: 1px solid rgba(201, 169, 98, 0.2);
    backdrop-filter: blur(20px);
}

.card-coral {
    background: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.2);
    backdrop-filter: blur(20px);
}

.card-accent {
    background: rgba(249, 115, 22, 0.06);
    border: 1px solid rgba(249, 115, 22, 0.15);
    backdrop-filter: blur(20px);
}

.card-dark {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
}

/* Room Cards */
.room-card {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s ease;
}

.room-card:hover {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(201, 169, 98, 0.2);
}

/* Amenity Items */
.amenity-item {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.amenity-item:hover {
    transform: translateX(4px);
}

/* 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);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .floating-card {
        animation: none;
    }
    
    .room-card,
    .amenity-item {
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    .floating-card {
        display: none;
    }
    
    #hero .lg\\:block {
        display: none !important;
    }
}

/* Focus Styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold-400);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection */
::selection {
    background: rgba(201, 169, 98, 0.3);
    color: #ffffff;
}
