/* ============================================
   Pechas Cabins on the Lake — Styles
   Classic & Elegant · Forest Green + Off-White
   ============================================ */

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

:root {
    --forest: #2D5A3D;
    --forest-deep: #1E3F2B;
    --forest-light: #4A8B5C;
    --forest-muted: #6B9E7E;
    --cream: #F5F0E8;
    --cream-light: #FAF7F2;
    --cream-dark: #E8E0D0;
    --charcoal: #2C2C2C;
    --text: #3A3A3A;
    --text-light: #6B6B6B;
    --text-muted: #9A9A9A;
    --white: #FFFFFF;
    --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(45, 90, 61, 0.06), 0 1px 2px rgba(45, 90, 61, 0.04);
    --shadow-md: 0 4px 16px rgba(45, 90, 61, 0.08), 0 2px 4px rgba(45, 90, 61, 0.04);
    --shadow-lg: 0 12px 40px rgba(45, 90, 61, 0.12), 0 4px 12px rgba(45, 90, 61, 0.06);
}

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

body {
    font-family: var(--sans);
    color: var(--text);
    background: var(--cream-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    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 ---- */
.section-eyebrow {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--forest-light);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--charcoal);
    margin-bottom: 24px;
}

.section-subtitle {
    font-family: var(--sans);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 560px;
}

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

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

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--forest-deep);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

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

.btn-full {
    width: 100%;
}

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

.nav.scrolled {
    background: rgba(245, 240, 232, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: var(--shadow-sm);
}

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

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

.nav.scrolled .nav-links a:hover {
    color: var(--forest);
}

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

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

.nav-logo-icon {
    color: var(--white);
    transition: var(--transition);
}

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

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

.nav-links a {
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
    position: relative;
}

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

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

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

.nav.scrolled .nav-links a::after {
    background: var(--forest-light);
}

.nav-cta {
    padding: 8px 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--white);
    color: var(--forest) !important;
    border-color: var(--white);
}

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

.nav.scrolled .nav-cta {
    border-color: var(--forest);
    color: var(--forest) !important;
}

.nav.scrolled .nav-cta:hover {
    background: var(--forest);
    color: var(--white) !important;
}

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

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

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

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

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

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

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(45, 90, 61, 0.85) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(30, 63, 43, 0.7) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(74, 139, 92, 0.5) 0%, transparent 50%),
        linear-gradient(160deg, #1a3a25 0%, #2D5A3D 30%, #3d7a52 55%, #5a9e72 75%, #8bc4a0 100%);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/36488764/pexels-photo-36488764.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
    z-index: 0;
    opacity: 0.3;
    filter: saturate(0.7);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--cream-light), transparent);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 24px;
}

.hero-eyebrow {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 28px;
}

.hero-accent {
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
}

.hero-subtitle {
    font-family: var(--sans);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    max-width: 540px;
    margin: 0 auto 40px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--sans);
    font-size: 0.7rem;
    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: 120px 0;
    background: var(--cream-light);
}

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

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

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

.about-image-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 1.5px solid var(--forest-muted);
    border-radius: 6px;
    z-index: -1;
    opacity: 0.4;
}

.about-text p {
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal);
}

.about-feature svg {
    color: var(--forest);
    flex-shrink: 0;
}

/* ---- Cabins ---- */
.cabins {
    padding: 120px 0;
    background: var(--cream);
}

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

.cabin-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.cabin-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

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

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

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

.cabin-card-title {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.cabin-card-desc {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--text-light);
    margin-bottom: 20px;
}

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

.cabin-card-amenities li {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 6px 12px;
    background: var(--cream);
    color: var(--forest);
    border-radius: 3px;
}

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

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

.location-text p {
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 36px;
}

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

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

.location-detail svg {
    color: var(--forest);
    flex-shrink: 0;
    margin-top: 2px;
}

