/* ============================================
   THE CHILL SPOT — Custom Styles
   Emerald Green + Cream | Editorial Design
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-400: #34d399;
    --emerald-100: #d1fae5;
    --emerald-50:  #ecfdf5;
    
    --cream-50:  #faf9f6;
    --cream-100: #f5f3ed;
    --cream-200: #ebe8df;
    --cream-300: #e0dbd0;
    --cream-400: #c4b89a;
    
    --ink-900: #0f1a14;
    --ink-800: #1a2e22;
    --ink-700: #2a3f32;
    --ink-600: #3d5244;
    --ink-500: #526357;
    --ink-400: #6b7c6f;
    --ink-300: #8fa094;
    --ink-200: #b8c4bc;
    --ink-100: #dce5df;
    --ink-50:  #f0f4f1;
    
    --white: #ffffff;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-700);
    background-color: var(--cream-50);
    -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;
}

ul, ol {
    list-style: none;
}

/* ---------- Container ---------- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0 64px;
    }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.1;
    color: var(--ink-900);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 16px;
}

.section-heading {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 24px;
}

.text-emerald {
    color: var(--emerald-700);
}

.text-cream {
    color: var(--cream-200);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--ink-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.text-center {
    text-align: center;
}

.lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--ink-600);
    margin-bottom: 20px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 100px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn--primary {
    background: var(--emerald-700);
    color: var(--white);
    border-color: var(--emerald-700);
}

.btn--primary:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(4, 120, 87, 0.3);
}

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

.btn--outline:hover {
    background: var(--white);
    color: var(--ink-900);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn--nav {
    background: var(--emerald-700);
    color: var(--white);
    border-color: var(--emerald-700);
    padding: 10px 20px;
    font-size: 0.8125rem;
}

.btn--nav:hover {
    background: var(--emerald-800);
    transform: translateY(-1px);
}

.btn--cream {
    background: var(--cream-200);
    color: var(--ink-900);
    border-color: var(--cream-200);
}

.btn--cream:hover {
    background: var(--cream-300);
    border-color: var(--cream-300);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn--outline-cream {
    background: transparent;
    color: var(--cream-200);
    border-color: var(--cream-300);
}

.btn--outline-cream:hover {
    background: var(--cream-300);
    color: var(--ink-900);
    transform: translateY(-2px);
}

.btn--large {
    padding: 16px 32px;
    font-size: 1rem;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--ink-100);
    transition: all 0.4s var(--ease-out);
}

.site-header.scrolled {
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--ink-900);
    letter-spacing: -0.02em;
}

.logo--light {
    color: var(--cream-200);
}

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

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink-600);
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald-600);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
    color: var(--emerald-700);
}

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

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink-800);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Mobile Nav ---------- */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--cream-50);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.mobile-nav.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-nav-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--ink-900);
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--emerald-700);
}

.mobile-nav-contact {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-nav-phone,
.mobile-nav-email {
    font-size: 0.9375rem;
    color: var(--ink-500);
    transition: color 0.3s ease;
}

.mobile-nav-phone:hover,
.mobile-nav-email:hover {
    color: var(--emerald-700);
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--cream-50);
    padding-top: 72px;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--emerald-100) 0%, transparent 70%);
    opacity: 0.6;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    padding: 64px 0;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        padding: 80px 0;
    }
}

.hero-content {
    max-width: 560px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 20px;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--ink-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-headline .text-emerald {
    color: var(--emerald-700);
    font-style: italic;
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--ink-500);
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ink-500);
    background: var(--white);
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid var(--ink-100);
}

.hero-image {
    position: relative;
}

.hero-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.12);
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-accent {
    position: absolute;
    bottom: -24px;
    left: -24px;
    width: 120px;
    height: 120px;
    background: var(--emerald-700);
    border-radius: 20px;
    z-index: -1;
}

@media (min-width: 768px) {
    .hero-accent {
        bottom: -32px;
        left: -32px;
        width: 160px;
        height: 160px;
    }
}

/* ---------- About ---------- */
.about {
    padding: 100px 0;
    background: var(--white);
}

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

@media (min-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
}

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

.about-img-secondary {
    position: absolute;
    bottom: -32px;
    right: -16px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    border: 4px solid var(--white);
}

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

@media (min-width: 900px) {
    .about-img-secondary {
        width: 55%;
        bottom: -48px;
        right: -32px;
    }
}

.about-content {
    padding: 16px 0;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--ink-100);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--emerald-700);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ink-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.divider-line {
    flex: 1;
    max-width: 200px;
    height: 1px;
    background: var(--ink-200);
}

