/* /assets/css/styles.css
   RestaurantCMS · Third Shift Diner demo
   Cool-night / teal product style, distinct from August Swine BBQ.
*/

:root {
    --bg: #050915;
    --bg-alt: #0b1020;
    --surface: #111827;
    --accent: #34d3c2;
    --accent-soft: #8bf0dd;
    --text: #f5f7ff;
    --muted: #9ca7c4;
    --border-soft: rgba(148, 163, 184, 0.35);
    --radius: 10px;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.75);
    --max-width: 1100px;
    --font-head: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background:
        radial-gradient(circle at top left, #1f2937, #020617);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.5;
}

a {
    color: var(--accent-soft);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Layout shells */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background:
        linear-gradient(to bottom, rgba(6, 10, 25, 0.96), rgba(6, 10, 25, 0.9));
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.site-header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    width: 190px;
    height: 110px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--muted);
}

/* Nav */

.site-nav {
    margin-left: auto;
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 1.25rem;
    padding: 0;
    margin: 0;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.site-nav a {
    color: var(--text);
    position: relative;
    padding-bottom: 0.2rem;
}

.site-nav li.active a::after,
.site-nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.15rem;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-soft));
}

/* Mobile nav toggle */

.nav-toggle {
    display: none;
    margin-left: auto;
    background: none;
    border: 1px solid rgba(148, 163, 184, 0.6);
    border-radius: 6px;
    padding: 0.35rem 0.5rem;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    margin: 3px 0;
}

/* Main / sections */

.site-main {
    min-height: 60vh;
}

.section {
    padding: 3.5rem 1rem;
}

.section-alt {
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.96),
        rgba(9, 9, 18, 0.98)
    );
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.95rem;
    color: var(--accent-soft);
    margin-bottom: 0.75rem;
}

.section-inner > h2:first-child {
    margin-top: 0;
}

.section-inner h2 + p.section-intro {
    margin-top: 0.25rem;
}

.section-intro {
    max-width: 640px;
    color: var(--muted);
    font-size: 0.95rem;
}

.two-column {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.small {
    font-size: 0.85rem;
    color: var(--muted);
}

/* Hero */

.hero {
    position: relative;
    padding: 3.5rem 1rem 2.75rem;
    background:
        radial-gradient(circle at top left, rgba(52, 211, 194, 0.22), transparent 60%),
        radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.12), transparent 65%),
        linear-gradient(180deg, #020617, #050915);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(2, 6, 23, 0.3),
        rgba(2, 6, 23, 0.9)
    );
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    color: var(--accent-soft);
    margin-bottom: 0.85rem;
}

.hero h1 {
    margin: 0 0 0.75rem;
    font-size: 2rem;
    font-family: var(--font-head);
}

.hero-body {
    color: var(--muted);
    font-size: 0.98rem;
    max-width: 34rem;
}

.hero-actions {
    margin-top: 1.25rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Video */

.video-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: #020617;
    aspect-ratio: 16 / 9;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.video-caption {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.5rem;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.3rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(120deg, var(--accent), var(--accent-soft));
    color: #021013;
}

.btn-primary:hover {
    background: linear-gradient(120deg, var(--accent-soft), var(--accent));
    color: #020617;
}

.btn-outline {
    border-color: rgba(148, 163, 184, 0.8);
    color: var(--text);
    background: rgba(15, 23, 42, 0.8);
}

.btn-outline:hover {
    border-color: var(--accent-soft);
    color: var(--accent-soft);
    background: rgba(15, 23, 42, 1);
}

/* Links */

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-top: 1rem;
}

/* Story teaser */

.story-image img,
.story-photo {
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    width: 100%;
    display: block;
}

/* Menu cards */

.menu-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.menu-card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    transition:
        transform 0.16s ease-out,
        box-shadow 0.16s ease-out,
        border-color 0.16s ease-out,
        background 0.16s ease-out;
}

.menu-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
}

.menu-card-body {
    padding: 0.85rem 1rem 1rem;
}

.menu-card-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.98rem;
}

