/* ──────────────────────────────────────────
   Grassy Creek Cabins & Storages — Styles
   Classic · Elegant · Forest Green & Off-White
   ────────────────────────────────────────── */

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

:root {
    --forest: #2D5A3D;
    --forest-dark: #1E3F2A;
    --forest-light: #4A8B5C;
    --forest-muted: #E8F0EB;
    --cream: #FAF8F4;
    --cream-dark: #F0EDE6;
    --warm-white: #FFFCF7;
    --charcoal: #2A2A28;
    --charcoal-light: #4A4A46;
    --text: #3A3A36;
    --text-light: #6B6B64;
    --gold: #B8943E;
    --gold-light: #D4AF5C;
    --radius: 4px;
    --radius-lg: 8px;
    --shadow-sm: 0 1px 3px rgba(45, 90, 61, 0.06);
    --shadow-md: 0 4px 16px rgba(45, 90, 61, 0.08);
    --shadow-lg: 0 8px 32px rgba(45, 90, 61, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    color: var(--text);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--charcoal);
}

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

a {
    color: var(--forest);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--forest-light);
}

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

/* ── Typography ── */
.section-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--forest-light);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.8;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--forest);
    color: #fff;
    border-color: var(--forest);
}

.btn-primary:hover {
    background: var(--forest-dark);
    border-color: var(--forest-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--forest);
    border-color: var(--forest);
}

.btn-secondary:hover {
    background: var(--forest);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--forest);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ── Header ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 244, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 90, 61, 0.08);
    transition: all var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--charcoal);
}

.logo-mark {
    color: var(--forest);
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.logo-sub {
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-left: -2px;
}

/* ── Navigation ── */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.main-nav {
    overflow: hidden;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    font-family: 'Lato', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--charcoal-light);
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: all var(--transition);
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--forest);
    background: var(--forest-muted);
}

.nav-cta {
    margin-left: 8px;
    background: var(--forest);
    color: #fff !important;
}

.nav-cta:hover {
    background: var(--forest-dark);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(30, 63, 42, 0.72) 0%,
        rgba(45, 90, 61, 0.60) 50%,
        rgba(30, 63, 42, 0.80) 100%
    );
    z-index: -1;
}

.hero-content {
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 800px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-accent {
    font-style: italic;
    font-weight: 500;
    color: var(--gold-light);
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition);
    animation: float 2.5s ease-in-out infinite;
}

.hero-scroll:hover {
    color: rgba(255, 255, 255, 0.9);
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}

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

/* ── Divider ── */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    color: var(--forest);
    opacity: 0.5;
}

/* ── Cabins Section ── */
.cabins {
    padding: 100px 0;
    background: var(--cream);
}

.cabins .section-header {
    text-align: center;
    margin-bottom: 64px;
}

.cabins .section-subtitle {
    margin: 0 auto;
}

.cabins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.cabin-card {
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid rgba(45, 90, 61, 0.06);
}

.cabin-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.cabin-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

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

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

.cabin-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--forest);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
}

.cabin-card-content {
    padding: 28px;
}

.cabin-card-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.cabin-card-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.cabin-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
}

.cabin-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text);
}

.cabin-features svg {
    color: var(--forest-light);
    flex-shrink: 0;
}

/* ── Storage Section ── */
.storage {
    padding: 100px 0;
    background: var(--forest-muted);
}

.storage-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.storage-content .section-subtitle {
    margin-bottom: 24px;
}

.storage-intro {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 32px;
}

.storage-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}

.storage-benefits li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.storage-benefits svg {
    color: var(--forest);
    flex-shrink: 0;
    margin-top: 2px;
}

.storage-benefits span {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
}

.storage-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.storage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6 / 7;
}

/* ── About Section ── */
.about {
    padding: 100px 0;
    background: var(--cream);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image-group {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 5 / 6;
}

.about-image-secondary {
    position: absolute;
    bottom: -32px;
    right: -24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}

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

.about-content .section-subtitle {
    margin-bottom: 24px;
}

.about-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(45, 90, 61, 0.12);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--forest);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(45, 90, 61, 0.15);
}

/* ── CTA Banner ── */
.cta-banner {
    position: relative;
    padding: 80px 24px;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(30, 63, 42, 0.88) 0%,
        rgba(45, 90, 61, 0.80) 100%
    );
    z-index: -1;
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Contact Section ── */
.contact {
    padding: 100px 0;
    background: var(--warm-white);
}

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

.contact-info .section-subtitle {
    margin-bottom: 32px;
}

.contact-intro {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 36px;
}

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

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail dt {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--charcoal);
    white-space: nowrap;
}

.contact-detail dt svg {
    color: var(--forest);
}

.contact-detail dd {
    margin-top: 4px;
    margin-left: 28px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

.contact-detail a {
    color: var(--text-light);
}

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

/* ── Contact Form ── */
.contact-form-wrap {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(45, 90, 61, 0.06);
}

.form-title {
    font-size: 1.6rem;
    margin-bottom: 28px;
    color: var(--charcoal);
}

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

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

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--charcoal-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--warm-white);
    border: 1.5px solid rgba(45, 90, 61, 0.15);
    border-radius: var(--radius);
    padding: 12px 16px;
    transition: all var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--forest);
    box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.1);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form success */
.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 24px;
    gap: 16px;
}

.form-success svg {
    color: var(--forest);
}

.form-success h4 {
    font-size: 1.5rem;
    color: var(--charcoal);
}

.form-success p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-form.hidden {
    display: none;
}

/* ── Footer ── */
.site-footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-text {
    color: #fff;
}

.footer-brand .logo-sub {
    color: rgba(255, 255, 255, 0.5);
}

.footer-tagline {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color var(--transition);
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--gold-light);
}

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .storage-layout,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image-secondary {
        right: 16px;
        bottom: -24px;
    }
}

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

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
        padding: 100px 32px 32px;
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 1000;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .nav-link {
        padding: 14px 16px;
        font-size: 0.9rem;
    }

    .nav-cta {
        margin-left: 0;
        text-align: center;
        margin-top: 12px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .about-image-secondary {
        display: none;
    }

    .contact-form-wrap {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .cabins,
    .storage,
    .about,
    .contact {
        padding: 64px 0;
    }

    .cabin-card-content {
        padding: 20px;
    }

    .cabin-features {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 48px;
        height: 1px;
    }
}

/* ── Mobile overlay ── */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}
