/*
Theme Name: Beyond the Cup
Theme URI: https://example.com/beyond-the-cup
Author: Beyond the Cup
Description: A lightweight one-page theme for the Beyond the Cup mobile coffee & drink cart. Hero header, upcoming schedule, menu with prices, a "Book Us" call to action, and a footer with contact and social links — all editable in Appearance → Customize.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beyond-the-cup
Tags: one-column, custom-logo, custom-menu, featured-images, food-and-drink
*/

:root {
	--btc-navy: #0e1e2d;
	--btc-navy-2: #16293b;
	--btc-teal: #14b1c4;
	--btc-teal-dark: #0f8d9c;
	--btc-cream: #f6f3ee;
	--btc-paper: #ffffff;
	--btc-ink: #0e1e2d;
	--btc-muted: #5b6875;
	--btc-line: #e2ddd5;
	--btc-radius: 14px;
	--btc-max: 1120px;
	--btc-font-head: "Fraunces", Georgia, "Times New Roman", serif;
	--btc-font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--btc-cream);
	color: var(--btc-ink);
	font-family: var(--btc-font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--btc-teal-dark); }
a:hover { color: var(--btc-navy); }

h1, h2, h3 {
	font-family: var(--btc-font-head);
	font-weight: 600;
	line-height: 1.12;
	margin: 0 0 .5em;
	letter-spacing: -0.01em;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	top: 8px; left: 8px; z-index: 1000;
	background: var(--btc-paper); color: var(--btc-navy);
	padding: 10px 16px; border-radius: 8px;
}

.btc-wrap {
	width: 100%;
	max-width: var(--btc-max);
	margin: 0 auto;
	padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btc-btn {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	background: var(--btc-teal);
	color: var(--btc-navy);
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	padding: 14px 28px;
	border-radius: 999px;
	border: 2px solid var(--btc-teal);
	transition: background .2s, color .2s, transform .2s;
}
.btc-btn:hover,
.btc-btn:focus-visible {
	background: transparent;
	color: var(--btc-teal);
	transform: translateY(-1px);
}
.btc-btn--ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255,255,255,.4);
}
.btc-btn--ghost:hover { border-color: var(--btc-teal); }

:focus-visible { outline: 3px solid var(--btc-teal); outline-offset: 3px; }

/* ---------- Header / Hero ---------- */
.btc-header {
	background: var(--btc-navy);
	color: #fff;
	position: relative;
	overflow: hidden;
}
.btc-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 20px;
	padding-bottom: 20px;
}
.btc-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #fff;
	text-decoration: none;
	font-family: var(--btc-font-head);
	font-size: 1.35rem;
	font-weight: 600;
}
.btc-brand:hover { color: #fff; }
.btc-brand .custom-logo-link { display: block; line-height: 0; }
.btc-brand .custom-logo {
	height: var(--btc-logo-h, 80px);
	max-height: var(--btc-logo-h, 80px);
	width: auto;
	max-width: min(60vw, 520px);
	object-fit: contain;
}
.btc-brand__mark {
	width: 38px; height: 38px;
	border-radius: 50%;
	background: var(--btc-teal);
	display: grid; place-items: center;
	color: var(--btc-navy);
	flex-shrink: 0;
}

.btc-nav ul {
	list-style: none;
	margin: 0; padding: 0;
	display: flex; gap: 24px;
}
.btc-nav a {
	color: rgba(255,255,255,.82);
	text-decoration: none;
	font-size: .95rem;
	font-weight: 500;
}
.btc-nav a:hover { color: var(--btc-teal); }

.btc-hero {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 56px;
	align-items: center;
	padding-top: 40px;
	padding-bottom: 88px;
}
.btc-hero__eyebrow {
	display: inline-block;
	color: var(--btc-teal);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	margin-bottom: 18px;
}
.btc-hero__title {
	font-size: clamp(2.5rem, 5.4vw, 4.25rem);
	color: #fff;
	margin-bottom: 20px;
}
.btc-hero__title em {
	font-style: italic;
	color: var(--btc-teal);
}
.btc-hero__text {
	font-size: 1.15rem;
	color: rgba(255,255,255,.78);
	max-width: 32em;
	margin: 0 0 32px;
}
.btc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btc-hero__media {
	position: relative;
	aspect-ratio: 4 / 5;
	max-height: 560px;
	width: 100%;
	justify-self: end;
}
.btc-hero__media::before {
	content: "";
	position: absolute;
	inset: 22px -22px -22px 22px;
	border: 2px solid var(--btc-teal);
	border-radius: 220px 220px var(--btc-radius) var(--btc-radius);
}
.btc-hero__img,
.btc-hero__placeholder {
	position: relative;
	width: 100%; height: 100%;
	object-fit: cover;
	border-radius: 220px 220px var(--btc-radius) var(--btc-radius);
}
.btc-hero__placeholder {
	background:
		radial-gradient(circle at 50% 38%, rgba(20,177,196,.35), transparent 55%),
		var(--btc-navy-2);
	display: grid;
	place-items: center;
	text-align: center;
	color: rgba(255,255,255,.6);
	font-size: .9rem;
	padding: 24px;
}
.btc-hero__placeholder svg { display: block; width: 96px; height: 96px; color: var(--btc-teal); margin: 0 auto 12px; }
.btc-hero__placeholder > div { max-width: 260px; }

/* ---------- Section shared ---------- */
.btc-section { padding: 88px 0; }
.btc-section__head { margin-bottom: 36px; }
.btc-section__eyebrow {
	color: var(--btc-teal-dark);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	margin: 0 0 8px;
}
.btc-section__title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0; }

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

