/* ═══════════════════════════════════════════
   LIFE LOUNGE — Styles
   Classic & Elegant · Emerald + Cream
   ═══════════════════════════════════════════ */

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

:root {
    --emerald-900: #0B2B1E;
    --emerald-800: #1B4332;
    --emerald-700: #2D6A4F;
    --emerald-600: #40916C;
    --cream-50:  #FDFAF3;
    --cream-100: #F8F3E8;
    --cream-200: #F0E9D6;
    --cream-300: #E8DFC8;
    --gold-500:  #C8963E;
    --gold-600:  #B8862D;
    --gold-400:  #D4A84B;
    --text-dark:  #1A1A1A;
    --text-muted: #5C5C5C;
    --text-light: #F5F0E8;

    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans:  'Lato', 'Helvetica Neue', Arial, sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--cream-50);
    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 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--emerald-800);
    color: var(--cream-50);
    padding: 8px 16px;
    border-radius: 4px;
    z-index: 1000;
    font-size: 0.875rem;
}
.skip-link:focus {
    top: 16px;
}

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

.section-label--light {
    color: var(--gold-400);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--emerald-800);
    margin-bottom: 24px;
}

.section-title--light {
    color: var(--cream-50);
}

.text-accent {
    color: var(--gold-500);
}

.text-accent-light {
    color: var(--gold-400);
}

.section-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 520px;
}

/* ── 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.04em;
    padding: 14px 28px;
    border-radius: 4px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    white-space: nowrap;
}

.btn--gold {
    background: var(--gold-500);
    color: var(--emerald-900);
    border-color: var(--gold-500);
}
.btn--gold:hover {
    background: var(--gold-400);
    border-color: var(--gold-400);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(200, 150, 62, 0.3);
}

.btn--emerald {
    background: var(--emerald-700);
    color: var(--cream-50);
    border-color: var(--emerald-700);
}
.btn--emerald:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(27, 67, 50, 0.3);
}

.btn--outline-light {
    background: transparent;
    color: var(--cream-50);
    border-color: rgba(253, 250, 243, 0.5);
}
.btn--outline-light:hover {
    background: rgba(253, 250, 243, 0.1);
    border-color: var(--cream-50);
}

.btn--outline-dark {
    background: transparent;
    color: var(--emerald-800);
    border-color: var(--emerald-700);
}
.btn--outline-dark:hover {
    background: var(--emerald-800);
    color: var(--cream-50);
}

.btn--ghost {
    background: transparent;
    color: var(--cream-50);
    border: 1px solid rgba(253, 250, 243, 0.3);
    padding: 10px 18px;
}
.btn--ghost:hover {
    background: rgba(253, 250, 243, 0.1);
}

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

.btn--sm {
    padding: 10px 20px;
    font-size: 0.8125rem;
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 24px;
    transition: background 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
}

.navbar.scrolled {
    background: rgba(11, 43, 30, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}

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

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--cream-50);
    letter-spacing: 0.02em;
}

.logo-icon {
    color: var(--gold-400);
}

.navbar-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-list a {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(253, 250, 243, 0.8);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-400);
    transition: width 0.3s var(--ease-smooth);
}

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

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

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--cream-50);
}

.hamburger {
    display: block;
    width: 22px;
    height: 14px;
    position: relative;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transition: all 0.3s var(--ease-smooth);
}

.hamburger::before { top: 0; }
.hamburger span { top: 50%; transform: translateY(-50%); }
.hamburger::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger span {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* ── Mobile Menu ── */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--emerald-900);
    padding: 100px 32px 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-smooth), visibility 0.4s;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

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

.mobile-nav-list a {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--cream-200);
    padding: 12px 0;
    border-bottom: 1px solid rgba(253, 250, 243, 0.08);
    transition: color 0.3s, padding-left 0.3s;
}

.mobile-nav-list a:hover {
    color: var(--gold-400);
    padding-left: 8px;
}

.mobile-cta {
    margin-top: 24px;
    border: none;
}

.mobile-cta .btn {
    font-size: 1rem;
    padding: 16px 28px;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        url('https://images.pexels.com/photos/35285853/pexels-photo-35285853.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1280')
        center center / cover no-repeat;
    transform: scale(1.02);
    transition: transform 8s ease-out;
}

.hero.loaded .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(11, 43, 30, 0.55) 0%,
        rgba(11, 43, 30, 0.70) 50%,
        rgba(11, 43, 30, 0.85) 100%
    );
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 32px;
}

.badge-line {
    width: 40px;
    height: 1px;
    background: var(--gold-500);
    opacity: 0.6;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--cream-50);
    margin-bottom: 24px;
}

.hero-accent {
    font-style: italic;
    color: var(--gold-400);
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: rgba(253, 250, 243, 0.8);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto 40px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(253, 250, 243, 0.5);
    font-family: var(--font-sans);
    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); }
}

