/* ============================================
   Loon Pond Lakehouse — Styles
   Palette: Teal (#0d9488) + Slate (#0f172a, #1e293b, #334155, #64748b, #94a3b8, #cbd5e1, #f1f5f9)
   Fonts: Space Grotesk (headings) + Inter (body)
============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1e293b;
    background-color: #f8fafc;
    -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;
}

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

ul {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: #0f172a;
}

h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p {
    color: #475569;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

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

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

/* --- Section Label --- */
.section-label {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0d9488;
    margin-bottom: 16px;
    background: rgba(13, 148, 136, 0.08);
    padding: 6px 14px;
    border-radius: 100px;
}

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

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 14px 28px;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: #0d9488;
    color: #ffffff;
    border: 2px solid #0d9488;
}

.btn-primary:hover {
    background: #0f766e;
    border-color: #0f766e;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

.btn-map {
    margin-top: 16px;
    font-size: 0.875rem;
    padding: 12px 24px;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: #ffffff;
}

.logo-icon {
    color: #14b8a6;
}

.logo-accent {
    color: #14b8a6;
}

.logo-accent-light {
    color: #14b8a6;
}

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

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #cbd5e1;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links .btn-primary {
    padding: 10px 22px;
    font-size: 0.875rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #134e4a 40%, #0d9488 70%, #14b8a6 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/30263905/pexels-photo-30263905.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.88) 0%,
        rgba(19, 78, 74, 0.75) 50%,
        rgba(13, 148, 136, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding-top: 72px;
}

.hero-badge {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5eead4;
    background: rgba(94, 234, 212, 0.12);
    border: 1px solid rgba(94, 234, 212, 0.25);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.hero h1 {
    color: #ffffff;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    color: #cbd5e1;
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.stat-label {
    font-size: 0.8125rem;
    color: #94a3b8;
    letter-spacing: 0.04em;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(148, 163, 184, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.5);
    animation: float 2s ease-in-out infinite;
}

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

/* --- About --- */
.about {
    background: #ffffff;
}

.about-images {
    position: relative;
}

.img-main {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}

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

.img-secondary {
    position: absolute;
    bottom: -32px;
    right: -16px;
    width: 55%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
    border: 4px solid #ffffff;
}

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

.about-content .section-label {
    margin-bottom: 16px;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content > p {
    color: #64748b;
    margin-bottom: 16px;
    font-size: 1.0625rem;
    line-height: 1.75;
}

.feature-list {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #334155;
    font-weight: 500;
}

.feature-list svg {
    color: #0d9488;
    flex-shrink: 0;
}

/* --- Accommodations --- */
.accommodations {
    background: #f8fafc;
}

.card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-img {
    overflow: hidden;
    height: 220px;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.card-body {
    padding: 28px;
}

.card-body h3 {
    margin-bottom: 10px;
    color: #0f172a;
}

.card-body > p {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 20px;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-features li {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #0d9488;
    background: rgba(13, 148, 136, 0.08);
    padding: 6px 12px;
    border-radius: 100px;
}

/* --- Amenities --- */
.amenities {
    background: #0f172a;
}

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

.amenities .section-label {
    background: rgba(13, 148, 136, 0.15);
    color: #14b8a6;
}

.amenities .section-header h2 {
    color: #ffffff;
}

.amenities .section-header p {
    color: #94a3b8;
}

.amenity-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.amenity-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(20, 184, 166, 0.3);
    transform: translateY(-2px);
}

.amenity-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 148, 136, 0.15);
    border-radius: 12px;
    margin-bottom: 20px;
    color: #14b8a6;
}

.amenity-card h4 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 1.0625rem;
}

.amenity-card p {
    font-size: 0.9375rem;
    color: #94a3b8;
    line-height: 1.65;
}

/* --- Location --- */
.location {
    background: #ffffff;
}

.location-content h2 {
    margin-bottom: 16px;
}

.location-content > p {
    font-size: 1.0625rem;
    color: #64748b;
    line-height: 1.75;
    margin-bottom: 32px;
}

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

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

.location-item svg {
    color: #0d9488;
    flex-shrink: 0;
    margin-top: 2px;
}

.location-item strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.location-item span {
    font-size: 0.9375rem;
    color: #64748b;
}

.location-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.location-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

/* --- Contact --- */
.contact {
    background: #f1f5f9;
}

.contact-info .section-label {
    margin-bottom: 16px;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 1.0625rem;
    color: #64748b;
    line-height: 1.75;
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #ffffff;
    border-radius: 12px;
    transition: all 0.2s ease;
    color: #334155;
    font-weight: 500;
}

.contact-method:hover {
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    transform: translateX(4px);
    color: #0d9488;
}

.contact-method svg {
    color: #0d9488;
    flex-shrink: 0;
}

/* --- Form --- */
.contact-form-wrapper {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

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

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

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

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #1e293b;
    transition: all 0.2s ease;
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0d9488;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

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

.form-note {
    font-size: 0.8125rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 4px;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    gap: 16px;
}

.form-success svg {
    color: #0d9488;
}

.form-success h3 {
    color: #0f172a;
    font-size: 1.5rem;
}

.form-success p {
    color: #64748b;
    max-width: 360px;
    line-height: 1.7;
}

/* --- Footer --- */
.site-footer {
    background: #0f172a;
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-nav h4,
.footer-contact h4 {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-nav a {
    display: block;
    font-size: 0.9375rem;
    color: #94a3b8;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #14b8a6;
}

.footer-contact p,
.footer-contact a {
    display: block;
    font-size: 0.9375rem;
    color: #94a3b8;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #14b8a6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: #475569;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .about-images {
        order: -1;
        max-width: 560px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

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

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

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

    .img-secondary {
        right: 0;
        width: 50%;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.97);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

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

    .nav-links a {
        font-size: 1.0625rem;
        color: #cbd5e1;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-stats {
        gap: 16px;
    }

    .hero-stat-divider {
        display: none;
    }

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

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

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

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .img-secondary {
        width: 55%;
        bottom: -24px;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .scroll-indicator {
        animation: none;
    }
}
