/* ============================================
   White Knight Diner — Styles
   Clean minimalist · Teal + Slate Grey
   ============================================ */

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

: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;
    
    --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;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: 0.3s var(--ease-out);
}

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

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

address {
    font-style: normal;
}

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

/* --- Typography --- */
.section__eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 12px;
}

.section__eyebrow--light {
    color: var(--teal-300);
}

.section__title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--slate-900);
    margin-bottom: 20px;
}

.section__title--light {
    color: #ffffff;
}

.section__desc {
    font-size: 1.0625rem;
    color: var(--slate-500);
    max-width: 560px;
    line-height: 1.8;
}

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

.btn--primary {
    background: var(--teal-600);
    color: #ffffff;
    border: 1.5px solid var(--teal-600);
}

.btn--primary:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
}

.btn--ghost {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.btn--ghost-light {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn--ghost-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.btn--full {
    width: 100%;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all var(--transition);
}

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

.nav--scrolled .nav__logo {
    color: var(--slate-800);
}

.nav--scrolled .nav__link {
    color: var(--slate-600);
}

.nav--scrolled .nav__link:hover {
    color: var(--teal-600);
}

.nav--scrolled .nav__link--cta {
    background: var(--teal-600);
    color: #ffffff !important;
}

.nav__inner {
    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-size: 0.9375rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.02em;
    transition: color var(--transition);
}

.nav__logo-icon {
    color: var(--teal-400);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    padding: 8px 16px;
    font-size: 0.8125rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.03em;
    border-radius: 4px;
    transition: all var(--transition);
}

.nav__link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.nav__link--cta {
    background: var(--teal-600);
    color: #ffffff !important;
    margin-left: 8px;
}

.nav__link--cta:hover {
    background: var(--teal-700);
}

.nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #ffffff;
    border-radius: 4px;
    transition: background var(--transition);
}

.nav__toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--slate-900);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
}

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

.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-menu__link {
    padding: 16px 32px;
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
    transition: all var(--transition);
}

.mobile-menu__link:hover {
    color: #ffffff;
}

.mobile-menu__link--cta {
    margin-top: 16px;
    color: var(--teal-400);
}

/* --- 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(
        135deg,
        rgba(15, 23, 42, 0.82) 0%,
        rgba(15, 23, 42, 0.65) 50%,
        rgba(13, 148, 136, 0.45) 100%
    );
}

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

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

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 24px;
}

.hero__em {
    font-style: italic;
    color: var(--teal-300);
}

.hero__sub {
    font-size: 1.0625rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 480px;
    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: scrollBounce 2s ease-in-out infinite;
}

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

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

.divider__line {
    flex: 1;
    max-width: 200px;
    height: 1px;
    background: var(--slate-200);
}

.divider__icon {
    color: var(--teal-500);
    flex-shrink: 0;
}

/* --- Menu Section --- */
.menu {
    padding: 120px 0;
    background: #ffffff;
}

.section__header {
    text-align: center;
    margin-bottom: 72px;
}

.section__header .section__desc {
    margin: 0 auto;
}

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

.menu__card {
    position: relative;
    background: var(--slate-50);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--slate-100);
    transition: all var(--transition);
}

.menu__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    border-color: var(--teal-100);
}

.menu__card-accent {
    height: 3px;
    background: linear-gradient(90deg, var(--teal-500), var(--teal-400));
}

.menu__card-body {
    padding: 36px 32px;
}

.menu__card-category {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    background: var(--teal-50);
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 16px;
}

.menu__card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--slate-900);
    margin-bottom: 12px;
    line-height: 1.3;
}

.menu__card-desc {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.menu__card-list {
    list-style: none;
}

.menu__card-list li {
    position: relative;
    padding: 8px 0 8px 20px;
    font-size: 0.875rem;
    color: var(--slate-700);
    border-bottom: 1px solid var(--slate-100);
}

.menu__card-list li:last-child {
    border-bottom: none;
}

.menu__card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 6px;
    height: 6px;
    background: var(--teal-400);
    border-radius: 50%;
}

.menu__note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--slate-400);
    font-style: italic;
}

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

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

