/* ============================================
   Mother Earth Father Sky BnB — Styles
   Color Palette: Emerald Green + Cream
   ============================================ */

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

:root {
    --emerald-950: #022c22;
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --cream-50: #faf9f6;
    --cream-100: #f5f3ed;
    --cream-200: #ece8de;
    --cream-300: #e5e0d4;
    --text-dark: #1a1a1a;
    --text-muted: #4a4a4a;
    --text-light: #6b6b6b;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--cream-300);
}

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

.nav-logo {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--cream-50);
    transition: color var(--transition);
}

.nav-logo-sub {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(250, 249, 246, 0.7);
    transition: color var(--transition);
}

.nav.scrolled .nav-logo-text {
    color: var(--emerald-900);
}

.nav.scrolled .nav-logo-sub {
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(250, 249, 246, 0.85);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width var(--transition);
}

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

.nav.scrolled .nav-links a {
    color: var(--text-muted);
}

.nav.scrolled .nav-links a:hover {
    color: var(--emerald-700);
}

/* Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--cream-50);
    transition: var(--transition);
}

.nav.scrolled .nav-toggle span {
    background: var(--emerald-900);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px);
}

/* --- Hero --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    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(
        to bottom,
        rgba(2, 44, 34, 0.45) 0%,
        rgba(6, 78, 59, 0.55) 50%,
        rgba(2, 44, 34, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(250, 249, 246, 0.8);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--cream-50);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(250, 249, 246, 0.85);
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--emerald-700);
    color: var(--cream-50);
    border: 1px solid var(--emerald-700);
}

.btn-primary:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800);
}

.btn-ghost {
    background: transparent;
    color: var(--cream-50);
    border: 1px solid rgba(250, 249, 246, 0.5);
}

.btn-ghost:hover {
    background: rgba(250, 249, 246, 0.1);
    border-color: var(--cream-50);
}

.btn-full {
    width: 100%;
}

/* --- Hero Scroll Indicator --- */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(250, 249, 246, 0.6);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

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

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

/* --- Sections --- */
.section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-eyebrow {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.section-text {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.9;
    max-width: 520px;
}

.section-text:not(:last-child) {
    margin-bottom: 1.25rem;
}

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

.about-image-wrapper {
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-content .section-text {
    max-width: 100%;
}

.about-divider {
    width: 60px;
    height: 1px;
    background: var(--emerald-600);
    margin: 2rem 0;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cream-300);
    border-radius: 50%;
    color: var(--emerald-700);
    flex-shrink: 0;
}

.about-feature span:last-child {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-dark);
}

/* --- Stay --- */
.stay {
    background: var(--cream-100);
}

.stay-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stay-card {
    background: var(--cream-50);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.stay-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.stay-card-image {
    overflow: hidden;
    height: 280px;
}

.stay-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stay-card:hover .stay-card-image img {
    transform: scale(1.05);
}

.stay-card-content {
    padding: 2rem;
}

.stay-card-content h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.stay-card-content p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.8;
}

/* --- Surroundings --- */
.surroundings-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.surroundings-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.surroundings-list {
    list-style: none;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.surroundings-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.list-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--emerald-600);
    line-height: 1;
    min-width: 2.5rem;
}

.surroundings-list strong {
    display: block;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.surroundings-list span {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-light);
}

/* --- Quote Section --- */
.quote-section {
    background: var(--emerald-900);
    padding: 7rem 0;
}

.quote-wrapper {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
    position: relative;
}

.quote-mark {
    color: var(--emerald-500);
    margin-bottom: 1.5rem;
}

.quote-wrapper blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
    color: var(--cream-50);
    margin-bottom: 2rem;
}

.quote-attribution {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(250, 249, 246, 0.6);
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-detail {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cream-300);
    border-radius: 50%;
    color: var(--emerald-700);
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.contact-detail span,
.contact-detail a {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
}

.contact-detail a:hover {
    color: var(--emerald-700);
}

/* --- Form --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.form-group input,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream-100);
    border: 1px solid var(--cream-300);
    padding: 0.9rem 1rem;
    outline: none;
    transition: border-color var(--transition);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--emerald-600);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-success {
    display: none;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--emerald-700);
    padding: 1rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-success.show {
    display: block;
}

/* --- Map --- */
.map-section {
    padding: 0 0 0;
}

.map-wrapper {
    width: 100%;
    height: 400px;
    filter: grayscale(30%);
}

/* --- Footer --- */
.footer {
    background: var(--emerald-950);
    padding: 5rem 0 2rem;
    color: var(--cream-50);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--cream-50);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: rgba(250, 249, 246, 0.5);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(250, 249, 246, 0.7);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--cream-50);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact a {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(250, 249, 246, 0.7);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--cream-50);
}

.footer-bottom {
    border-top: 1px solid rgba(250, 249, 246, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(250, 249, 246, 0.4);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--emerald-950);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--cream-50);
    padding: 0.5rem;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    color: var(--cream-50);
    transition: color var(--transition);
}

.mobile-nav-link:hover {
    color: var(--emerald-400);
}

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

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid,
    .surroundings-layout,
    .contact-grid {
        gap: 3rem;
    }
}

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

    .nav-toggle {
        display: flex;
    }

    .nav-inner {
        padding: 1.25rem 1.5rem;
    }

    .section {
        padding: 5rem 0;
    }

    .about-grid,
    .surroundings-layout,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-wrapper img {
        height: 350px;
    }

    .surroundings-image img {
        height: 400px;
    }

    .stay-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
    }

    .about-features {
        gap: 1rem;
    }
}
