/* ============================================
   Plantation Park — Home of the Happy Camper
   Clean Minimalist · Midnight Blue + Mint
   ============================================ */

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

:root {
    --midnight: #0f2b4c;
    --midnight-light: #1a3d6b;
    --midnight-dark: #091e36;
    --mint: #2dd4bf;
    --mint-light: #5eead4;
    --mint-dark: #14b8a6;
    --cream: #f8f7f4;
    --cream-dark: #efecea;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #7a7a7a;
    --text-on-dark: #f0f4f8;
    --text-on-dark-muted: #a8bdd4;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--cream);
    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;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ---------- Skip Link ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-sm);
    background: var(--midnight);
    color: var(--white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-size: 0.875rem;
}

.skip-link:focus {
    top: var(--space-sm);
}

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

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mint-dark);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 300;
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.section-lead {
    font-size: 1.125rem;
    color: var(--text-medium);
    max-width: 560px;
    line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--mint);
    color: var(--midnight-dark);
    border-color: var(--mint);
}

.btn-primary:hover {
    background: var(--mint-light);
    border-color: var(--mint-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(45, 212, 191, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-ghost-light {
    background: transparent;
    color: var(--midnight);
    border-color: var(--midnight);
}

.btn-ghost-light:hover {
    background: var(--midnight);
    color: var(--white);
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 0.875rem;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(248, 247, 244, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 43, 76, 0.08);
    transition: all var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(15, 43, 76, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--midnight);
    text-decoration: none;
}

.logo:hover {
    opacity: 0.8;
}

.logo-icon {
    color: var(--mint-dark);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-line1 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--midnight);
}

.logo-line2 {
    font-family: var(--font-body);
    font-size: 0.625rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
}

/* ---------- Navigation ---------- */
.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-list a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-medium);
    position: relative;
    padding: 0.25rem 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--mint-dark);
    transition: width var(--transition);
}

.nav-list a:hover {
    color: var(--midnight);
}

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

.nav-cta {
    background: var(--midnight);
    color: var(--white) !important;
    padding: 0.625rem 1.5rem !important;
    border-radius: var(--radius-sm);
    letter-spacing: 0.08em;
    transition: all var(--transition) !important;
}

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

.nav-cta:hover {
    background: var(--midnight-light) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}

/* ---------- Mobile Nav Toggle ---------- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--midnight);
    transition: all var(--transition);
    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 {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--midnight-dark);
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(9, 30, 54, 0.4) 0%,
        rgba(15, 43, 76, 0.6) 50%,
        rgba(9, 30, 54, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    padding-top: var(--space-xl);
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--mint-light);
    margin-bottom: var(--space-md);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.hero-title br {
    display: none;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    color: rgba(240, 244, 248, 0.8);
    line-height: 1.8;
    max-width: 580px;
    margin: 0 auto var(--space-lg);
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    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); }
}

/* ---------- Section Divider ---------- */
.section-divider {
    display: flex;
    justify-content: center;
    padding: var(--space-lg) 0;
    color: var(--midnight);
    opacity: 0.3;
}

/* ---------- About ---------- */
.about {
    padding: var(--space-2xl) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-image-wrap {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/5;
}

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

.about-content {
    padding: var(--space-md) 0;
}

.about-content p {
    color: var(--text-medium);
    margin-bottom: var(--space-sm);
    font-size: 1rem;
    line-height: 1.85;
}

.about-content p:first-of-type {
    font-size: 1.0625rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm) 0;
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(15, 43, 76, 0.1);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-dark);
}

.feature-item svg {
    color: var(--mint-dark);
    flex-shrink: 0;
}

/* ---------- Cabin ---------- */
.cabin {
    padding: var(--space-2xl) 0;
    background: var(--white);
}

.cabin-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-lg);
}

.cabin-header .section-eyebrow {
    text-align: center;
}

.cabin-header .section-title {
    text-align: center;
}

.cabin-lead {
    margin: 0 auto;
    text-align: center;
}

.cabin-gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: auto;
}

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

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

.gallery-item--large {
    grid-column: 1 / 8;
    aspect-ratio: 3/2;
}

