/* ============================================
   Bruin Lake Campground — Styles
   Forest green + off-white · Clean minimalist
   ============================================ */

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

:root {
    --green-900: #0B2E13;
    --green-800: #14451F;
    --green-700: #1A5C28;
    --green-600: #227433;
    --green-500: #2D8F42;
    --green-400: #4AAD62;
    --green-100: #D1E8D8;
    --green-50:  #EAF4EC;
    --white:     #FEFEFC;
    --off-white: #F6F8F4;
    --cream:     #EFF3EB;
    --gray-50:   #F9FAF8;
    --gray-100:  #F3F5F0;
    --gray-200:  #E8EBE4;
    --gray-300:  #D1D5CC;
    --gray-400:  #A8AD9F;
    --gray-500:  #7A8070;
    --gray-600:  #5C6254;
    --gray-700:  #3E4338;
    --gray-800:  #2A2E25;
    --gray-900:  #1A1D16;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    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 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    color: var(--gray-900);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 20px;
    color: var(--gray-900);
}

.section-subtitle {
    font-size: 17px;
    color: var(--gray-500);
    max-width: 560px;
    line-height: 1.7;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 254, 252, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.nav.scrolled {
    border-bottom-color: var(--gray-200);
    box-shadow: 0 1px 20px rgba(11, 46, 19, 0.04);
}

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

.nav-brand {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--green-800);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-brand-icon {
    width: 22px;
    height: 22px;
    color: var(--green-700);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--gray-600);
    transition: color 0.25s var(--ease-out);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--green-600);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
    color: var(--green-700);
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--green-700);
    padding: 8px 18px;
    border: 1px solid var(--green-200);
    border-radius: 100px;
    transition: all 0.25s var(--ease-out);
    background: transparent;
}

.nav-cta:hover {
    background: var(--green-50);
    border-color: var(--green-400);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--gray-700);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

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

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

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(254, 254, 252, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    padding: 40px 24px;
    gap: 8px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu-link {
    font-size: 18px;
    font-weight: 300;
    color: var(--gray-700);
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-200);
    transition: color 0.2s;
}

.mobile-menu-link:hover {
    color: var(--green-700);
}

.mobile-menu-cta {
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--green-700);
    font-weight: 400;
    margin-top: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: 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(
        135deg,
        rgba(11, 46, 19, 0.82) 0%,
        rgba(20, 69, 31, 0.72) 50%,
        rgba(11, 46, 19, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 160px;
    width: 100%;
}

.hero-card {
    max-width: 580px;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-100);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 400;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title em {
    font-style: italic;
    color: var(--green-100);
}

.hero-subtitle {
    font-size: 17px;
    font-weight: 300;
    color: rgba(254, 254, 252, 0.78);
    line-height: 1.75;
    max-width: 460px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    padding: 14px 28px;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
}

.btn-primary {
    background: var(--white);
    color: var(--green-800);
    border-color: var(--white);
}

.btn-primary:hover {
    background: var(--green-50);
    border-color: var(--green-100);
    transform: translateY(-1px);
}

.btn-ghost-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(254, 254, 252, 0.35);
}

.btn-ghost-light:hover {
    border-color: var(--white);
    background: rgba(254, 254, 252, 0.08);
}

.btn-dark {
    background: var(--green-800);
    color: var(--white);
    border-color: var(--green-800);
}

.btn-dark:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    transform: translateY(-1px);
}

.btn-light {
    background: var(--white);
    color: var(--green-800);
    border-color: var(--white);
}

.btn-light:hover {
    background: var(--green-50);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 15px;
}

/* --- Floating stat cards --- */
.hero-stats {
    position: absolute;
    bottom: 80px;
    right: 24px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(254, 254, 252, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 22px;
    border-radius: 12px;
    border: 1px solid rgba(254, 254, 252, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    animation: floatCard 6s ease-in-out infinite;
}

.stat-card:nth-child(2) {
    animation-delay: -2s;
}

.stat-card:nth-child(3) {
    animation-delay: -4s;
}

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

.stat-icon {
    color: var(--green-600);
    flex-shrink: 0;
}

.stat-label {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray-700);
    letter-spacing: 0.01em;
}

/* --- Intro --- */
.intro {
    padding: 120px 0;
    background: var(--white);
}

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

.intro-text {
    max-width: 480px;
}

.intro-title {
    font-size: clamp(28px, 3.5vw, 42px);
    margin-bottom: 24px;
}

.intro-text p {
    font-size: 16px;
    color: var(--gray-500);
    margin-bottom: 16px;
    line-height: 1.8;
}

.intro-note {
    font-size: 14px !important;
    color: var(--gray-400) !important;
    font-style: italic;
    margin-top: 24px !important;
}

.intro-image {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.intro-image:hover img {
    transform: scale(1.02);
}

/* --- Section divider --- */
.section-divider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.divider-line {
    width: 100%;
    color: var(--gray-300);
}

/* --- Campsites --- */
.campsites {
    padding: 120px 0;
    background: var(--off-white);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

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

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

.site-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.4s var(--ease-out);
}

.site-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(11, 46, 19, 0.08);
    border-color: var(--green-100);
}

.site-card-image {
    aspect-ratio: 7/5;
    overflow: hidden;
}

.site-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.site-card:hover .site-card-image img {
    transform: scale(1.04);
}

.site-card-body {
    padding: 32px 28px;
}

.site-card-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.site-card-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 20px;
}