.menu-card-title .price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-weight: 700;
    color: var(--accent-soft);
    font-size: 0.9rem;
    line-height: 1.2;
}

/* Original price (when discounted) */
.menu-card-title .price-old {
    text-decoration: line-through;
    color: rgba(148, 163, 184, 0.7);
    font-weight: 400;
}

/* Discount price – highlight it */
.menu-card-title .price-new {
    color: var(--accent-soft);
    font-weight: 600;
}

/* When there’s no discount (single price) */
.menu-card-title .price:not(:has(.price-old)) {
    color: var(--accent-soft);
    font-weight: 600;
}

.menu-card-meta {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    margin: 0.15rem 0 0.4rem;
}

.menu-card-desc {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
}

.menu-note {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: var(--accent-soft);
}

.section-cta-center {
    margin-top: 2rem;
    text-align: center;
}

/* Kin / demo accounts */

.section-kin {
    background:
        radial-gradient(circle at top, rgba(52, 211, 194, 0.16), rgba(2, 6, 23, 0.98));
}

.kin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* Tablets: 2 across */
@media (max-width: 900px) {
    .kin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Phones: 1 across */
@media (max-width: 600px) {
    .kin-grid {
        grid-template-columns: 1fr;
    }
}

.kin-card {
    text-align: center;
    background: rgba(15, 23, 42, 0.97);
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
    padding: 1.25rem 1rem 1.4rem;
    box-shadow: var(--shadow-soft);
}

.kin-image {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    object-fit: cover;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-soft);
}

.kin-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
}

.kin-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

/* Page hero */

.page-hero {
    position: relative;
    padding: 4rem 1rem 3rem;
    background:
        radial-gradient(circle at top left, rgba(52, 211, 194, 0.18), transparent 65%),
        linear-gradient(180deg, #020617, #050915);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.page-hero-small {
    padding-top: 3rem;
    padding-bottom: 2.5rem;
}

.page-hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.page-hero-inner h1 {
    margin: 0 0 0.5rem;
    font-family: var(--font-head);
    font-size: 1.8rem;
}

.page-hero-inner p {
    margin: 0;
    color: var(--muted);
}

/* Story layout */

.story-layout {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
    align-items: flex-start;
}

.story-main p {
    margin-bottom: 1rem;
    color: #dde3ff;
}

.story-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.story-side-card {
    background: rgba(15, 23, 42, 0.97);
    border-radius: var(--radius);
    padding: 1.25rem;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

/* Contact form */

.contact-form {
    margin-top: 0.5rem;
    max-width: 480px;
}

.form-row {
    margin-bottom: 1rem;
}

.form-row label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border-radius: 6px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.96);
    color: var(--text);
    font-size: 0.9rem;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: rgba(148, 163, 184, 0.7);
}

/* Map placeholder / contact map */

.map-placeholder {
    border-radius: var(--radius);
    border: 1px dashed rgba(148, 163, 184, 0.6);
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.96);
    color: var(--muted);
    font-size: 0.9rem;
}

.contact-map-card {
    max-width: 480px;
    margin: 0 auto;
}

.contact-map-thumb img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Menu card hover / interactions */

.menu-card:hover,
.menu-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.9);
    border-color: rgba(52, 211, 194, 0.6);
    background: rgba(6, 12, 30, 0.98);
}

.menu-card-name {
    flex: 1 1 auto;
    min-width: 0;
}

/* Sold-out visual treatment */

.menu-card-soldout .menu-card-image {
    filter: grayscale(0.9) saturate(0.6);
    opacity: 0.7;
}

.menu-card-soldout .menu-card-meta strong {
    color: #f97373;
}

.menu-card-soldout .menu-card-title,
.menu-card-soldout .menu-card-desc {
    opacity: 0.9;
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .menu-category-pill,
    .menu-card {
        transition: none;
    }
}

/* Footer */