.about__image {
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 6/7;
}

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

.about__content {
    max-width: 480px;
}

.about__body {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about__stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--slate-200);
}

.stat__number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--teal-600);
    line-height: 1;
    margin-bottom: 8px;
}

.stat__label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-400);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--slate-200);
}

/* --- Hours Section --- */
.hours {
    padding: 120px 0;
    background: #ffffff;
}

.hours__inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hours__inner > *:not(:last-child) {
    margin-bottom: 56px;
}

.hours__inner .section__desc {
    margin: 0 auto;
}

.hours__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    text-align: left;
}

.hours__card {
    background: var(--slate-50);
    border: 1px solid var(--slate-100);
    border-radius: 6px;
    padding: 40px 36px;
}

.hours__card-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--slate-900);
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--slate-200);
}

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

.hours__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--slate-100);
}

.hours__row:last-child {
    border-bottom: none;
}

.hours__day {
    font-size: 0.9375rem;
    color: var(--slate-700);
}

.hours__time {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--teal-700);
}

.hours__address {
    font-size: 1rem;
    color: var(--slate-700);
    line-height: 1.8;
    margin-bottom: 16px;
}

.hours__note {
    font-size: 0.8125rem;
    color: var(--slate-400);
    font-style: italic;
}

/* --- Visit Section --- */
.visit {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.visit__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.visit__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.85) 0%,
        rgba(13, 148, 136, 0.6) 100%
    );
}

.visit__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.visit__text {
    font-size: 1.0625rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 40px;
}

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

/* --- Contact Section --- */
.contact {
    padding: 120px 0;
    background: var(--slate-50);
}

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

.contact__info {
    max-width: 440px;
}

.contact__desc {
    font-size: 1rem;
    color: var(--slate-500);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.contact__icon {
    color: var(--teal-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact__label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 4px;
}

.contact__value {
    display: block;
    font-size: 0.9375rem;
    color: var(--slate-700);
}

.contact__value a {
    color: var(--teal-600);
    transition: color var(--transition);
}

.contact__value a:hover {
    color: var(--teal-700);
}

.contact__form-wrap {
    max-width: 440px;
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: 8px;
}

.form__input {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--slate-800);
    background: #ffffff;
    border: 1.5px solid var(--slate-200);
    border-radius: 4px;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form__input::placeholder {
    color: var(--slate-300);
}

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

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.contact__success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: 6px;
}

.contact__success svg {
    color: var(--teal-500);
    margin-bottom: 20px;
}

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

.contact__success p {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* --- Footer --- */
.footer {
    background: var(--slate-900);
    padding: 64px 0 40px;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

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

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
}

.footer__logo-icon {
    color: var(--teal-400);
}

.footer__tagline {
    font-size: 0.8125rem;
    color: var(--slate-500);
    letter-spacing: 0.05em;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
}

.footer__links a {
    font-size: 0.8125rem;
    color: var(--slate-400);
    transition: color var(--transition);
}

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

.footer__bottom {
    padding-top: 32px;
    border-top: 1px solid var(--slate-800);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer__bottom p {
    font-size: 0.8125rem;
    color: var(--slate-500);
}

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

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

/* --- Scroll Reveal --- */
[data-reveal] {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

@media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
        opacity: 0;
        transform: translateY(24px);
    }
    
    [data-reveal].is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@media (max-width: 768px) {
    .nav__links {
        display: none;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .hero__headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .hero__actions .btn {
        width: 100%;
    }
    
    .menu__grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .about__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about__image {
        aspect-ratio: 16/9;
    }
    
    .about__stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hours__grid {
        grid-template-columns: 1fr;
    }
    
    .visit__actions {
        flex-direction: column;
    }
    
    .visit__actions .btn {
        width: 100%;
    }
    
    .contact__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact__info {
        max-width: 100%;
    }
    
    .contact__form-wrap {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .menu, .about, .hours, .contact {
        padding: 80px 0;
    }
    
    .menu__card-body {
        padding: 28px 24px;
    }
    
    .hours__card {
        padding: 28px 24px;
    }
}