/* ── Heritage ── */
.hero ~ section,
.section-divider ~ section {
    padding: 100px 0;
}

.heritage {
    background: var(--cream-50);
}

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

.heritage-image {
    position: relative;
}

.heritage-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(11, 43, 30, 0.15);
}

.heritage-image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 1.5px solid var(--gold-500);
    border-radius: 4px;
    z-index: -1;
    opacity: 0.4;
}

.heritage-text {
    padding: 16px 0;
}

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

.heritage-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--cream-300);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--emerald-800);
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--cream-300);
}

/* ── Divider ── */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.divider-icon {
    color: var(--gold-500);
    opacity: 0.4;
    animation: spin-slow 20s linear infinite;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ── Offerings ── */
.offerings {
    background: var(--cream-100);
}

.offerings-header {
    text-align: center;
    margin-bottom: 64px;
}

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

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

.offering-card {
    background: var(--cream-50);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(11, 43, 30, 0.06);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-smooth);
}

.offering-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(11, 43, 30, 0.12);
}

.offering-card-image {
    overflow: hidden;
    height: 240px;
}

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

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

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

.offering-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cream-300);
    border-radius: 50%;
    margin-bottom: 20px;
    color: var(--emerald-700);
}

.offering-card-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--emerald-800);
    margin-bottom: 12px;
}

.offering-card-body p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── Craft (Parallax) ── */
.craft {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.craft-bg {
    position: absolute;
    inset: 0;
    background:
        url('https://images.pexels.com/photos/18925018/pexels-photo-18925018.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=900')
        center center / cover no-repeat;
    will-change: transform;
}

.craft-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 43, 30, 0.82);
}

.craft-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.craft-content .section-title {
    margin-bottom: 28px;
}

.craft-body {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: rgba(253, 250, 243, 0.85);
    line-height: 1.8;
    margin-bottom: 56px;
    max-width: 640px;
}

.craft-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.craft-value {
    position: relative;
}

.craft-value-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--gold-500);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 12px;
    display: block;
}

.craft-value h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--cream-50);
    margin-bottom: 8px;
}

.craft-value p {
    font-size: 0.9rem;
    color: rgba(253, 250, 243, 0.65);
    line-height: 1.7;
}

/* ── Visit ── */
.visit {
    background: var(--cream-100);
    padding: 100px 0;
}

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

.visit-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
}

.visit-details {
    margin-bottom: 40px;
}

.visit-detail {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--cream-300);
}

.visit-detail:first-child {
    padding-top: 0;
}

.visit-detail:last-child {
    border-bottom: none;
}

.visit-detail-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding-top: 3px;
}

.visit-detail-value {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--emerald-800);
    line-height: 1.6;
}

.visit-detail-value a {
    color: inherit;
    transition: color 0.3s;
}

.visit-detail-value a:hover {
    color: var(--gold-500);
}

.visit-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.visit-map {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(11, 43, 30, 0.1);
}

.visit-map-placeholder {
    background: var(--emerald-800);
    color: var(--cream-200);
    padding: 48px 36px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-height: 320px;
    justify-content: center;
}

.visit-map-placeholder svg {
    color: var(--gold-400);
    opacity: 0.7;
}

.visit-map-placeholder p {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--cream-200);
}

/* ── Footer ── */
.footer {
    background: var(--emerald-900);
    color: var(--cream-200);
    padding: 72px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(253, 250, 243, 0.08);
}

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

.footer-logo .logo-icon {
    color: var(--gold-400);
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(253, 250, 243, 0.5);
    line-height: 1.7;
    max-width: 260px;
}

.footer-nav-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 16px;
}

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

.footer-nav a {
    font-size: 0.9rem;
    color: rgba(253, 250, 243, 0.6);
    transition: color 0.3s, padding-left 0.3s;
}

.footer-nav a:hover {
    color: var(--cream-50);
    padding-left: 4px;
}

.footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(253, 250, 243, 0.6);
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(253, 250, 243, 0.6);
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--gold-400);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.8125rem;
    color: rgba(253, 250, 243, 0.35);
}

/* ── 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) {
    .heritage-grid,
    .visit-grid {
        gap: 48px;
    }

    .craft-values {
        gap: 32px;
    }
}

@media (max-width: 900px) {
    .offerings-grid {
        grid-template-columns: 1fr 1fr;
    }

    .offerings-grid .offering-card:last-child {
        grid-column: 1 / -1;
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
}

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

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu {
        display: block;
    }

    .navbar-actions .btn--ghost {
        display: none;
    }

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

    .heritage-image img {
        height: 400px;
    }

    .heritage-image-accent {
        top: -10px;
        right: -10px;
    }

    .offerings-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .offerings-grid .offering-card:last-child {
        max-width: 100%;
    }

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

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

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

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

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

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

    .stat-divider {
        display: none;
    }

    .visit-detail {
        grid-template-columns: 1fr;
        gap: 4px;
    }

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

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