/* ============================================
   Camp Kittamaquad — Styles
   Teal + Slate Grey | Clean Minimalist
   ============================================ */

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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #080e1a;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: '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;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--slate-800);
    background-color: var(--slate-50);
    line-height: 1.7;
    font-size: 16px;
}

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

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

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

/* ── Typography ── */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--slate-900);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--slate-500);
    max-width: 560px;
    line-height: 1.75;
}

.section-header--centered {
    text-align: center;
}

.section-header--centered .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

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

.btn--primary {
    background-color: var(--teal-700);
    color: #ffffff;
    border-color: var(--teal-700);
}

.btn--primary:hover {
    background-color: var(--teal-800);
    border-color: var(--teal-800);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.25);
}

.btn--ghost {
    background-color: transparent;
    color: var(--slate-700);
    border-color: var(--slate-300);
}

.btn--ghost:hover {
    border-color: var(--teal-600);
    color: var(--teal-700);
    transform: translateY(-1px);
}

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

/* ── Navigation ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(248, 250, 252, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow 0.3s var(--ease-out);
}

.navbar.scrolled {
    box-shadow: 0 1px 12px rgba(15, 23, 42, 0.06);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--slate-900);
    letter-spacing: -0.01em;
}

.nav-logo-icon {
    color: var(--teal-600);
}

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

.nav-link {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--slate-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-color: var(--teal-600);
    transition: width 0.3s var(--ease-out);
}

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

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

.nav-link--cta {
    background-color: var(--teal-700);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 2px;
    transition: background-color 0.25s var(--ease-out);
}

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

.nav-link--cta:hover {
    background-color: var(--teal-800);
    color: #ffffff;
}

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

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

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

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

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

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background-color: var(--slate-50);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(135deg, var(--teal-50) 0%, var(--slate-100) 100%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--slate-900);
    margin-bottom: 24px;
    letter-spacing: -0.015em;
}

.hero-title--accent {
    font-style: italic;
    font-weight: 300;
    color: var(--teal-700);
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: var(--slate-500);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-number {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--slate-900);
}

.hero-stat-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-400);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--slate-200);
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 7/9;
}

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

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 200px;
    height: 200px;
    border: 1px solid var(--teal-200);
    border-radius: 4px;
    z-index: -1;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-400);
    z-index: 1;
}

/* ── Rooms ── */
.rooms {
    padding: 120px 0;
    background-color: #ffffff;
}

.rooms .section-header {
    margin-bottom: 64px;
}

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

.room-card {
    border-radius: 4px;
    overflow: hidden;
    background-color: var(--slate-50);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
}

.room-card-image {
    overflow: hidden;
    aspect-ratio: 6/4;
}

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

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

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

.room-card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--slate-900);
    margin-bottom: 10px;
}

.room-card-desc {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.room-card-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.room-card-features li {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--teal-700);
    background-color: var(--teal-50);
    padding: 6px 12px;
    border-radius: 2px;
}

.rooms-cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.rooms-cta p {
    font-size: 1rem;
    color: var(--slate-500);
}

/* ── Experience ── */
.experience {
    padding: 120px 0;
    background-color: var(--slate-50);
}

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

.experience-text {
    font-size: 1.0625rem;
    color: var(--slate-600);
    line-height: 1.85;
    margin-bottom: 20px;
}

.experience-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.experience-highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.experience-highlight svg {
    color: var(--teal-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.experience-highlight span {
    font-size: 0.9375rem;
    color: var(--slate-700);
    font-weight: 400;
}

.experience-images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.experience-img-main {
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 6/7.5;
}

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

.experience-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
    aspect-ratio: 4/3;
}

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

/* ── Amenities ── */
.amenities {
    padding: 120px 0;
    background-color: #ffffff;
}

.amenities .section-header {
    margin-bottom: 64px;
}

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

.amenity-card {
    padding: 36px 28px;
    border: 1px solid var(--slate-200);
    border-radius: 4px;
    transition: all 0.3s var(--ease-out);
}

.amenity-card:hover {
    border-color: var(--teal-200);
    background-color: var(--teal-50);
    transform: translateY(-2px);
}

.amenity-icon {
    color: var(--teal-600);
    margin-bottom: 20px;
}

.amenity-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--slate-900);
    margin-bottom: 10px;
}

