/* ========================================
   The Boondocker's Bunkhouse — Styles
   Classic & Elegant | Forest Green + Off-White
======================================== */

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

:root {
    --forest-dark: #1a3a2a;
    --forest: #2D5A3D;
    --forest-medium: #3d7a52;
    --forest-light: #5a9e72;
    --forest-pale: #e8f0ea;
    --cream: #F7F4EE;
    --off-white: #F5F0E8;
    --warm-white: #FAF8F4;
    --sand: #D4C9B8;
    --sand-light: #E8E0D4;
    --charcoal: #2A2A28;
    --text-dark: #1E1E1C;
    --text-medium: #4A4A46;
    --text-light: #6B6B66;
    --gold: #B8944E;
    --gold-light: #D4B878;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Segoe UI', system-ui, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(26, 58, 42, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 58, 42, 0.1);
    --shadow-lg: 0 8px 32px rgba(26, 58, 42, 0.12);
    --shadow-xl: 0 16px 48px rgba(26, 58, 42, 0.15);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--warm-white);
    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 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-dark);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--forest);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-medium);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-lead {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--forest);
    color: var(--off-white);
    border-color: var(--forest);
}

.btn-primary:hover {
    background: var(--forest-dark);
    border-color: var(--forest-dark);
    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: var(--off-white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--off-white);
    border-color: rgba(245, 240, 232, 0.5);
}

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

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

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(250, 248, 244, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--off-white);
    transition: color var(--transition);
}

.navbar.scrolled .nav-logo {
    color: var(--forest-dark);
}

.nav-logo-icon {
    color: var(--gold-light);
}

.navbar.scrolled .nav-logo-icon {
    color: var(--forest);
}

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(245, 240, 232, 0.85);
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold-light);
    transition: width var(--transition);
}

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

.nav-link:hover {
    color: var(--off-white);
}

.navbar.scrolled .nav-link {
    color: var(--text-medium);
}

.navbar.scrolled .nav-link:hover {
    color: var(--forest);
}

.navbar.scrolled .nav-link::after {
    background: var(--forest);
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid rgba(245, 240, 232, 0.3);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    transition: all var(--transition);
}

.nav-phone:hover {
    background: rgba(245, 240, 232, 0.1);
    border-color: rgba(245, 240, 232, 0.6);
}

.navbar.scrolled .nav-phone {
    border-color: var(--forest);
    color: var(--forest);
}

.navbar.scrolled .nav-phone:hover {
    background: var(--forest);
    color: var(--off-white);
}

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

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

.navbar.scrolled .nav-toggle-line {
    background: var(--forest-dark);
}

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

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

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

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--forest-dark);
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(26, 58, 42, 0.55) 0%,
        rgba(26, 58, 42, 0.45) 40%,
        rgba(26, 58, 42, 0.65) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--off-white);
    margin-bottom: 24px;
}

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

.hero-subheadline {
    font-size: 1.1rem;
    color: rgba(245, 240, 232, 0.8);
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto 40px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(245, 240, 232, 0.6);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

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

/* ---------- About ---------- */
.about {
    padding: 100px 0;
    background: var(--warm-white);
}

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

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

.about-image-wrap img {
    width: 100%;
    height: 750px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image-accent {
    position: absolute;
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
    border: 2px solid var(--forest);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.3;
}

.about-content {
    padding: 16px 0;
}

.about-content .section-lead {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--forest);
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-medium);
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 36px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--forest-pale);
    border-radius: var(--radius-md);
    color: var(--forest);
}

.about-feature-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    padding-top: 8px;
}

/* ---------- Stays ---------- */
.stays {
    padding: 100px 0;
    background: var(--off-white);
}

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

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

