/* ============================================
   The Lodge Nutrition & Energy — Styles
   Clean Minimalist | Teal + Slate Grey
   ============================================ */

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

: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;
    --teal-950: #042f2e;

    --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: #020617;

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--slate-800);
    background-color: #fefefe;
    line-height: 1.7;
    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;
}

/* --- Section Labels --- */
.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 16px;
}

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

.section-sub {
    font-size: 1.05rem;
    color: var(--slate-500);
    max-width: 480px;
    line-height: 1.7;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    padding: 14px 28px;
    border: 1px solid transparent;
    border-radius: 2px;
    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);
}

.btn-outline-light {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

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

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    background-color: rgba(254, 254, 254, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--slate-200);
}

.navbar.scrolled .nav-logo,
.navbar.scrolled .nav-links a {
    color: var(--slate-800);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    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: 400;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.nav-logo-icon {
    width: 28px;
    height: 28px;
    color: var(--teal-300);
}

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

.nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s;
}

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

.nav-cta {
    color: var(--teal-300) !important;
    font-weight: 400 !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    border: 1px solid rgba(94, 234, 212, 0.3);
    padding: 8px 16px;
    border-radius: 2px;
    transition: all 0.2s !important;
}

.nav-cta:hover {
    background-color: rgba(94, 234, 212, 0.1);
    border-color: rgba(94, 234, 212, 0.6);
}

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: #ffffff;
    transition: all 0.3s var(--ease-out);
}

.navbar.scrolled .nav-toggle span {
    background-color: var(--slate-700);
}

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

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

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

/* --- Hero --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: 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(
        to bottom,
        rgba(2, 6, 23, 0.55) 0%,
        rgba(4, 47, 46, 0.65) 50%,
        rgba(2, 6, 23, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    padding: 0 24px;
}

.hero-line {
    width: 48px;
    height: 1px;
    background-color: var(--teal-400);
    margin: 0 auto 28px;
}

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--teal-300);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 300;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

/* --- Intro --- */
.intro {
    padding: 120px 0;
    background-color: #fefefe;
}

.intro-content {
    max-width: 1000px;
    margin: 0 auto;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-top: 56px;
}

.intro-text p {
    font-size: 1.05rem;
    color: var(--slate-600);
    margin-bottom: 20px;
    line-height: 1.8;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

/* --- Rooms --- */
.rooms {
    padding: 120px 0;
    background-color: var(--slate-50);
}

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

.room-card {
    background-color: #ffffff;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid var(--slate-200);
    transition: all 0.4s var(--ease-out);
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.room-image {
    aspect-ratio: 7/5;
    overflow: hidden;
}

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

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

.room-info {
    padding: 28px;
}

.room-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-700);
    background-color: var(--teal-50);
    padding: 4px 10px;
    border-radius: 1px;
    margin-bottom: 12px;
}

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

.room-info > p {
    font-size: 0.92rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.room-features li {
    font-size: 0.85rem;
    color: var(--slate-600);
    padding-left: 16px;
    position: relative;
}

.room-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    background-color: var(--teal-400);
    border-radius: 50%;
}

.rooms-cta {
    text-align: center;
    padding: 40px;
    background-color: var(--teal-900);
    border-radius: 2px;
}

.rooms-cta p {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    font-weight: 300;
}

.rooms-cta .btn-primary {
    background-color: var(--teal-500);
    border-color: var(--teal-500);
}

.rooms-cta .btn-primary:hover {
    background-color: var(--teal-400);
    border-color: var(--teal-400);
    color: var(--slate-900);
}

/* --- Experience / Features --- */
.experience {
    padding: 120px 0;
    background-color: #fefefe;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.feature {
    padding-top: 0;
}

.feature-icon {
    width: 56px;
    height: 56px;
    color: var(--teal-600);
    margin-bottom: 20px;
}

.feature h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--slate-900);
    margin-bottom: 12px;
}

.feature p {
    font-size: 0.95rem;
    color: var(--slate-500);
    line-height: 1.8;
    max-width: 380px;
}

/* --- Divider --- */
.divider {
    padding: 100px 0;
    background-color: var(--slate-900);
    text-align: center;
}

.divider-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.5;
}

/* --- About --- */
.about {
    padding: 120px 0;
    background-color: #fefefe;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    align-items: start;
    margin-top: 56px;
}

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

.about-text p:last-child {
    margin-bottom: 0;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--slate-200);
}

.stat {
    padding: 28px 0;
    border-bottom: 1px solid var(--slate-200);
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    color: var(--teal-700);
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--slate-400);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

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

.location-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 48px;
    background-color: var(--teal-900);
    border-radius: 2px;
}

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

.detail-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-400);
}

.detail-value {
    font-size: 1.05rem;
    color: #ffffff;
    line-height: 1.6;
}

.detail-link {
    color: var(--teal-300);
    transition: color 0.2s;
}

.detail-link:hover {
    color: var(--teal-200);
}

.btn-submit {
    margin-top: 8px;
}

.location-map {
    border-radius: 2px;
    overflow: hidden;
    min-height: 400px;
}

/* --- Contact --- */
.contact {
    padding: 120px 0;
    background-color: #fefefe;
}

.contact-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.contact-intro {
    font-size: 1.05rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 48px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-bottom: 64px;
}

.contact-method {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    color: var(--teal-600);
    margin-bottom: 4px;
}

.contact-method-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate-400);
}

.contact-method-value {
    font-size: 1rem;
    color: var(--slate-700);
    line-height: 1.5;
}

.contact-method-value a {
    color: var(--teal-700);
    transition: color 0.2s;
}

.contact-method-value a:hover {
    color: var(--teal-500);
}

.contact-form-wrapper {
    max-width: 560px;
    margin: 0 auto;
    text-align: left;
}

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

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

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

.form-group label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-500);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--slate-800);
    background-color: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 2px;
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--teal-400);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

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

.btn-submit {
    align-self: flex-start;
}

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background-color: var(--teal-50);
    border: 1px solid var(--teal-200);
    border-radius: 2px;
    color: var(--teal-800);
    font-size: 0.9rem;
    margin-top: 8px;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    color: var(--teal-600);
    flex-shrink: 0;
}

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

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-brand .nav-logo {
    color: #ffffff;
    margin-bottom: 4px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--slate-500);
    font-weight: 300;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--slate-400);
    transition: color 0.2s;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-phone {
    font-size: 1rem;
    color: var(--teal-400);
    transition: color 0.2s;
}

.footer-phone:hover {
    color: var(--teal-300);
}

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

.footer-bottom {
    padding-top: 28px;
    text-align: center;
}

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

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

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

/* Default visible state for no-JS */
.reveal {
    opacity: 1;
    transform: none;
}

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

    .rooms-grid .room-card:last-child {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

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

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

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

    .nav-links a {
        color: var(--slate-700) !important;
        font-size: 0.9rem;
    }

    .nav-cta {
        color: var(--teal-700) !important;
        border-color: var(--teal-300) !important;
    }

    .hero-headline {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

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

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

    .intro-image {
        order: -1;
    }

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

    .rooms-grid .room-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

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

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

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

    .location-info {
        padding: 32px;
    }

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

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

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

    .divider-quote {
        padding: 0 24px;
    }
}

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

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

    .section-header {
        margin-bottom: 40px;
    }
}