/* ---------- Schedule ---------- */
.btc-schedule {
	list-style: none;
	margin: 0; padding: 0;
	display: grid;
	gap: 14px;
}
.btc-stop {
	display: grid;
	grid-template-columns: 76px 1fr;
	gap: 18px;
	align-items: center;
	background: var(--btc-paper);
	border: 1px solid var(--btc-line);
	border-radius: var(--btc-radius);
	padding: 14px 18px 14px 14px;
	transition: border-color .2s, transform .2s;
}
.btc-stop:hover { border-color: var(--btc-teal); transform: translateX(2px); }
.btc-stop__date {
	background: var(--btc-navy);
	color: #fff;
	border-radius: 10px;
	text-align: center;
	padding: 10px 4px;
	line-height: 1.1;
}
.btc-stop__dow {
	display: block;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--btc-teal);
}
.btc-stop__day {
	display: block;
	font-family: var(--btc-font-head);
	font-size: 1.5rem;
	font-weight: 600;
	margin-top: 2px;
}
.btc-stop__place {
	font-weight: 700;
	font-size: 1.05rem;
	margin: 0 0 2px;
}
.btc-stop__meta {
	margin: 0;
	color: var(--btc-muted);
	font-size: .93rem;
	display: flex; flex-wrap: wrap; gap: 4px 14px;
}
.btc-stop__meta span { display: inline-flex; align-items: center; gap: 5px; }
.btc-stop__meta svg { width: 15px; height: 15px; color: var(--btc-teal-dark); flex-shrink: 0; }
.btc-empty { color: var(--btc-muted); font-style: italic; }
.btc-schedule-note { margin: 18px 0 0; color: var(--btc-muted); font-size: .93rem; }