.stay-card {
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

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

.stay-card-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.stay-card-image {
    overflow: hidden;
}

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

.stay-card-title {
    font-size: 1.375rem;
    margin-bottom: 12px;
}

.stay-card-desc {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 20px;
}

.stay-card-features {
    list-style: none;
    margin-bottom: 24px;
}

.stay-card-features li {
    position: relative;
    padding-left: 20px;
    font-size: 0.875rem;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.stay-card-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--forest);
    border-radius: 50%;
    opacity: 0.6;
}

/* ---------- Experience ---------- */
.experience {
    padding: 100px 0;
    background: var(--forest-dark);
}

.experience .section-eyebrow {
    color: var(--gold-light);
}

.experience .section-title {
    color: var(--off-white);
}

.experience .section-lead {
    color: rgba(245, 240, 232, 0.7);
}

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

.experience-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}

.experience-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.experience-item-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--gold);
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.7;
}

.experience-item-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--off-white);
    margin-bottom: 6px;
}

.experience-item-desc {
    font-size: 0.9375rem;
    color: rgba(245, 240, 232, 0.65);
    line-height: 1.7;
}

.experience-images {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.experience-img--large img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.experience-img--small img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* ---------- Location ---------- */
.location {
    padding: 100px 0;
    background: var(--warm-white);
}

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

.location-content {
    padding: 16px 0;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 36px 0;
}

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

.location-detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--forest-pale);
    border-radius: var(--radius-md);
    color: var(--forest);
}

.location-detail strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.location-detail p,
.location-detail a {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.6;
}

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

.location-map {
    margin-top: 8px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.location-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    min-height: 500px;
}

/* ---------- Quote ---------- */
.quote-section {
    padding: 80px 0;
    background: var(--forest);
}

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

.quote-mark {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    opacity: 0.4;
}

.quote-wrap blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 3vw, 1.625rem);
    font-style: italic;
    font-weight: 400;
    color: var(--off-white);
    line-height: 1.6;
    margin-bottom: 24px;
}

.quote-wrap cite {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    color: var(--gold-light);
    letter-spacing: 0.05em;
}

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

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

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

.contact-method {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--warm-white);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.contact-method:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.contact-method-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--forest-pale);
    border-radius: var(--radius-md);
    color: var(--forest);
}

.contact-method strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-method span {
    font-size: 0.9375rem;
    color: var(--text-medium);
}

/* Form */
.contact-form-wrap {
    background: var(--warm-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form-title {
    font-size: 1.5rem;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--off-white);
    border: 1.5px solid var(--sand-light);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    outline: none;
}

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

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

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

.form-note {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 12px;
    text-align: center;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    color: var(--forest);
    margin-bottom: 16px;
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-success p {
    color: var(--text-medium);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--charcoal);
    padding: 64px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--off-white);
    margin-bottom: 16px;
}

.footer-logo-icon {
    color: var(--gold);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(245, 240, 232, 0.5);
    line-height: 1.7;
    max-width: 300px;
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(245, 240, 232, 0.6);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--off-white);
}

.footer-bottom {
    border-top: 1px solid rgba(245, 240, 232, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(245, 240, 232, 0.4);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

    .about-image-wrap img,
    .location-image-wrap img {
        height: 500px;
    }

    .experience-img--large img {
        height: 450px;
    }

    .stays-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--forest-dark);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: right var(--transition);
        box-shadow: var(--shadow-xl);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        color: rgba(245, 240, 232, 0.85) !important;
        font-size: 1rem;
    }

    .nav-link::after {
        background: var(--gold-light) !important;
    }

    .nav-phone {
        border-color: rgba(245, 240, 232, 0.3) !important;
        color: var(--off-white) !important;
    }

    .hero-headline {
        font-size: clamp(1.75rem, 8vw, 2.75rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

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

    .about-image-accent {
        top: -10px;
        left: -10px;
    }

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

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

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

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

    .about,
    .stays,
    .experience,
    .location,
    .contact {
        padding: 64px 0;
    }

    .hero-content {
        padding: 100px 16px 60px;
    }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-scroll {
        animation: none;
    }
}
