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

:root {
    --midnight: #0a1628;
    --midnight-light: #132238;
    --midnight-mid: #1a2d47;
    --mint: #34d4a8;
    --mint-light: #5eebc0;
    --mint-dark: #2bb890;
    --cream: #f7f9fb;
    --cream-dark: #eef2f7;
    --white: #ffffff;
    --text-dark: #0a1628;
    --text-mid: #3a4f65;
    --text-light: #6b8299;
    --text-on-dark: #e8f0f7;
    --text-on-dark-muted: #8fa8be;
    --line: rgba(10, 22, 40, 0.08);
    --line-dark: rgba(232, 240, 247, 0.1);
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.06);
    --shadow-md: 0 4px 20px rgba(10, 22, 40, 0.08);
    --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Typography ── */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mint-dark);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-mid);
    max-width: 540px;
    line-height: 1.8;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--mint);
    color: var(--midnight);
}
.btn-primary:hover {
    background: var(--mint-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(52, 212, 168, 0.3);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--midnight);
    border: 1px solid var(--line);
}
.btn-outline:hover {
    border-color: var(--mint);
    color: var(--mint-dark);
}

.btn-full { width: 100%; justify-content: center; }

/* ── Nav ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 24px;
    transition: all 0.35s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.nav.scrolled .logo { color: var(--midnight); }
.nav.scrolled .nav-links a { color: var(--text-mid); }
.nav.scrolled .nav-links a:hover { color: var(--midnight); }

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.01em;
}

.logo svg { color: var(--mint); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.02em;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
    padding: 10px 22px !important;
    background: var(--mint);
    color: var(--midnight) !important;
    border-radius: var(--radius-sm);
    font-weight: 500 !important;
}
.nav-cta:hover { background: var(--mint-light); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: all 0.25s;
}
.nav.scrolled .nav-toggle span { background: var(--midnight); }

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.88) 0%,
        rgba(10, 22, 40, 0.72) 50%,
        rgba(10, 22, 40, 0.55) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-text { max-width: 560px; }

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.0625rem;
    color: var(--text-on-dark-muted);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 460px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Floating stat cards */
.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.3s ease;
}
.stat-card:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(52, 212, 168, 0.3);
    transform: translateX(-4px);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--mint);
    font-weight: 400;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-on-dark-muted);
    line-height: 1.6;
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 1;
}
.hero-scroll svg { opacity: 0.5; animation: float 2s ease-in-out infinite; }

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

/* ── Sections ── */
.section {
    padding: 120px 0;
}

.section:nth-child(even) { background: var(--cream); }

/* ── Rooms ── */
.rooms .container { max-width: 1040px; }

.rooms-header { margin-bottom: 64px; }

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.room-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: all 0.3s ease;
}
.room-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.room-img {
    height: 220px;
    overflow: hidden;
}
.room-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.room-card:hover .room-img img { transform: scale(1.04); }

.room-info {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.room-info h3 {
    font-family: var(--font-serif);
    font-size: 1.3125rem;
    font-weight: 400;
    color: var(--text-dark);
}

.room-info > p {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.7;
}

.room-amenities {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.room-amenities li {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
    background: var(--cream);
    padding: 6px 12px;
    border-radius: 100px;
}

.room-info .btn { margin-top: 4px; align-self: flex-start; }

/* ── About ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
    height: 600px;
}

.about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 80%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 50%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }

.about-text { max-width: 480px; }

.about-text > .section-eyebrow { margin-bottom: 16px; }
.about-text > .section-title { margin-bottom: 28px; }

.about-text > p {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.85;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.about-stat { display: flex; flex-direction: column; gap: 4px; }
.about-stat-num {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--midnight);
    font-weight: 400;
}
.about-stat-label {
    font-size: 0.8125rem;
    color: var(--text-light);
    letter-spacing: 0.02em;
}

/* ── Location ── */
.location .container { max-width: 1040px; }
.location .section-header { margin-bottom: 64px; }

.location-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.location-card {
    padding: 36px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
}
.location-card:hover {
    border-color: var(--mint);
    box-shadow: var(--shadow-md);
}

.location-card svg { color: var(--mint-dark); }

.location-card h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.location-card p {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.7;
}

/* ── Contact ── */
.contact { background: var(--midnight); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-eyebrow { color: var(--mint); margin-bottom: 16px; }
.contact-info .section-title { color: var(--white); margin-bottom: 20px; }
.contact-info > p {
    font-size: 0.9375rem;
    color: var(--text-on-dark-muted);
    line-height: 1.8;
    margin-bottom: 48px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-detail {
    display: flex;
    gap: 16px;
}
.contact-detail svg {
    color: var(--mint);
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-detail strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.contact-detail span,
.contact-detail a {
    font-size: 0.9375rem;
    color: var(--text-on-dark-muted);
    line-height: 1.7;
}
.contact-detail a:hover { color: var(--mint); }

/* Form */
.contact-form-wrap { position: relative; }

.contact-form {
    background: var(--midnight-light);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 32px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-on-dark-muted);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    color: var(--white);
    font-size: 0.9375rem;
    transition: all 0.2s;
    outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-on-dark-muted); opacity: 0.6; }
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--mint);
    background: rgba(52, 212, 168, 0.05);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-on-dark-muted);
    margin-top: 20px;
}
.form-note a { color: var(--mint); }
.form-note a:hover { text-decoration: underline; }

.form-success {
    display: none;
    text-align: center;
    padding: 60px 40px;
    background: var(--midnight-light);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
}
.form-success.active { display: block; }
.form-success svg { color: var(--mint); margin-bottom: 24px; }
.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 12px;
}
.form-success p {
    font-size: 0.9375rem;
    color: var(--text-on-dark-muted);
    line-height: 1.7;
}
.form-success a { color: var(--mint); }

/* ── Footer ── */
.footer {
    background: var(--midnight);
    border-top: 1px solid var(--line-dark);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-on-dark-muted);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--text-on-dark-muted);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--mint); }

.footer-contact p,
.footer-contact a {
    font-size: 0.875rem;
    color: var(--text-on-dark-muted);
    line-height: 1.7;
}
.footer-contact a:hover { color: var(--mint); }

.footer-bottom {
    border-top: 1px solid var(--line-dark);
    padding: 24px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--text-on-dark-muted);
    opacity: 0.6;
}

/* ── Reveal animations (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Mobile menu ── */
@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-links a { color: var(--text-mid) !important; font-size: 1rem; }
    .nav-links a:hover { color: var(--midnight) !important; }
    .nav-cta {
        background: var(--mint) !important;
        color: var(--midnight) !important;
        text-align: center;
        width: 100%;
        display: block;
    }
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        padding: 120px 24px 100px;
    }
    .hero-cards { display: none; }
    
    .rooms-grid { grid-template-columns: 1fr; max-width: 480px; }
    
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-images { height: 400px; }
    
    .location-grid { grid-template-columns: 1fr; }
    
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
    .section { padding: 80px 0; }
    
    .hero h1 { font-size: 2.25rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }
    
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 28px; }
    
    .about-stats { flex-direction: column; gap: 24px; }
}