/* ---------- Menu ---------- */
.btc-menu {
	background: var(--btc-navy);
	color: #fff;
	border-radius: var(--btc-radius);
	padding: 36px 32px;
	position: relative;
}
.btc-menu .btc-section__eyebrow { color: var(--btc-teal); }
.btc-menu .btc-section__title { color: #fff; }
.btc-menu__list { list-style: none; margin: 24px 0 0; padding: 0; }
.btc-menu__item { padding: 14px 0; border-bottom: 1px dashed rgba(255,255,255,.16); }
.btc-menu__item:last-child { border-bottom: 0; padding-bottom: 0; }
.btc-menu__row {
	display: flex;
	align-items: baseline;
	gap: 10px;
}
.btc-menu__name { font-weight: 700; font-size: 1.05rem; }
.btc-menu__dots {
	flex: 1;
	border-bottom: 2px dotted rgba(255,255,255,.22);
	transform: translateY(-4px);
	min-width: 20px;
}
.btc-menu__price {
	font-family: var(--btc-font-head);
	color: var(--btc-teal);
	font-weight: 600;
	font-size: 1.1rem;
}
.btc-menu__desc { margin: 2px 0 0; color: rgba(255,255,255,.6); font-size: .9rem; }

/* ---------- Booking CTA ---------- */
.btc-cta-wrap { padding: 0 0 88px; }
.btc-cta {
	background: var(--btc-teal);
	color: var(--btc-navy);
	border-radius: calc(var(--btc-radius) * 1.6);
	padding: 64px 56px;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 32px;
	align-items: center;
	position: relative;
	overflow: hidden;
}
.btc-cta::after {
	content: "";
	position: absolute;
	right: -80px; top: -80px;
	width: 280px; height: 280px;
	border-radius: 50%;
	border: 40px solid rgba(14,30,45,.08);
	pointer-events: none;
}
.btc-cta__title { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 10px; color: var(--btc-navy); }
.btc-cta__text { margin: 0; font-size: 1.1rem; max-width: 34em; color: rgba(14,30,45,.82); }
.btc-cta .btc-btn {
	background: var(--btc-navy);
	color: #fff;
	border-color: var(--btc-navy);
	font-size: 1.05rem;
	padding: 16px 34px;
	position: relative;
	z-index: 1;
}
.btc-cta .btc-btn:hover { background: transparent; color: var(--btc-navy); }
.btc-cta__blocks { grid-column: 1 / -1; position: relative; z-index: 1; }
.btc-cta__blocks:empty { display: none; }

/* ---------- Page content (for regular pages/posts) ---------- */
.btc-content { padding: 64px 0 88px; }
.btc-content .entry-title { font-size: clamp(2rem, 4vw, 2.8rem); }
.btc-content .entry-content > * { max-width: 760px; }
.btc-content article + article { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--btc-line); }

/* ---------- Footer ---------- */
.btc-footer {
	background: var(--btc-navy);
	color: rgba(255,255,255,.72);
	padding: 56px 0 32px;
	font-size: .95rem;
}
.btc-footer__top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 28px;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(255,255,255,.1);
}
.btc-footer__name {
	font-family: var(--btc-font-head);
	color: #fff;
	font-size: 1.6rem;
	font-weight: 600;
	margin: 0 0 4px;
}
.btc-footer__email {
	color: var(--btc-teal);
	text-decoration: none;
	font-weight: 500;
	display: inline-flex; align-items: center; gap: 8px;
}
.btc-footer__email:hover { color: #fff; }
.btc-footer__email svg { width: 18px; height: 18px; }
.btc-social { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.btc-social a {
	width: 44px; height: 44px;
	display: grid; place-items: center;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,.2);
	color: #fff;
	transition: background .2s, border-color .2s, color .2s;
}
.btc-social a:hover { background: var(--btc-teal); border-color: var(--btc-teal); color: var(--btc-navy); }
.btc-social svg { width: 19px; height: 19px; }
.btc-footer__bottom {
	padding-top: 24px;
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
	font-size: .85rem;
	color: rgba(255,255,255,.5);
}
.btc-footer__bottom a { color: rgba(255,255,255,.7); }

/* ---------- WordPress core alignment helpers ---------- */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: .85rem; color: var(--btc-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.btc-hero { grid-template-columns: 1fr; gap: 48px; padding-bottom: 64px; }
	.btc-hero__media { max-width: 420px; justify-self: center; aspect-ratio: 1 / 1.05; }
	.btc-main-grid { grid-template-columns: 1fr; }
	.btc-cta { grid-template-columns: 1fr; padding: 48px 32px; }
	.btc-nav { display: none; }
}
@media (max-width: 560px) {
	body { font-size: 16px; }
	.btc-brand .custom-logo { height: min(var(--btc-logo-h, 80px), 90px); max-height: 90px; max-width: 70vw; }
	.btc-wrap { padding: 0 16px; }
	.btc-section { padding: 64px 0; }
	.btc-hero { padding-top: 16px; }
	.btc-hero__media::before { inset: 14px -10px -14px 10px; }
	.btc-menu { padding: 28px 20px; }
	.btc-stop { grid-template-columns: 64px 1fr; gap: 14px; }
	.btc-stop__day { font-size: 1.15rem; white-space: nowrap; }
	.btc-cta { padding: 40px 24px; }
	.btc-cta .btc-btn { width: 100%; justify-content: center; }
	.btc-footer__top { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
