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

:root {
    --emerald: #047857;
    --emerald-dark: #065f46;
    --emerald-deeper: #03543f;
    --cream: #FAF6F0;
    --cream-dark: #F0EBE0;
    --warm-gray: #6B6560;
    --warm-gray-light: #9B9590;
    --charcoal: #1C1917;
    --charcoal-light: #2E2A27;
    --white: #FFFFFF;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Nunito Sans', system-ui, sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 3px rgba(28,25,23,0.08);
    --shadow-md: 0 4px 20px rgba(28,25,23,0.10);
    --shadow-lg: 0 8px 40px rgba(28,25,23,0.14);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    background: var(--cream);
    line-height: 1.6;
    -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; }
ul { list-style: none; }

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

/* ── Typography ─────────────────────────────────── */
.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 12px;
    position: relative;
    padding-left: 28px;
}
.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 1.5px;
    background: var(--emerald);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--charcoal);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--warm-gray);
    line-height: 1.7;
    max-width: 560px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-header .section-desc { margin: 0 auto; }

/* ── Buttons ────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-sm { padding: 10px 24px; font-size: 0.85rem; }
.btn-full { width: 100%; }

.btn-cream {
    background: var(--cream);
    color: var(--emerald-dark);
    border: 1.5px solid var(--cream);
}
.btn-cream:hover {
    background: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-emerald {
    background: var(--emerald);
    color: var(--white);
    border: 1.5px solid var(--emerald);
}
.btn-emerald:hover {
    background: var(--emerald-dark);
    border-color: var(--emerald-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: transparent;
    color: var(--cream);
    border: 1.5px solid rgba(250,246,240,0.5);
}
.btn-outline-light:hover {
    background: rgba(250,246,240,0.12);
    border-color: var(--cream);
    transform: translateY(-2px);
}

/* ── Header ─────────────────────────────────────── */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all var(--transition);
}
#main-header.scrolled {
    background: rgba(250,246,240,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(28,25,23,0.08);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
#main-header.scrolled .header-inner { height: 68px; }

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--cream);
    transition: color var(--transition);
}
#main-header.scrolled .logo { color: var(--charcoal); }
.logo-icon { width: 28px; height: 28px; }

#main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}
#main-nav a {
    padding: 8px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(250,246,240,0.85);
    border-radius: 50px;
    transition: all var(--transition);
}
#main-header.scrolled #main-nav a { color: var(--warm-gray); }
#main-nav a:hover { color: var(--cream); background: rgba(255,255,255,0.1); }
#main-header.scrolled #main-nav a:hover { color: var(--charcoal); background: rgba(4,120,87,0.08); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--cream);
    border-radius: 2px;
    transition: all var(--transition);
}
#main-header.scrolled .nav-toggle span { background: var(--charcoal); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero ───────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(28,25,23,0.45) 0%,
        rgba(28,25,23,0.55) 50%,
        rgba(28,25,23,0.75) 100%
    );
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 160px;
    max-width: 720px;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(250,246,240,0.75);
    margin-bottom: 24px;
}
.hero-eyebrow svg { width: 14px; height: 14px; }
.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 500;
    line-height: 1.08;
    color: var(--cream);
    margin-bottom: 24px;
}
.hero-headline em {
    font-style: italic;
    color: #6EE7B7;
}
.hero-sub {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(250,246,240,0.8);
    max-width: 500px;
    margin-bottom: 40px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}
.hero-stats .container { padding-top: 0; }
.stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(28,25,23,0.2);
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(250,246,240,0.1);
    border-bottom: none;
}
.stat-card {
    padding: 28px 24px;
    text-align: center;
    background: rgba(250,246,240,0.07);
    transition: background var(--transition);
}
.stat-card:hover { background: rgba(250,246,240,0.12); }
.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--cream);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(250,246,240,0.6);
}

/* ── Rooms ──────────────────────────────────────── */
.rooms {
    padding: 120px 0;
    background: var(--cream);
}
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.room-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.room-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.room-image {
    overflow: hidden;
    aspect-ratio: 3/2;
}
.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.room-card:hover .room-image img { transform: scale(1.05); }
.room-info {
    padding: 28px;
}
.room-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 10px;
}
.room-desc {
    font-size: 0.92rem;
    color: var(--warm-gray);
    line-height: 1.65;
    margin-bottom: 20px;
}
.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.room-features li {
    font-size: 0.78rem;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 50px;
    background: var(--cream);
    color: var(--warm-gray);
}

