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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

::selection {
    background: rgba(200, 149, 108, 0.3);
    color: #faf6f1;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0d0d0d;
}
::-webkit-scrollbar-thumb {
    background: #2e2e2e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c8956c;
}

/* ===== Navigation ===== */
.nav-fixed {
    background: transparent;
    transition: background 0.5s ease, backdrop-filter 0.5s ease, box-shadow 0.5s ease;
}

.nav-fixed.scrolled {
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(200, 149, 108, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c8956c;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #d4a574 !important;
}

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

.mobile-link {
    position: relative;
}

.menu-line {
    transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

#menu-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

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

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

/* ===== Hero ===== */
.hero-bg {
    transition: transform 8s ease;
}

.hero-bg.active {
    transform: scale(1);
}

/* ===== Scroll Line Animation ===== */
@keyframes scrollLine {
    0% {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
        transform-origin: top;
    }
    51% {
        transform-origin: bottom;
    }
    100% {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

.scroll-line {
    animation: scrollLine 2s ease-in-out infinite;
}

/* ===== Section Eyebrow ===== */
.section-eyebrow {
    position: relative;
    display: inline-block;
}

.section-eyebrow::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 12px;
    height: 1px;
    background: #e07a5f;
}

/* ===== Hero Animations ===== */
.hero-eyebrow {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.8s ease forwards 0.3s;
}

.hero-headline {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards 0.5s;
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s ease forwards 0.7s;
}

.hero-ctas {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s ease forwards 0.9s;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Reveal Animations ===== */
.reveal-header {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-header.visible,
.reveal-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-card:nth-child(2) { transition-delay: 0.1s; }
.reveal-card:nth-child(3) { transition-delay: 0.2s; }
.reveal-card:nth-child(4) { transition-delay: 0.3s; }

/* ===== Form Inputs ===== */
.form-input {
    width: 100%;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(200, 149, 108, 0.1);
    border-radius: 2px;
    color: #faf6f1;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: rgba(237, 228, 213, 0.2);
}

.form-input:focus {
    border-color: rgba(200, 149, 108, 0.4);
    background: rgba(20, 20, 20, 0.8);
    box-shadow: 0 0 0 3px rgba(200, 149, 108, 0.05);
}

/* ===== CTA Buttons ===== */
.cta-primary {
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.cta-primary:hover::before {
    left: 100%;
}

/* ===== Room Card Hover ===== */
.room-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(200, 149, 108, 0);
    border-radius: 2px;
    transition: border-color 0.4s ease;
    pointer-events: none;
}

.room-card:hover::after {
    border-color: rgba(200, 149, 108, 0.2);
}

/* ===== Gold Shimmer Effect ===== */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .section-eyebrow::before {
        display: none;
    }

    .hero-headline {
        font-size: 2.75rem;
    }

    .hero-headline br {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-headline {
        font-size: 4rem;
    }
}

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

/* ===== Print Styles ===== */
@media print {
    .nav-fixed,
    .scroll-line {
        display: none;
    }
}
