/* Restaurant Classic. Colours come from CSS variables; /api/technotouch/theme.css overrides --tt-brand / --tt-accent / --tt-heading per restaurant. */
:root {
    --tt-brand: #1c1411;
    --tt-accent: #c8963e;
    --tt-heading: #2a1d17;
    --rc-cream: #faf6ef;
    --rc-ink: #2b2420;
    --rc-dark: #17100d;
    --rc-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --rc-font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

html, body { overflow-x: hidden; }
body { font-family: var(--rc-font-body); color: var(--rc-ink); background: var(--rc-cream); line-height: 1.65; }
h1, h2, h3, h4, h5, h6 { font-family: var(--rc-font-head); }
main.my-5 { margin-top: 0 !important; margin-bottom: 0 !important; }
main > .container, main > article, main > div:not(.rc-home) { padding-top: 1.5rem; padding-bottom: 1.5rem; }

.skip-link { position: absolute; left: 8px; top: 8px; z-index: 2000; background: #fff; padding: .5rem 1rem; }

/* Buttons: gold accent */
.btn-danger { background: var(--tt-accent); border-color: var(--tt-accent); color: #1a1208; font-weight: 600; }
.btn-danger:hover, .btn-danger:focus { background: color-mix(in srgb, var(--tt-accent) 82%, #000); border-color: transparent; color: #fff; }
.btn-outline-light:hover { color: var(--rc-dark); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1030; transition: background-color .3s, box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
body.has-hero header.site-header:not(.is-scrolled) { position: fixed; top: 0; left: 0; right: 0; background: transparent !important; box-shadow: none; }
@media (max-width: 991.98px) {
    body.has-hero header.site-header:not(.is-scrolled) .navbar-collapse { background: rgba(23, 16, 13, .96); padding: .5rem 1rem; border-radius: .5rem; }
}
/* .navbar's own padding beats .container's side padding when both classes sit on the same element */
.site-header .navbar { padding-left: 15px; padding-right: 15px; }
.site-logo { max-height: 56px; width: auto; }
.site-name { font-family: var(--rc-font-head); font-size: 1.4rem; color: #fff; }
.order-now-mobile { white-space: nowrap; }

.navbar-collapse .menu, .navbar-collapse ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; }
@media (min-width: 992px) { .navbar-collapse .menu, .navbar-collapse > nav > ul, .navbar-collapse > ul { justify-content: flex-end; flex: 1; } .navbar-collapse { justify-content: flex-end; } }
.navbar-collapse li a { color: rgba(255, 255, 255, .9); text-decoration: none; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; padding: .5rem 0; display: inline-block; border-bottom: 2px solid transparent; }
.navbar-collapse li a:hover, .navbar-collapse li.active > a, .navbar-collapse li.current > a { color: var(--tt-accent); border-bottom-color: var(--tt-accent); }
@media (max-width: 991.98px) { .navbar-collapse .menu, .navbar-collapse ul { flex-direction: column; gap: 0; } }

/* Hero */
.rc-hero { min-height: 92vh; display: flex; align-items: center; background-size: cover; background-position: center; color: #fff; padding: 7rem 0 4rem; }
.rc-eyebrow { text-transform: uppercase; letter-spacing: .3em; font-size: .8rem; color: var(--tt-accent); margin-bottom: .5rem; }
.rc-hero-title { font-size: clamp(2.4rem, 7vw, 4.8rem); font-weight: 700; line-height: 1.1; color: #fff !important; text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }
.rc-hero-lead { max-width: 640px; margin: 1.25rem auto 0; font-size: 1.15rem; opacity: .92; }
.rc-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2rem; }
.rc-status { margin-top: 2rem; font-size: .95rem; }

/* Sections */
.rc-section { padding: 4.5rem 0; }
.rc-title { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 600; margin: 0; }
.rc-rule { width: 64px; height: 3px; background: var(--tt-accent); margin: 1rem auto 1.75rem; border-radius: 2px; }
.rc-prose { font-size: 1.05rem; }
.rc-about .rc-prose { max-width: 760px; margin: 0 auto; }

.rc-dark, .rc-cta { background: var(--rc-dark); color: #f2e9dc; }
.rc-dark .rc-title, .rc-cta .rc-title { color: #fff !important; }
.rc-alt-b { background: #f1e8d9; }

/* Dish cards */
.rc-card { background: #241a15; border-radius: 14px; overflow: hidden; border: 1px solid rgba(200, 150, 62, .18); transition: transform .25s, box-shadow .25s; }
.rc-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .4); }
.rc-card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.rc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.rc-card:hover .rc-card-img img { transform: scale(1.05); }
.rc-card-body { padding: 1.25rem 1.25rem 1.5rem; text-align: center; }
.rc-card-body h3 { font-size: 1.3rem; color: #fff !important; }
.rc-card-body p { font-size: .95rem; opacity: .8; }

/* Category chips */
.rc-chips { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.rc-chip { padding: .6rem 1.4rem; border: 1px solid var(--tt-accent); border-radius: 999px; color: var(--rc-ink); text-decoration: none; font-weight: 500; transition: background .2s, color .2s; }
.rc-chip:hover { background: var(--tt-accent); color: #1a1208; }

/* Image tiles + lightbox */
.rc-tile { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px; }
.rc-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.rc-tile:hover img { transform: scale(1.06); }
.rc-lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(0, 0, 0, .88); display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.rc-lightbox[hidden] { display: none; }
.rc-lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }
.rc-lightbox-close { position: absolute; top: .75rem; right: 1.25rem; background: none; border: 0; color: #fff; font-size: 2.5rem; line-height: 1; cursor: pointer; }

/* Footer */
.site-footer { background: color-mix(in srgb, var(--tt-brand) 70%, #000); }
.site-footer a { color: var(--tt-accent); }

/* Keep existing ordering/menu/login pages tidy under the dark header */
body:not(:has(.rc-hero)) main { padding-top: 1rem; }
.form-horizontal, .auth-form { padding: 20px; max-width: 400px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Awards strip */
.rc-awards { background: var(--rc-dark); color: #f2e9dc; padding: 1.75rem 0; border-top: 1px solid rgba(200, 150, 62, .25); border-bottom: 1px solid rgba(200, 150, 62, .25); }
.rc-award-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: center; align-items: center; text-align: center; }
.rc-award-list li { display: flex; flex-direction: column; align-items: center; gap: .15rem; }
.rc-award-list img { max-height: 64px; width: auto; margin-bottom: .35rem; }
.rc-award-list strong { font-family: var(--rc-font-head); color: var(--tt-accent); font-weight: 600; }
.rc-award-list span { font-size: .85rem; opacity: .8; }

/* About photo */
.rc-photo { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }
.rc-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Reviews */
.rc-review { background: #fff; border-radius: 14px; padding: 1.75rem; margin: 0; border-left: 4px solid var(--tt-accent); box-shadow: 0 6px 20px rgba(0, 0, 0, .08); }
.rc-review blockquote { font-family: var(--rc-font-head); font-size: 1.15rem; margin: 0 0 1rem; }
.rc-review figcaption { font-weight: 600; font-size: .9rem; }
.rc-review figcaption span { font-weight: 400; opacity: .7; }

/* Private hire / events cards */
.rc-feature { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 20px rgba(0, 0, 0, .1); display: flex; flex-direction: column; }
.rc-feature-img { aspect-ratio: 16 / 10; overflow: hidden; }
.rc-feature-img img { width: 100%; height: 100%; object-fit: cover; }
.rc-feature-body { padding: 1.25rem 1.25rem 1.5rem; text-align: center; }
.rc-feature-body h3 { font-size: 1.25rem; }

/* Gallery masonry */
.rc-masonry { column-count: 3; column-gap: .75rem; }
.rc-masonry .rc-tile { aspect-ratio: auto; margin-bottom: .75rem; break-inside: avoid; }
.rc-masonry .rc-tile img { height: auto; }
@media (max-width: 767.98px) { .rc-masonry { column-count: 2; } }

/* Contact */
.rc-sub { font-family: var(--rc-font-body); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--tt-accent); margin: 1.25rem 0 .25rem; }
.rc-sub:first-child { margin-top: 0; }
.rc-pre { white-space: pre-line; }
.rc-hours .table { --bs-table-bg: transparent; font-size: .95rem; max-width: 460px; }
.rc-map { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 10px 28px rgba(0, 0, 0, .2); }
.rc-map iframe { width: 100%; height: 100%; border: 0; }
.rc-social { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.rc-social a, #contact a { color: var(--rc-ink); text-decoration-color: var(--tt-accent); }
.rc-social a:hover, #contact a:hover { color: var(--tt-accent); }

/* Split hero: award poster on the left, content panel on the right */
.rc-hero-split { padding: 7.5rem 0 4rem; }
.rc-hero-split .rc-hero-title { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 500; line-height: 1.1; }
.rc-hero-poster { margin: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 18px 44px rgba(0, 0, 0, .55); max-width: 520px; margin-inline: auto; }
.rc-hero-poster img { display: block; width: 100%; height: auto; }
.rc-hero-panel { background: color-mix(in srgb, var(--tt-brand) 78%, transparent); backdrop-filter: blur(4px); border: 1px solid rgba(200, 150, 62, .35); border-radius: 6px; padding: 2rem 2.25rem; box-shadow: 0 18px 44px rgba(0, 0, 0, .4); }
.rc-hero-panel .rc-hero-lead { margin: 1.25rem 0 0; max-width: none; font-size: 1.05rem; text-align: left; }
.rc-hero-panel .rc-hero-actions { justify-content: flex-start; }
.rc-hero-panel .rc-status { margin-top: 1.5rem; }
.rc-hero-badge { display: block; width: 130px; height: auto; margin-bottom: 1rem; }
@media (max-width: 991.98px) {
    .rc-hero-split { padding-top: 6rem; }
    .rc-hero-panel { padding: 1.5rem; }
    .rc-hero-poster { max-width: 420px; }
}

/* Award photo grid */
.rc-photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.rc-photo-grid .rc-tile { aspect-ratio: 1 / 1; margin: 0; }
.rc-photo-grid[data-collapsed="true"] .rc-extra { display: none; }
@media (max-width: 991.98px) { .rc-photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575.98px) { .rc-photo-grid { grid-template-columns: repeat(2, 1fr); } }

/* The takeaway status card brings its own white box and 50px margin; tuck it into the hero panel */
.rc-hero-panel .takeaway-card { margin: 1.5rem 0 0; max-width: none; padding: 0; box-shadow: none; background: transparent; }
.rc-hero-panel .takeaway-status-card { color: var(--rc-ink); }
.rc-hero-split .rc-status .takeaway-card { text-align: left; }
.rc-hero:not(.rc-hero-split) .takeaway-card { margin: 1.5rem auto 0; }
