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

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

body {
    overflow-x: hidden;
}

::selection {
    background-color: rgba(123, 45, 59, 0.15);
    color: #5c1f2b;
}

/* ===== Navigation ===== */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-fixed.scrolled {
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(123, 45, 59, 0.08);
}

.nav-link {
    position: relative;
}

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

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

/* Mobile Menu */
.mobile-menu {
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 0;
    background: rgba(250, 250, 248, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
}

.mobile-menu.open {
    max-height: 400px;
}

.mobile-link {
    position: relative;
    display: block;
    padding: 4px 0;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
}

.hero-bg {
    z-index: 0;
}

.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(61, 20, 26, 0.82) 0%,
        rgba(123, 45, 59, 0.65) 50%,
        rgba(185, 37, 72, 0.45) 100%
    );
}

.hero-line {
    z-index: 1;
}

/* Hero Animations */
.hero-eyebrow {
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-title {
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.hero-subtitle {
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.hero-cta {
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s both;
}

.stat-card {
    opacity: 0;
    animation: floatIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.card-1 { animation-delay: 1s; }
.card-2 { animation-delay: 1.2s; }
.card-3 { animation-delay: 1.4s; }
.card-4 { animation-delay: 1.6s; }

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

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Floating animation for stat cards */
.stat-card {
    animation-fill-mode: both;
}

.stat-card.card-1 {
    animation: floatIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) 1s both, gentleFloat 6s ease-in-out 1.7s infinite;
}
.stat-card.card-2 {
    animation: floatIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) 1.2s both, gentleFloat 5s ease-in-out 1.9s infinite;
}
.stat-card.card-3 {
    animation: floatIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) 1.4s both, gentleFloat 7s ease-in-out 2.1s infinite;
}
.stat-card.card-4 {
    animation: floatIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) 1.6s both, gentleFloat 5.5s ease-in-out 2.3s infinite;
}

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

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(253, 246, 243, 0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background-color: #7B2D3B;
    color: #FFF8F5;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #7B2D3B;
}

.btn-primary:hover {
    background-color: #5c1f2b;
    border-color: #5c1f2b;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 45, 59, 0.25);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background-color: transparent;
    color: #FFF8F5;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 100px;
    border: 1px solid rgba(255, 248, 245, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background-color: rgba(255, 248, 245, 0.1);
    border-color: rgba(255, 248, 245, 0.6);
    transform: translateY(-2px);
}

/* ===== Eyebrow ===== */
.eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #b92548;
}

/* ===== Divider ===== */
.divider-line {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(123, 45, 59, 0.15), transparent);
}

/* ===== Input Fields ===== */
.input-field {
    width: 100%;
    padding: 12px 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #5c1f2b;
    background: transparent;
    border: none;
    border-bottom: 1px solid #e8e4dd;
    outline: none;
    transition: border-color 0.3s ease;
    resize: none;
}

.input-field::placeholder {
    color: #c4bfb8;
}

.input-field:focus {
    border-bottom-color: #7B2D3B;
}

/* ===== Tags ===== */
.tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(123, 45, 59, 0.06);
    color: #7B2D3B;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.05em;
    border-radius: 100px;
    transition: all 0.2s ease;
}

.tag:hover {
    background-color: rgba(123, 45, 59, 0.12);
}

/* ===== Room Cards ===== */
.room-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.room-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.room-card:hover {
    transform: translateY(-4px);
}

.room-card.revealed:hover {
    transform: translateY(-4px);
}

/* ===== Amenity Items ===== */
.amenity-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.amenity-item.revealed {
    opacity: 1;
    transform: translateX(0);
}

.amenity-item:hover {
    background: rgba(123, 45, 59, 0.02);
    border-radius: 8px;
    padding-left: 8px;
    padding-right: 8px;
    margin-left: -8px;
    margin-right: -8px;
}

/* ===== Location Cards ===== */
.location-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.location-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

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

/* ===== Success Message ===== */
.success-message {
    transition: opacity 0.4s ease;
}

/* ===== Responsive ===== */
@media (max-width: 1023px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .hero-section {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .stat-card {
        display: none;
    }

    .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;
    }

    .reveal, .room-card, .amenity-item, .location-card {
        opacity: 1;
        transform: none;
    }
}