.divider-icon {
    color: var(--emerald-600);
    flex-shrink: 0;
}

/* ---------- Menu ---------- */
.menu {
    padding: 100px 0;
    background: var(--cream-50);
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 48px 0 40px;
    flex-wrap: wrap;
}

.menu-cat {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 100px;
    border: 2px solid var(--ink-100);
    background: transparent;
    color: var(--ink-500);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.menu-cat:hover {
    border-color: var(--emerald-400);
    color: var(--emerald-700);
}

.menu-cat.active {
    background: var(--emerald-700);
    border-color: var(--emerald-700);
    color: var(--white);
}

.menu-grid {
    max-width: 800px;
    margin: 0 auto;
}

.menu-panel {
    display: none;
}

.menu-panel.active {
    display: block;
    animation: fadeUp 0.4s var(--ease-out);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--ink-100);
}

.menu-item:first-child {
    padding-top: 0;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.menu-item-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink-900);
}

.menu-item-dots {
    flex: 1;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        var(--ink-200) 0px,
        var(--ink-200) 4px,
        transparent 4px,
        transparent 8px
    );
    min-width: 24px;
}

.menu-item-price {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink-400);
    white-space: nowrap;
}

.menu-item-desc {
    font-size: 0.9375rem;
    color: var(--ink-400);
    line-height: 1.6;
    padding-left: 20px;
}

.menu-note {
    text-align: center;
    margin-top: 48px;
    padding: 24px;
    background: var(--white);
    border-radius: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.menu-note p {
    font-size: 0.875rem;
    color: var(--ink-400);
    line-height: 1.6;
}

/* ---------- Atmosphere ---------- */
.atmosphere {
    padding: 100px 0;
    background: var(--white);
}

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

@media (min-width: 900px) {
    .atm-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.atm-features {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.atm-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--ink-600);
}

.atm-features svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

.atm-images {
    position: relative;
}

.atm-img-grid {
    display: grid;
    gap: 16px;
}

.atm-img-1 img,
.atm-img-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.atm-img-1 {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
}

.atm-img-2 {
    margin-left: auto;
    max-width: 85%;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

/* ---------- Quote Section ---------- */
.quote-section {
    padding: 100px 0;
    background: var(--emerald-800);
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(16, 185, 129, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.quote-card {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.quote-mark {
    color: var(--emerald-400);
    margin-bottom: 24px;
    opacity: 0.6;
}

.quote-card blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: var(--cream-100);
    margin-bottom: 24px;
}

.quote-source {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--emerald-400);
    letter-spacing: 0.05em;
}

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

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

@media (min-width: 900px) {
    .location-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 36px 0;
}

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

.location-item svg {
    color: var(--emerald-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.location-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 4px;
}

.location-item p {
    font-size: 0.9375rem;
    color: var(--ink-500);
    line-height: 1.6;
}

.location-item a {
    color: var(--emerald-700);
    transition: color 0.3s ease;
}

.location-item a:hover {
    color: var(--emerald-500);
    text-decoration: underline;
}

.location-cta {
    margin-top: 8px;
}

.location-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
    min-height: 400px;
}

/* ---------- CTA Section ---------- */
.cta-section {
    padding: 100px 0;
    background: var(--ink-900);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(4, 120, 87, 0.25) 0%, transparent 60%);
    pointer-events: none;
}

.cta-card {
    position: relative;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-eyebrow {
    color: var(--emerald-400);
}

.cta-heading {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--cream-100);
    margin-bottom: 20px;
}

.cta-heading .text-cream {
    color: var(--cream-300);
    font-style: italic;
}

.cta-text {
    font-size: 1.125rem;
    color: var(--ink-300);
    line-height: 1.7;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

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

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 48px;
    }
}

.footer-brand {
    max-width: 300px;
}

.footer-tagline {
    margin-top: 16px;
    font-size: 0.9375rem;
    color: var(--ink-400);
    line-height: 1.7;
}

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

.footer-links strong,
.footer-contact strong {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--cream-200);
    margin-bottom: 4px;
}

.footer-links a,
.footer-contact a {
    font-size: 0.9375rem;
    color: var(--ink-300);
    transition: color 0.3s ease;
}

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

.footer-contact p {
    font-size: 0.9375rem;
    color: var(--ink-400);
    line-height: 1.6;
    margin-top: 4px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--ink-700);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--ink-500);
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }
    
    .reveal.visible {
        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; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