.amenity-desc {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ── Location ── */
.location {
    padding: 120px 0;
    background-color: var(--slate-50);
}

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

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

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

.location-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.location-detail-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-400);
}

.location-detail-value {
    font-size: 1.0625rem;
    color: var(--slate-800);
    font-weight: 400;
}

.location-detail-link {
    font-size: 1.0625rem;
    color: var(--teal-600);
    font-weight: 500;
    transition: color 0.25s var(--ease-out);
}

.location-detail-link:hover {
    color: var(--teal-700);
    text-decoration: underline;
}

.location-actions {
    margin-top: 8px;
}

.location-map {
    border-radius: 4px;
    overflow: hidden;
    min-height: 400px;
    border: 1px solid var(--slate-200);
}

/* ── Contact ── */
.contact {
    padding: 120px 0;
    background-color: var(--slate-900);
}

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

.contact .section-eyebrow {
    color: var(--teal-400);
}

.contact .section-title {
    color: #ffffff;
}

.contact-text {
    font-size: 1.0625rem;
    color: var(--slate-400);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 400;
    color: #ffffff;
}

.contact-phone a {
    color: var(--teal-400);
    transition: color 0.25s var(--ease-out);
}

.contact-phone a:hover {
    color: var(--teal-300);
    text-decoration: underline;
}

.contact-phone svg {
    color: var(--teal-500);
}

.contact-form-wrapper {
    background-color: var(--slate-800);
    border: 1px solid var(--slate-700);
    border-radius: 4px;
    padding: 40px;
}

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

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    background-color: var(--slate-900);
    border: 1px solid var(--slate-700);
    border-radius: 2px;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--slate-200);
    transition: border-color 0.25s var(--ease-out);
    outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--slate-600);
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--teal-500);
}

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

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

.form-success svg {
    color: var(--teal-400);
    margin: 0 auto 20px;
}

.form-success-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 12px;
}

.form-success-text {
    font-size: 0.9375rem;
    color: var(--slate-400);
    line-height: 1.7;
}

/* ── Footer ── */
.footer {
    background-color: var(--slate-950);
    padding: 64px 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--slate-800);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-logo svg {
    color: var(--teal-500);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.7;
    max-width: 280px;
}

.footer-nav-title {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 16px;
}

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

.footer-nav-list a {
    font-size: 0.9375rem;
    color: var(--slate-500);
    transition: color 0.25s var(--ease-out);
}

.footer-nav-list a:hover {
    color: var(--teal-400);
}

.footer-contact p {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.8;
}

.footer-contact a {
    color: var(--teal-400);
    transition: color 0.25s var(--ease-out);
}

.footer-contact a:hover {
    color: var(--teal-300);
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 32px;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--slate-600);
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }

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

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

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }

    .experience-split {
        gap: 48px;
    }

    .experience-img-secondary {
        right: -20px;
        bottom: -20px;
    }

    .contact-inner {
        gap: 48px;
    }
}

@media (max-width: 900px) {
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: rgba(248, 250, 252, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
        border-bottom: 1px solid var(--slate-200);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.35s var(--ease-out);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        padding: 16px 24px;
        width: 100%;
        border-bottom: 1px solid var(--slate-100);
    }

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

    .nav-link--cta {
        margin: 8px 16px 16px;
        text-align: center;
        border-bottom: none;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero::before {
        width: 100%;
        opacity: 0.4;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-image-accent {
        display: none;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .rooms,
    .experience,
    .amenities,
    .location,
    .contact {
        padding: 80px 0;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .experience-split {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .experience-images {
        max-width: 480px;
    }

    .experience-img-secondary {
        width: 50%;
        right: 0;
        bottom: -24px;
    }

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

    .amenities-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .location-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .location-map {
        min-height: 300px;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

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

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

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

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

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

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

    .rooms-grid,
    .amenities-grid {
        gap: 20px;
    }
}
