/* ── Base & Typography ─────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Raleway:wght@300;400;500;600&display=swap');

:root {
    --navy-800: #1a2744;
    --navy-900: #0f1a2e;
    --gold-400: #d4b456;
    --gold-500: #c9a84c;
    --gold-600: #b8943f;
    --cream-50: #faf8f4;
    --cream-100: #f5f0e8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
}

.font-cormorant {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.font-raleway {
    font-family: 'Raleway', sans-serif;
}

/* ── Gold Button ───────────────────────────────────────── */
.gold-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
    color: var(--navy-900);
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.25);
    border: none;
    cursor: pointer;
}

.gold-btn:hover {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.35);
}

.gold-btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
    color: var(--navy-900);
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 12px rgba(201, 168, 76, 0.2);
    border: none;
    cursor: pointer;
}

.gold-btn-small:hover {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

/* ── Outline Button ────────────────────────────────────── */
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: transparent;
    cursor: pointer;
}

.btn-outline:hover {
    border-color: var(--gold-400);
    color: var(--gold-400);
    transform: translateY(-2px);
}

/* ── Gold Divider Inline ───────────────────────────────── */
.gold-divider-inline {
    align-items: center;
}

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

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

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

#navbar.scrolled {
    background: rgba(15, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

#navbar.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

/* ── Hero ──────────────────────────────────────────────── */
.hero-bg {
    will-change: transform;
}

.hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(15, 26, 46, 0.65) 0%,
        rgba(26, 39, 68, 0.5) 50%,
        rgba(15, 26, 46, 0.8) 100%
    );
}

.hero-scroll {
    animation: floatDown 2s ease-in-out infinite;
}

@keyframes floatDown {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    width: 100%;
    height: 12px;
    background: var(--gold-400);
    position: absolute;
    top: -12px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { top: -12px; }
    100% { top: 40px; }
}

/* ── Room Cards ────────────────────────────────────────── */
.room-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(26, 39, 68, 0.06);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(26, 39, 68, 0.12);
}

.room-img-wrap {
    position: relative;
    overflow: hidden;
}

.room-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(250, 248, 244, 1), transparent);
    pointer-events: none;
}

.room-amenity {
    display: inline-block;
    padding: 4px 12px;
    background: var(--cream-100);
    color: var(--navy-800);
    font-family: 'Raleway', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.room-card:hover .room-amenity {
    background: rgba(26, 39, 68, 0.06);
}

/* ── Gallery ───────────────────────────────────────────── */
.gallery-item {
    overflow: hidden;
    border-radius: 6px;
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 39, 68, 0);
    transition: background 0.4s ease;
    border-radius: 6px;
}

.gallery-item:hover::after {
    background: rgba(26, 39, 68, 0.15);
}

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

.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

/* ── Map ───────────────────────────────────────────────── */
.map-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(26, 39, 68, 0.15);
}

.map-img {
    filter: saturate(0.7) contrast(1.05);
}

.map-pin {
    z-index: 2;
}

/* ── Form Inputs ───────────────────────────────────────── */
.form-input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 12px 16px;
    color: white;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-input:focus {
    border-color: var(--gold-400);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-input::-webkit-scrollbar {
    width: 4px;
}

.form-input::-webkit-scrollbar-track {
    background: transparent;
}

/* ── Section Reveal ────────────────────────────────────── */
.section-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ── Hero Animations ───────────────────────────────────── */
.hero-badge {
    animation: fadeUp 0.8s 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-headline {
    animation: fadeUp 0.8s 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-subheadline {
    animation: fadeUp 0.8s 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-ctas {
    animation: fadeUp 0.8s 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

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

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

.mobile-menu-link {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

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

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

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
    .font-cormorant {
        font-size: clamp(2rem, 6vw, 3rem);
    }
}