.site-card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.site-card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--gray-600);
}

.site-card-features svg {
    color: var(--green-600);
    flex-shrink: 0;
}

.site-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 500;
    color: var(--green-700);
    padding: 10px 0;
    border-bottom: 1px solid var(--green-100);
    transition: all 0.25s var(--ease-out);
}

.site-card-cta:hover {
    color: var(--green-800);
    border-color: var(--green-400);
    gap: 10px;
}

/* --- Amenities --- */
.amenities {
    padding: 120px 0;
    background: var(--white);
}

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

.amenity-card {
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    transition: all 0.4s var(--ease-out);
    background: var(--white);
}

.amenity-card:hover {
    border-color: var(--green-100);
    box-shadow: 0 16px 48px rgba(11, 46, 19, 0.06);
    transform: translateY(-2px);
}

.amenity-icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--green-50);
    color: var(--green-700);
    margin-bottom: 24px;
    transition: background 0.3s;
}

.amenity-card:hover .amenity-icon-wrap {
    background: var(--green-100);
}

.amenity-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--gray-800);
}

.amenity-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.75;
}

/* --- Stay --- */
.stay {
    padding: 120px 0;
    background: var(--off-white);
}

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

.stay-images {
    position: relative;
}

.stay-img-main {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 8/7;
    box-shadow: 0 24px 64px rgba(11, 46, 19, 0.1);
}

.stay-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stay-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: 14px;
    overflow: hidden;
    border: 6px solid var(--off-white);
    box-shadow: 0 16px 48px rgba(11, 46, 19, 0.1);
}

.stay-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.stay-text {
    max-width: 480px;
}

.stay-text p {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 16px;
}

.stay-cta {
    margin-top: 36px;
}

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

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

.location-info {
    max-width: 400px;
}

.location-address {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-style: normal;
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.7;
    margin: 28px 0 20px;
}

.location-address svg {
    color: var(--green-600);
    flex-shrink: 0;
    margin-top: 3px;
}

.location-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 400;
    color: var(--green-700);
    padding: 14px 24px;
    border: 1px solid var(--green-200);
    border-radius: 100px;
    margin-bottom: 24px;
    transition: all 0.25s var(--ease-out);
}

.location-phone:hover {
    background: var(--green-50);
    border-color: var(--green-400);
}

.location-address svg,
.location-phone svg {
    width: 16px;
    height: 16px;
}

.location-note {
    font-size: 14px;
    color: var(--gray-400);
    font-style: italic;
}

.location-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(11, 46, 19, 0.08);
}

/* --- CTA Banner --- */
.cta-banner {
    padding: 120px 0;
    background: var(--green-900);
    text-align: center;
}

.cta-eyebrow {
    color: var(--green-400) !important;
}

.cta-title {
    font-size: clamp(28px, 4vw, 48px);
    color: var(--white);
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 17px;
    color: rgba(254, 254, 252, 0.65);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.75;
}

/* --- Footer --- */
.footer {
    padding: 48px 0;
    background: var(--gray-900);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 16px;
    color: var(--white);
}

.footer-icon {
    width: 20px;
    height: 20px;
    color: var(--green-400);
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    color: var(--green-400);
    transition: color 0.2s;
}

.footer-phone:hover {
    color: var(--green-300);
}

.footer-phone svg {
    width: 14px;
    height: 14px;
}

.footer-address {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--gray-500);
}

.footer-address svg {
    width: 14px;
    height: 14px;
    color: var(--gray-600);
}

.footer-copy {
    width: 100%;
    font-size: 12px;
    color: var(--gray-600);
    margin-top: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* --- Scroll reveal --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal[data-reveal="hidden"] {
    opacity: 0;
    transform: translateY(24px);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .sites-grid,
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        position: relative;
        bottom: auto;
        right: auto;
        flex-direction: row;
        justify-content: center;
        padding: 0 24px 60px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero {
        flex-direction: column;
        justify-content: center;
    }

    .hero-content {
        padding: 140px 24px 80px;
    }

    .intro-layout,
    .stay-layout,
    .location-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .stay-img-secondary {
        right: 0;
        bottom: -24px;
    }
}

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

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(32px, 8vw, 48px);
    }

    .sites-grid,
    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .intro,
    .campsites,
    .amenities,
    .stay,
    .location,
    .cta-banner {
        padding: 80px 0;
    }

    .stay-img-secondary {
        width: 65%;
        right: -16px;
        bottom: -20px;
    }

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

    .footer-contact {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

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

    .stat-card {
        padding: 12px 16px;
    }

    .stat-label {
        font-size: 12px;
    }

    .site-card-body {
        padding: 24px 20px;
    }

    .amenity-card {
        padding: 28px 24px;
    }
}
