/* ============================================
   Camp Hemlock on Boyd Pond — Stylesheet
   Palette: Burgundy (#7C2D2D) + Blush (#F5E6E0)
   Fonts: Cormorant Garamond + Inter
   ============================================ */

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

:root {
    --burgundy: #7C2D2D;
    --burgundy-deep: #5C1F1F;
    --burgundy-light: #9A3D3D;
    --blush: #F5E6E0;
    --blush-light: #FAF3F0;
    --blush-dark: #E8D5CD;
    --cream: #FDF8F5;
    --charcoal: #1A1A1A;
    --text: #2D2D2D;
    --text-light: #6B6B6B;
    --text-muted: #9A9A9A;
    --white: #FFFFFF;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-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;
    font-size: 16px;
}

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

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.15;
    color: var(--charcoal);
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2.5rem;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1px;
    background: var(--burgundy);
}

.section-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    margin-bottom: 1.5rem;
}

.accent {
    color: var(--burgundy);
    font-style: italic;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    padding: 1rem 2rem;
    border-radius: 100px;
    transition: all 0.4s var(--ease-out);
}

.btn--primary {
    background: var(--burgundy);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--burgundy-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 45, 45, 0.3);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
    background: var(--white);
    color: var(--charcoal);
    border-color: var(--white);
}

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

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.5s var(--ease-out);
}

.nav.scrolled {
    background: rgba(253, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 1px 0 rgba(124, 45, 45, 0.1);
}

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

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

.nav.scrolled .nav-link--cta {
    background: var(--burgundy);
    color: var(--white);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--white);
    transition: color 0.3s;
}

.nav-logo-icon {
    opacity: 0.9;
}

.nav-logo-text {
    transition: color 0.3s;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s;
    position: relative;
}

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

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

.nav-link--cta {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.625rem 1.5rem;
    border-radius: 100px;
    backdrop-filter: blur(10px);
    transition: all 0.3s var(--ease-out);
}

.nav-link--cta:hover {
    background: var(--burgundy);
    color: var(--white);
    transform: translateY(-1px);
}

.nav-link--cta::after {
    display: none;
}

.nav-toggle {
    display: none;
    color: var(--white);
    padding: 0.5rem;
    transition: color 0.3s;
}

.nav.scrolled .nav-toggle {
    color: var(--charcoal);
}

/* --- 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(26, 26, 26, 0.65) 0%,
        rgba(124, 45, 45, 0.3) 50%,
        rgba(26, 26, 26, 0.5) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 0 2rem;
    margin-left: 8%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    color: var(--white);
    font-weight: 300;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title-accent {
    font-style: italic;
    color: var(--blush);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 480px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

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

/* Floating Stat Cards */
.hero-stats {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s var(--ease-out);
    min-width: 180px;
}

.stat-card:hover {
    transform: translateX(-8px);
}

.stat-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--blush);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
    flex-shrink: 0;
}

.stat-card-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--charcoal);
    line-height: 1.2;
}

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

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* --- About --- */
.about {
    padding: 8rem 0;
    background: var(--cream);
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
}

.about-image-accent {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 200px;
    height: 200px;
    background: var(--blush);
    border-radius: 20px;
    z-index: -1;
}

.about-content {
    padding: 2rem 0;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text);
}

.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--blush);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
    flex-shrink: 0;
}

/* --- Experience --- */
.experience {
    padding: 8rem 0;
    background: var(--white);
}

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

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

.experience-card {
    border-radius: 20px;
    overflow: hidden;
    background: var(--cream);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.experience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(124, 45, 45, 0.12);
}

.experience-card-image {
    height: 260px;
    overflow: hidden;
}

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

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

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

.experience-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.experience-card-content p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* --- Gallery --- */
.gallery {
    padding: 8rem 0;
    background: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 1.25rem;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
}

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

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-item--large {
    grid-column: span 5;
    grid-row: span 2;
}

.gallery-item--large img {
    height: 100%;
}

.gallery-item:not(.gallery-item--large):not(.gallery-item--wide) {
    grid-column: span 3;
}

.gallery-item--wide {
    grid-column: span 6;
}

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

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

.location-detail {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--blush-dark);
}

.location-detail:first-child {
    padding-top: 0;
}

.location-detail:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

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

.location-detail strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 0.375rem;
}

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

.location-detail a {
    color: var(--text);
    transition: color 0.3s;
}

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

.location-map {
    margin-top: 2rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    min-height: 600px;
}

/* --- Contact --- */
.contact {
    padding: 8rem 0;
    background: var(--burgundy);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(245, 230, 224, 0.05);
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(245, 230, 224, 0.03);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact .section-label {
    color: var(--blush);
}

.contact .section-label::before {
    background: var(--blush);
}

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

.contact .accent {
    color: var(--blush);
}

.contact-text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-direct {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-direct-item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--white);
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s var(--ease-out);
    backdrop-filter: blur(10px);
}

.contact-direct-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(4px);
}

.contact-direct-item svg {
    color: var(--blush);
}

/* Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.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: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    padding: 0.875rem 1rem;
    border: 1px solid var(--blush-dark);
    border-radius: 12px;
    background: var(--blush-light);
    color: var(--text);
    transition: all 0.3s var(--ease-out);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(124, 45, 45, 0.1);
}

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

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    gap: 1rem;
}

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

.form-success h3 {
    font-size: 1.75rem;
    font-weight: 400;
}

.form-success p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

/* --- Footer --- */
.footer {
    padding: 4rem 0 2rem;
    background: var(--charcoal);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 2rem;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-stats {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        padding: 0 2rem;
        margin-top: 3rem;
    }

    .hero-content {
        margin-left: 0;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .stat-card {
        min-width: auto;
        flex: 1;
    }

    .stat-card:hover {
        transform: none;
    }

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

    .about-image {
        order: -1;
    }

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

    .location-image {
        order: -1;
    }

    .location-image img {
        min-height: 300px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .gallery-item--large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item:not(.gallery-item--large):not(.gallery-item--wide) {
        grid-column: span 1;
    }

    .gallery-item--wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        transition: right 0.5s var(--ease-out);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }

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

    .nav-links .nav-link {
        color: var(--text);
        font-size: 1rem;
    }

    .nav-links .nav-link--cta {
        background: var(--burgundy);
        color: var(--white);
    }

    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .hero {
        min-height: 100vh;
        flex-direction: column;
        justify-content: center;
    }

    .hero-content {
        padding: 0 1.5rem;
        margin-top: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        padding: 0 1.5rem;
    }

    .stat-card {
        min-width: 100%;
    }

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

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

    .gallery-item--large,
    .gallery-item--wide,
    .gallery-item:not(.gallery-item--large):not(.gallery-item--wide) {
        grid-column: span 1;
    }

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

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

    .footer-links {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

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

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

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

/* Mobile overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}