.gallery-item:not(.gallery-item--large):not(.gallery-item--wide) {
    aspect-ratio: 4/3;
}

.gallery-item--wide {
    grid-column: 1 / -1;
    aspect-ratio: 2/1;
}

.cabin-amenities {
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(15, 43, 76, 0.08);
}

.amenity-row {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.amenity {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-dark);
}

.amenity svg {
    color: var(--mint-dark);
}

/* ---------- Location ---------- */
.location {
    padding: var(--space-2xl) 0;
    background: var(--cream);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: stretch;
}

.location-content {
    padding: var(--space-md) 0;
}

.location-content p {
    color: var(--text-medium);
    line-height: 1.85;
    margin-bottom: var(--space-md);
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(15, 43, 76, 0.1);
}

.location-details li {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-sm);
    align-items: start;
}

.detail-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    padding-top: 0.1875rem;
}

.detail-value {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.detail-link {
    color: var(--midnight);
    font-weight: 400;
    border-bottom: 1px solid rgba(15, 43, 76, 0.2);
    padding-bottom: 1px;
    transition: all var(--transition);
}

.detail-link:hover {
    color: var(--mint-dark);
    border-bottom-color: var(--mint-dark);
}

.location-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 4px 30px rgba(15, 43, 76, 0.08);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ---------- CTA ---------- */
.cta {
    padding: var(--space-2xl) 0;
    background: var(--midnight);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(45, 212, 191, 0.05);
    pointer-events: none;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(45, 212, 191, 0.04);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-eyebrow {
    color: var(--mint-light);
    text-align: center;
}

.cta-title {
    color: var(--white);
    text-align: center;
    margin-bottom: var(--space-md);
}

.cta-text {
    color: var(--text-on-dark-muted);
    font-size: 1.0625rem;
    line-height: 1.85;
    margin-bottom: var(--space-lg);
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.btn-ghost-light {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

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

/* ---------- Footer ---------- */
.site-footer {
    background: var(--midnight-dark);
    padding: var(--space-lg) 0 var(--space-md);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
}

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

.logo--footer .logo-line1 {
    color: var(--white);
}

.logo--footer .logo-line2 {
    color: var(--text-on-dark-muted);
}

.footer-links {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--text-on-dark-muted);
    text-transform: uppercase;
    transition: color var(--transition);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--text-on-dark-muted);
}

.footer-link {
    color: var(--text-on-dark-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 1px;
    transition: all var(--transition);
}

.footer-link:hover {
    color: var(--mint-light);
    border-bottom-color: var(--mint-light);
}

.footer-bottom {
    margin-top: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    max-width: 1200px;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(168, 189, 212, 0.5);
    letter-spacing: 0.04em;
}

/* ---------- Scroll Animations (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .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: 960px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .about-image-wrap {
        aspect-ratio: 16/10;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .location-map {
        min-height: 300px;
    }
    
    .location-map iframe {
        min-height: 300px;
    }
    
    .gallery-item--large {
        grid-column: 1 / -1;
    }
    
    .gallery-item:not(.gallery-item--large):not(.gallery-item--wide) {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 4rem;
        --space-2xl: 5rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(248, 247, 244, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(15, 43, 76, 0.08);
        padding: var(--space-md);
        transform: translateY(-110%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }
    
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-list {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: center;
    }
    
    .nav-list a {
        font-size: 0.9375rem;
        padding: 0.5rem 0;
    }
    
    .nav-cta {
        margin-top: var(--space-sm);
    }
    
    .hero-title br {
        display: block;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 var(--space-md);
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .cabin-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item:not(.gallery-item--large):not(.gallery-item--wide) {
        grid-column: 1;
        aspect-ratio: 4/3;
    }
    
    .gallery-item--large {
        aspect-ratio: 4/3;
    }
    
    .gallery-item--wide {
        aspect-ratio: 16/9;
    }
    
    .amenity-row {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
    
    .location-details li {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 var(--space-md);
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .hero-content {
        padding-top: var(--space-lg);
    }
    
    .section-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
}
