/* ============================================
   Blue Sky Inn — Custom Styles
   Premium Dark Luxury Theme
   Burgundy + Blush + Gold Accents
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --burgundy-deep: #3D0A0A;
    --burgundy-mid: #6C1B1B;
    --burgundy-bright: #A11E1E;
    --blush-soft: #F5D5C8;
    --blush-warm: #D17452;
    --gold-light: #D4A843;
    --gold-mid: #C9A84C;
    --gold-dark: #B8943F;
    --dark-bg: #0A0809;
    --dark-card: #110E10;
    --dark-elevated: #1A1518;
    --soft-white: #F5F0EB;
    --soft-light: #E8E0D8;
    --soft-mid: #B8AFA6;
    --soft-dim: #8A8078;
}

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

body {
    background-color: var(--dark-bg);
    color: var(--soft-light);
}

::selection {
    background-color: rgba(201, 168, 76, 0.3);
    color: var(--soft-white);
}

/* --- Gold Button --- */
.gold-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-mid) 50%, var(--gold-dark) 100%);
    color: var(--dark-bg);
    font-family: 'Raleway', system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

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

.gold-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

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

.gold-btn:active {
    transform: translateY(0);
}

/* --- Navigation --- */
.nav-link {
    position: relative;
}

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

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

.nav-link:hover {
    color: var(--gold-light) !important;
}

/* --- Mobile Menu --- */
.mobile-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #B8AFA6;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--gold-light);
}

#mobile-menu.active {
    opacity: 1 !important;
    pointer-events: all !important;
}

#mobile-menu.active .mobile-link {
    animation: fadeUp 0.4s ease forwards;
    opacity: 0;
}

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

#mobile-menu.active .gold-btn {
    animation: fadeUp 0.4s ease 0.3s forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Navbar States --- */
.navbar-scrolled {
    background: rgba(10, 8, 9, 0.92) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

/* --- Hero Animations --- */
.hero-element {
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-element.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    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; }

/* --- Mobile Toggle --- */
#mobile-toggle.active .nav-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-toggle.active .nav-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

#mobile-toggle.active .nav-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* --- Back to Top --- */
#back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

#back-to-top:hover {
    background: rgba(108, 27, 27, 0.9) !important;
}

/* --- Form Styles --- */
select option {
    background: #110E10;
    color: #E8E0D8;
}

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

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--burgundy-mid), var(--burgundy-deep));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--gold-mid), var(--gold-dark));
}

/* --- Responsive Adjustments --- */
@media (max-width: 767px) {
    .gold-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.7rem;
    }
}

/* --- Focus Visible --- */
:focus-visible {
    outline: 2px solid var(--gold-mid);
    outline-offset: 2px;
}

/* --- Print --- */
@media print {
    body { background: white; color: black; }
    .gold-btn { background: #333; color: white; }
}
