/* ========================================
   Kairos Nutrition Bar — Styles
   Teal + Slate Grey | Minimalist
   ======================================== */

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

:root {
    --teal-900: #0a2e2e;
    --teal-800: #0f3d3d;
    --teal-700: #145252;
    --teal-600: #1a6b6b;
    --teal-500: #218585;
    --teal-400: #2ba3a3;
    --teal-300: #4dbfbf;
    --teal-100: #d0f0f0;
    --teal-50:  #e8f8f8;

    --slate-950: #0b1115;
    --slate-900: #111927;
    --slate-800: #1e2d3d;
    --slate-700: #2c3e50;
    --slate-600: #4a6274;
    --slate-500: #6b8a9e;
    --slate-400: #94b3c5;
    --slate-300: #b8d0de;
    --slate-200: #dce8ef;
    --slate-100: #eef4f7;
    --slate-50:  #f6fafc;

    --white: #ffffff;
    --off-white: #f9fcfc;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --nav-h: 72px;
    --container-max: 1200px;
    --radius: 12px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    color: var(--slate-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

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

em {
    font-style: italic;
    color: var(--teal-600);
}

/* ---------- Eyebrow / Section Headers ---------- */
.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-500);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: 100px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal-600);
    color: var(--white);
    border-color: var(--teal-600);
}

.btn-primary:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 46, 46, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--teal-600);
    border-color: var(--teal-600);
}

.btn-outline:hover {
    background: var(--teal-600);
    color: var(--white);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-ghost-light {
    background: transparent;
    color: var(--slate-700);
    border-color: var(--slate-300);
}

.btn-ghost-light:hover {
    border-color: var(--teal-500);
    color: var(--teal-600);
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 1000;
    transition: all var(--transition);
    background: transparent;
}

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

.navbar.scrolled .logo {
    color: var(--slate-900);
}

.navbar.scrolled .nav-links a:not(.btn) {
    color: var(--slate-700);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.02em;
    transition: color var(--transition);
}

.logo .dot {
    color: var(--teal-400);
}

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

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

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--teal-400);
    transition: width var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

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

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: all var(--transition);
    transform-origin: center;
}

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

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

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

/* Mobile menu overlay */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--teal-900);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

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

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

.mobile-link {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--white);
    transition: color var(--transition);
}

.mobile-link:hover {
    color: var(--teal-400);
}

.mobile-link--cta {
    font-family: var(--font-body);
    font-size: 1rem;
    margin-top: 16px;
    padding: 12px 32px;
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 100px;
    color: var(--teal-300);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: 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(
        135deg,
        rgba(10, 46, 46, 0.82) 0%,
        rgba(15, 61, 61, 0.70) 50%,
        rgba(26, 107, 107, 0.55) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding-top: var(--nav-h);
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-300);
    margin-bottom: 20px;
}

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

.hero-headline em {
    color: var(--teal-300);
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 540px;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    z-index: 1;
}

.scroll-indicator span {
    display: block;
    width: 3px;
    height: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
    margin-top: 8px;
    animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.3; }
}

/* ---------- Thin Divider ---------- */
.thin-divider {
    padding: 0;
}

.divider-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--slate-200), transparent);
}

/* ---------- Menu Section ---------- */
.menu-section {
    padding: 120px 0;
    background: var(--off-white);
}

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

.menu-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(11, 17, 21, 0.06);
    transition: all var(--transition);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(11, 17, 21, 0.12);
}

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

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

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

.menu-card-body {
    padding: 32px;
}

.menu-card-body h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: var(--slate-900);
}

.menu-card-body p {
    font-size: 0.9375rem;
    color: var(--slate-600);
    line-height: 1.75;
}

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

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

.about-images {
    position: relative;
    height: 600px;
}

.about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 80%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(11, 17, 21, 0.15);
}

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

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 50%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(11, 17, 21, 0.15);
    border: 4px solid var(--white);
}

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

.about-content {
    max-width: 480px;
}

.about-content p {
    color: var(--slate-600);
    margin-bottom: 20px;
    font-size: 1rem;
}

.about-content p:first-of-type {
    font-size: 1.0625rem;
    color: var(--slate-700);
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--slate-200);
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--teal-600);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--slate-500);
    letter-spacing: 0.02em;
}

/* ---------- Philosophy Strip ---------- */
.philosophy-strip {
    background: var(--teal-900);
    padding: 100px 0;
}

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

.quote-mark {
    font-family: var(--font-serif);
    font-size: 6rem;
    line-height: 1;
    color: var(--teal-700);
    display: block;
    margin-bottom: -20px;
}

.philosophy-quote p {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-style: italic;
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 24px;
}

.philosophy-quote cite {
    font-style: normal;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-400);
}

/* ---------- Location Section ---------- */
.location-section {
    padding: 120px 0;
    background: var(--off-white);
}

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

.location-info {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.info-block h3 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-500);
    margin-bottom: 10px;
}

.info-block p {
    font-size: 1.0625rem;
    color: var(--slate-700);
    line-height: 1.8;
}

.info-block a {
    color: var(--teal-600);
    border-bottom: 1px solid var(--teal-200);
    transition: all var(--transition);
}

.info-block a:hover {
    color: var(--teal-800);
    border-color: var(--teal-600);
}

.btn-directions {
    align-self: flex-start;
    margin-top: 8px;
}

.location-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(11, 17, 21, 0.1);
    min-height: 400px;
}

/* ---------- CTA Section ---------- */
.cta-section {
    background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-600) 100%);
    padding: 100px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-content .btn-ghost-light {
    border-color: rgba(255,255,255,0.35);
    color: var(--white);
}

.cta-content .btn-ghost-light:hover {
    border-color: var(--white);
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--slate-950);
    padding: 80px 0 0;
}

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

.footer-brand .logo {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.8;
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: var(--slate-500);
    transition: color var(--transition);
}

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

.footer-contact p {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.8;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--teal-400);
    transition: color var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding: 24px 0;
}

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

/* ---------- Reveal Animations (progressive enhancement) ---------- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid {
        gap: 48px;
    }
    
    .about-images {
        height: 480px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-h: 64px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content {
        padding-top: calc(var(--nav-h) + 40px);
    }

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

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

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

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

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

    .about-images {
        height: 400px;
        order: -1;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }

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

    .location-map {
        min-height: 300px;
    }

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

    .philosophy-strip {
        padding: 80px 24px;
    }

    .quote-mark {
        font-size: 4rem;
    }
}

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

    .menu-section,
    .about-section,
    .location-section {
        padding: 80px 0;
    }

    .menu-card-body {
        padding: 24px;
    }

    .about-images {
        height: 320px;
    }

    .about-img-main {
        width: 80%;
        height: 85%;
    }

    .about-img-secondary {
        width: 60%;
        height: 55%;
    }
}

/* ---------- 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 !important;
        transform: none !important;
    }
}