/* ── Amenities ──────────────────────────────────── */
.amenities {
    padding: 120px 0;
    background: var(--charcoal);
}
.amenities .section-tag { color: #6EE7B7; }
.amenities .section-tag::before { background: #6EE7B7; }
.amenities .section-title { color: var(--cream); }
.amenities .section-desc { color: rgba(250,246,240,0.6); }

.amenities-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.amenities-image {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 8/9;
}
.amenities-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.amenities-content { padding: 16px 0; }
.amenities-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 48px;
}
.amenity-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.amenity-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(4,120,87,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}
.amenity-icon svg {
    width: 22px;
    height: 22px;
    color: #6EE7B7;
}
.amenity-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 4px;
}
.amenity-item span {
    font-size: 0.9rem;
    color: rgba(250,246,240,0.55);
    line-height: 1.5;
}

/* ── Location ───────────────────────────────────── */
.location {
    padding: 120px 0;
    background: var(--cream-dark);
}
.location-content {
    max-width: 640px;
}
.location-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}
.location-detail {
    display: flex;
    align-items: center;
    gap: 16px;
}
.location-detail svg {
    width: 22px;
    height: 22px;
    color: var(--emerald);
    flex-shrink: 0;
}
.location-detail span {
    font-size: 1rem;
    color: var(--warm-gray);
}

/* ── Gallery ────────────────────────────────────── */
.gallery {
    padding: 120px 0;
    background: var(--cream);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.gallery-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: auto;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(1) img { aspect-ratio: auto; height: 100%; }

/* ── Contact ────────────────────────────────────── */
.contact {
    padding: 120px 0;
    background: var(--white);
}
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.contact-info { padding: 16px 0; }
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 48px;
}
.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-detail svg {
    width: 22px;
    height: 22px;
    color: var(--emerald);
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-detail strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 4px;
}
.contact-detail span,
.contact-detail a {
    font-size: 0.95rem;
    color: var(--warm-gray);
    transition: color var(--transition);
}
.contact-detail a:hover { color: var(--emerald); }

.contact-form-wrapper {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--warm-gray);
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--charcoal);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald);
    box-shadow: 0 0 0 3px rgba(4,120,87,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--warm-gray-light); }

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    background: rgba(4,120,87,0.08);
    color: var(--emerald-dark);
    font-size: 0.92rem;
    font-weight: 500;
    margin-top: 8px;
}
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ── Footer ─────────────────────────────────────── */
#footer {
    background: var(--charcoal);
    padding: 80px 0 0;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    padding-bottom: 64px;
}
.footer-brand .logo { color: var(--cream); margin-bottom: 20px; }
.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(250,246,240,0.5);
    max-width: 360px;
}
.footer-links { display: flex; gap: 64px; }
.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(250,246,240,0.4);
    margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a,
.footer-col li {
    font-size: 0.92rem;
    color: rgba(250,246,240,0.65);
    transition: color var(--transition);
}
.footer-col a:hover { color: #6EE7B7; }

.footer-bottom {
    border-top: 1px solid rgba(250,246,240,0.08);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(250,246,240,0.35);
}

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

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
    .rooms-grid { grid-template-columns: repeat(2, 1fr); }
    .amenities-layout { gap: 48px; }
    .contact-layout { gap: 48px; }
    .footer-top { gap: 48px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    #main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--charcoal);
        padding: 100px 32px 40px;
        transition: right var(--transition);
        box-shadow: var(--shadow-lg);
    }
    #main-nav.open { right: 0; }
    #main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    #main-nav a {
        color: rgba(250,246,240,0.75) !important;
        padding: 12px 0;
        font-size: 1rem;
        width: 100%;
    }
    #main-nav a:hover { background: none; color: #6EE7B7 !important; }
    #main-nav .btn-cream { color: var(--emerald-dark) !important; margin-top: 16px; }

    .hero-content { padding-top: 100px; padding-bottom: 140px; }
    .hero-headline { font-size: clamp(2.2rem, 8vw, 3.2rem); }
    .stat-cards { grid-template-columns: repeat(2, 1fr); }
    .stat-card { padding: 20px 16px; }
    .stat-number { font-size: 1.6rem; }

    .rooms { padding: 80px 0; }
    .rooms-grid { grid-template-columns: 1fr; gap: 24px; }

    .amenities { padding: 80px 0; }
    .amenities-layout { grid-template-columns: 1fr; gap: 40px; }
    .amenities-image { aspect-ratio: 4/3; }

    .location { padding: 80px 0; }

    .gallery { padding: 80px 0; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item:nth-child(1) { grid-row: span 1; }
    .gallery-item:nth-child(1) img { aspect-ratio: 5/4; }

    .contact { padding: 80px 0; }
    .contact-layout { grid-template-columns: 1fr; gap: 48px; }
    .contact-form-wrapper { padding: 28px; }
    .form-row { grid-template-columns: 1fr; }

    #footer { padding: 60px 0 0; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .footer-links { gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .stat-cards { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .footer-links { flex-direction: column; gap: 32px; }
}