.site-footer {
    margin-top: 3rem;
    padding: 2.5rem 1rem 1.5rem;
    background:
        radial-gradient(circle at top, rgba(52, 211, 194, 0.1), transparent 60%),
        linear-gradient(to top, #020617, #020617);
    border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.75rem;
}

.footer-logo {
    width: 160px;
    height: 160px;
    object-fit: contain;
    margin-bottom: 0.4rem;
}

.footer-name {
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.footer-tagline {
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.footer-block h4 {
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.8rem;
    color: var(--accent-soft);
}

.footer-block p {
    margin: 0.1rem 0;
    font-size: 0.9rem;
}

/* Social links */

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    text-decoration: none;
    color: #f5f7ff;
    margin: 0;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(52, 211, 194, 0.5);
    background: radial-gradient(circle at top left, rgba(52, 211, 194, 0.14), rgba(15, 23, 42, 0.96));
    transition:
        background 0.15s ease,
        transform 0.15s ease,
        border-color 0.15s ease;
}

.social-links a i {
    font-size: 0.95rem;
}

.social-links a:hover {
    border-color: rgba(139, 240, 221, 0.95);
    background: radial-gradient(circle at top left, rgba(139, 240, 221, 0.25), rgba(15, 23, 42, 0.98));
    transform: translateY(-1px);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    padding-top: 0.75rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
}

/* Responsive layout tweaks */

@media (max-width: 800px) {
    .hero-inner,
    .two-column,
    .story-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 2.75rem;
    }
}

@media (max-width: 720px) {
    .site-header-inner {
        align-items: center;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: rgba(6, 10, 25, 0.98);
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.16s ease-out;
    }

    .site-nav ul {
        flex-direction: column;
        padding: 0.75rem 1rem 1rem;
    }

    .nav-toggle {
        display: inline-block;
    }

    .site-nav.open {
        opacity: 1;
        pointer-events: auto;
    }
}

/* Menu page – category pills */

.section-menu-nav {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    background:
        radial-gradient(circle at top, rgba(52, 211, 194, 0.14), rgba(9, 9, 18, 0.98));
}

.menu-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.7) transparent;
}

.menu-category-nav::-webkit-scrollbar {
    height: 4px;
}

.menu-category-nav::-webkit-scrollbar-track {
    background: transparent;
}

.menu-category-nav::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.7);
    border-radius: 999px;
}

.menu-category-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.98);
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    white-space: nowrap;
    text-decoration: none;
    transition:
        background 0.16s ease-out,
        color 0.16s ease-out,
        border-color 0.16s ease-out,
        box-shadow 0.16s ease-out,
        transform 0.16s ease-out;
}

.menu-category-pill:hover,
.menu-category-pill:focus-visible {
    background: rgba(6, 12, 30, 1);
    border-color: var(--accent-soft);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.8);
    transform: translateY(-1px);
    text-decoration: none;
}

/* Menu section header */

.menu-section-header {
    border-left: 3px solid rgba(52, 211, 194, 0.65);
    border-right: 3px solid rgba(52, 211, 194, 0.18);
    padding: 0 0.75rem 0.75rem;
    margin-bottom: 0.75rem;
}

/* Category banner image */

.menu-section-header-image {
    margin: 1.25rem 0 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.45);
    height: 220px;
}

.menu-section-header-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .menu-section-header-image {
        height: 180px;
    }
}

/* Business hours list */

.hours-list {
    margin: 0.5rem 0 0;
    padding: 0;
    font-size: 0.9rem;
}

.hours-row {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    gap: 0.85rem;
    font-size: 0.9rem;
}

.hours-row + .hours-row {
    margin-top: 0.15rem;
}

.hours-row dt {
    font-weight: 600;
}

.hours-row dd {
    margin: 0;
    color: var(--muted);
}

.hours-list-footer {
    font-size: 0.85rem;
}

/* Contact form honeypot (hidden from humans) */

.hp-field-wrap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Placeholder menu images smaller */

.menu-card-image-placeholder {
    height: 130px;
    object-fit: contain;
    opacity: 0.85;
}

/* Back to top button */

.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    background: rgba(6, 12, 30, 0.98);
    color: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.9);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.16s ease-out, transform 0.16s ease-out;
    z-index: 50;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