.location-detail strong {
    display: block;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.location-detail span {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.location-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    min-height: 400px;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 20px;
    margin-top: 64px;
}

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

.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.04);
}

.gallery-item:nth-child(1) { grid-column: 1 / 5; grid-row: 1 / 3; }
.gallery-item:nth-child(2) { grid-column: 5 / 8; }
.gallery-item:nth-child(3) { grid-column: 8 / 11; }
.gallery-item:nth-child(4) { grid-column: 11 / 13; grid-row: 1 / 3; }
.gallery-item:nth-child(5) { grid-column: 5 / 8; }
.gallery-item:nth-child(6) { grid-column: 8 / 11; }

/* ---- Testimonial ---- */
.testimonial {
    padding: 120px 0;
    background: var(--forest);
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(74, 139, 92, 0.3) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(30, 63, 43, 0.4) 0%, transparent 60%);
}

.testimonial-inner {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    color: var(--white);
    margin-bottom: 32px;
}

.testimonial blockquote {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    color: var(--white);
    margin-bottom: 28px;
}

.testimonial cite {
    font-family: var(--sans);
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* ---- Contact ---- */
.contact {
    padding: 120px 0;
    background: var(--cream-light);
}

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

.contact-info p {
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: center;
}

.contact-detail svg {
    color: var(--forest);
    flex-shrink: 0;
}

.contact-detail span {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
}

.contact-form-wrap {
    background: var(--white);
    padding: 48px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
}

.form-group .optional {
    font-weight: 300;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--charcoal);
    background: var(--cream-light);
    border: 1.5px solid var(--cream-dark);
    border-radius: 4px;
    padding: 14px 16px;
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--forest-light);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(74, 139, 92, 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: 60px 40px;
    gap: 16px;
}

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

.form-success h3 {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--charcoal);
}

.form-success p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ---- Footer ---- */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 0;
}

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

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

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer h4 {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

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

.footer-links a,
.footer-contact a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

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

.footer-contact li {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}

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

/* ---- Animations ---- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

    .gallery-grid {
        grid-template-rows: repeat(3, 220px);
    }

    .gallery-item:nth-child(1) { grid-column: 1 / 6; grid-row: 1 / 3; }
    .gallery-item:nth-child(2) { grid-column: 6 / 9; grid-row: 1; }
    .gallery-item:nth-child(3) { grid-column: 9 / 13; grid-row: 1; }
    .gallery-item:nth-child(4) { grid-column: 1 / 5; grid-row: 2 / 4; }
    .gallery-item:nth-child(5) { grid-column: 5 / 8; grid-row: 3; }
    .gallery-item:nth-child(6) { grid-column: 8 / 13; grid-row: 3; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream-light);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.1);
    }

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

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

    .nav-links a::after {
        background: var(--forest-light);
    }

    .nav-cta {
        border-color: var(--forest) !important;
        color: var(--forest) !important;
    }

    .nav-toggle {
        display: flex;
    }

    .about-grid,
    .location-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image-wrap {
        order: -1;
    }

    .about-image-accent {
        top: -12px;
        left: -12px;
        right: 12px;
        bottom: 12px;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 200px);
    }

    .gallery-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
    .gallery-item:nth-child(2) { grid-column: 1; grid-row: 2; }
    .gallery-item:nth-child(3) { grid-column: 2; grid-row: 2; }
    .gallery-item:nth-child(4) { grid-column: 1 / 3; grid-row: 3; }
    .gallery-item:nth-child(5) { grid-column: 1; grid-row: 4; }
    .gallery-item:nth-child(6) { grid-column: 2; grid-row: 4; }

    .gallery-grid {
        grid-template-rows: repeat(4, 180px);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 32px 24px;
    }

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

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

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

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .about-features {
        flex-direction: column;
        gap: 16px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 200px);
    }

    .gallery-item:nth-child(n) {
        grid-column: 1;
        grid-row: auto;
    }
}

/* Mobile overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}
