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

:root {
    --emerald-50:  #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --cream-50:    #fefdf8;
    --cream-100:   #fefce8;
    --cream-200:   #fef9c3;
    --cream-300:   #fde68a;
    --sand:        #f5f0e8;
    --sand-dark:   #e8e0d0;
    --text-dark:   #1a2e2a;
    --text-mid:    #3d5a52;
    --text-light:  #6b8e84;
    --white:       #ffffff;
    --font-serif:  'DM Serif Display', Georgia, serif;
    --font-sans:   'Outfit', system-ui, sans-serif;
    --radius-sm:   8px;
    --radius-md:   16px;
    --radius-lg:   24px;
    --radius-xl:   32px;
    --shadow-sm:   0 1px 3px rgba(6,78,59,.06), 0 1px 2px rgba(6,78,59,.04);
    --shadow-md:   0 4px 16px rgba(6,78,59,.08), 0 2px 4px rgba(6,78,59,.04);
    --shadow-lg:   0 12px 40px rgba(6,78,59,.10), 0 4px 12px rgba(6,78,59,.05);
    --transition:  0.3s cubic-bezier(.4,0,.2,1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--cream-50);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Typography ─── */
.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 12px;
}
.text-center { text-align: center; }

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

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-sm { padding: 10px 24px; font-size: 0.85rem; }
.btn-lg { padding: 18px 40px; font-size: 1rem; }
.btn-full { width: 100%; }

.btn-primary {
    background: var(--emerald-600);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(5,150,105,.3);
}
.btn-primary:hover {
    background: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5,150,105,.35);
}

.btn-white {
    background: var(--white);
    color: var(--emerald-800);
    box-shadow: var(--shadow-md);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,.15);
    border-color: var(--white);
}

/* ─── Header ─── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
}
.header.scrolled {
    background: rgba(254,253,248,.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(6,78,59,.06);
    padding: 12px 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--white);
    transition: color var(--transition);
}
.header.scrolled .logo { color: var(--emerald-800); }
.logo-icon { color: currentColor; flex-shrink: 0; }

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav a {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255,255,255,.85);
    transition: color var(--transition);
    position: relative;
}
.nav a:not(.btn):hover { color: var(--white); }
.header.scrolled .nav a:not(.btn) { color: var(--text-mid); }
.header.scrolled .nav a:not(.btn):hover { color: var(--emerald-700); }
.nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: currentColor;
    transition: width var(--transition);
}
.nav a:not(.btn):hover::after { width: 100%; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}
.header.scrolled .menu-toggle span { background: var(--emerald-800); }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── Mobile Nav ─── */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(254,253,248,.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-dark);
    transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--emerald-600); }
.mobile-nav .btn { margin-top: 8px; }

/* ─── Hero ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--emerald-700) 0%,
        var(--emerald-600) 25%,
        #0d9488 50%,
        #0891b2 75%,
        var(--emerald-800) 100%
    );
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/11757061/pexels-photo-11757061.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
    opacity: 0.3;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.12); }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6,78,59,.4) 0%,
        rgba(6,78,59,.2) 50%,
        rgba(6,78,59,.6) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 800px;
}
.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
    margin-bottom: 24px;
}
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
}
.hero-title em {
    font-style: italic;
    color: var(--cream-200);
}
.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255,255,255,.8);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 40px;
}
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}
.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.5);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ─── Intro ─── */
.intro {
    padding: 120px 0;
    background: var(--cream-50);
}
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.intro-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.intro-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6/7.5;
}
.intro-text .section-eyebrow { margin-bottom: 16px; }
.intro-text .section-title { margin-bottom: 24px; }
.intro-text p {
    color: var(--text-mid);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}
.intro-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--sand-dark);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--emerald-600);
    line-height: 1;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ─── Cabin Features ─── */
.cabin {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--cream-50) 0%, var(--emerald-50) 100%);
}
.cabin-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}
.cabin-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid rgba(6,78,59,.04);
}
.cabin-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-200);
}
.cabin-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: var(--emerald-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-600);
    margin-bottom: 24px;
    transition: all var(--transition);
}
.cabin-card:hover .cabin-card-icon {
    background: var(--emerald-600);
    color: var(--white);
}
.cabin-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.cabin-card p {
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ─── Experience ─── */
.experience {
    padding: 120px 0;
    background: var(--cream-50);
}
.experience-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 56px;
}
.experience-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.experience-item.reverse { direction: rtl; }
.experience-item.reverse > * { direction: ltr; }
.experience-item img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 380px;
    object-fit: cover;
}
.experience-item-content h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}
.experience-item-content p {
    color: var(--text-mid);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ─── Gallery ─── */
.gallery {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--cream-50) 0%, var(--sand) 100%);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
    margin-top: 56px;
}
.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.4,0,.2,1);
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(6,78,59,.3) 100%);
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(4) { grid-row: span 2; }

/* ─── Location ─── */
.location {
    padding: 120px 0;
    background: var(--cream-50);
}
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.location-desc {
    color: var(--text-mid);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 32px;
}
.location-details { display: flex; flex-direction: column; gap: 20px; }
.location-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.6;
}
.location-detail svg {
    color: var(--emerald-600);
    flex-shrink: 0;
    margin-top: 2px;
}
.location-detail a {
    color: var(--emerald-700);
    transition: color var(--transition);
}
.location-detail a:hover { color: var(--emerald-500); }
.location-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }

/* ─── Contact ─── */
.contact {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-700) 50%, #0d7a6a 100%);
}
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact-text .section-eyebrow { color: var(--emerald-300); }
.contact-text .section-title { color: var(--white); }
.contact-text > p {
    color: rgba(255,255,255,.75);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 32px;
}
.contact-direct {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-direct-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.85);
    font-size: 0.95rem;
    transition: color var(--transition);
}
.contact-direct-item:hover { color: var(--white); }
.contact-direct-item svg { color: var(--emerald-300); }

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--cream-50);
    transition: all var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-400);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(16,185,129,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-note {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 4px;
}
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    gap: 16px;
}
.form-success.show { display: flex; }
.form-success svg { color: var(--emerald-500); }
.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-dark);
}
.form-success p { color: var(--text-mid); line-height: 1.7; }

/* ─── Footer ─── */
.footer {
    background: var(--emerald-900);
    color: rgba(255,255,255,.7);
    padding: 64px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,.6);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; font-size: 0.9rem; }
.footer-contact a {
    color: rgba(255,255,255,.6);
    transition: color var(--transition);
}
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 24px 0;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,.4);
    text-align: center;
}

/* ─── Scroll Animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .cabin-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-auto-rows: 180px; }
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(4) { grid-row: span 1; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .menu-toggle { display: flex; }

    .hero-content { padding: 100px 24px 60px; }
    .hero-actions { flex-direction: column; gap: 12px; }
    .hero-actions .btn { width: 100%; max-width: 280px; }

    .intro-grid,
    .experience-item,
    .experience-item.reverse,
    .location-grid,
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .experience-item.reverse { direction: ltr; }

    .intro { padding: 80px 0; }
    .cabin { padding: 80px 0; }
    .experience { padding: 80px 0; }
    .gallery { padding: 80px 0; }
    .location { padding: 80px 0; }
    .contact { padding: 80px 0; }

    .cabin-grid { grid-template-columns: 1fr; }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 160px;
    }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px; }

    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .intro-stats { gap: 24px; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .intro-stats { flex-direction: column; gap: 20px; }
}
