/*
 * Orhan Usta: sipariş sitesi, QR menü ve tanıtım sayfası için marka stili (Sofra 0.31+; app.css'ten sonra yüklenir).
 * Renkler ve yazı tipleri Sofra'nın --s-* değişkenlerinden gelir (Görünüm & tema > Orhan Usta).
 * Dış kaynak yüklenmez.
 */

:root {
	--ou-ink: #2A1410;
	--ou-cream: #FFF4E4;
	--ou-lemon: #F4C542;
	--ou-night: 26 10 7; /* kapak karartması (rgb) */
}

/*
 * Başlık yazı tipi yüklenemezse (ör. yazı tipi ayarı "Sistem") sistemin düz yazı tipine düşülür; satırlar
 * Türkçe büyük harflerin noktaları ve çengelleri (İ, Ç, Ğ, Ö, Ü, Ş) üst üste binmeyecek aralıktadır.
 */
html[data-theme="orhanusta"] {
	--s-display: "Bricolage Grotesque", "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Genel: isot taneli zemin ---------- */
html[data-theme="orhanusta"] .app {
	background-image: radial-gradient(color-mix(in srgb, var(--s-primary) 9%, transparent) 1.1px, transparent 1.6px);
	background-size: 24px 24px;
}
html[data-theme="orhanusta"] .masthead { border-top: 4px solid var(--s-primary); }
html[data-theme="orhanusta"] :is(.cat__title, .sheet__title, .pd__name, .info__name, .aside-card__title, .done-hero__title, .footer strong) {
	letter-spacing: -.015em;
	font-weight: 800;
	line-height: 1.12;
}
html[data-theme="orhanusta"] .cat__title { font-size: 1.7rem; }
html[data-theme="orhanusta"] .pd__name { font-size: 1.85rem; }
html[data-theme="orhanusta"] .info__name { font-size: 1.3rem; }
/* Şubeler alt bölümde kartlar hâlinde; altlıkta tekrar listelenmez. */
.brand-slot--bottom ~ .footer .branches { display: none; }

/* ---------- Ortak parçalar ---------- */
.ou-ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ou-eyebrow { margin: 0; font: 700 .76rem/1.25 var(--s-body); letter-spacing: .14em; text-transform: uppercase; color: var(--s-primary); }
.ou-h { margin: 6px 0 0; font: 800 clamp(1.65rem, 6vw, 2.2rem)/1.12 var(--s-display); letter-spacing: -.02em; color: var(--s-text); text-wrap: balance; }
.ou-sub { margin: 8px 0 0; color: var(--s-muted); max-width: 60ch; }
.ou-sub span { display: block; margin-top: 2px; font-size: .9rem; }
.ou-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 18px; border-radius: 14px; border: 1px solid transparent;
	font: 700 1rem/1 var(--s-body); text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.ou-btn:active { transform: translateY(1px) scale(.99); }
.ou-btn--main { background: var(--s-primary); color: var(--s-on-primary); box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--s-primary) 80%, transparent); }
.ou-btn--main:hover { background: color-mix(in srgb, var(--s-primary) 88%, #000); }
.ou-btn--glass { background: rgb(255 244 228 / .14); color: var(--ou-cream); border-color: rgb(255 244 228 / .32); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ou-btn--glass:hover { background: rgb(255 244 228 / .22); }
.ou-btn--line { min-height: 42px; padding: 0 14px; border-radius: 12px; background: var(--s-surface); color: var(--s-text); border-color: var(--s-line); font-size: .92rem; }
.ou-btn--line:hover { border-color: color-mix(in srgb, var(--s-primary) 45%, transparent); color: var(--s-primary); }
.ou-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Kapak (üst bölüm) ---------- */
.ou-hero {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; min-height: 300px; margin: 12px 16px 0;
	border-radius: 26px; background: var(--ou-ink); color: var(--ou-cream);
	box-shadow: 0 24px 48px -30px rgb(var(--ou-night) / .8);
}
.ou-hero__media { position: absolute; inset: 0; z-index: -1; }
.ou-hero__media img, .ou-hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.ou-hero__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgb(var(--ou-night) / .25) 0%, rgb(var(--ou-night) / .62) 38%, rgb(var(--ou-night) / .93) 78%);
}
.ou-hero__in { position: relative; display: grid; align-content: end; gap: 10px; width: 100%; padding: 18px 18px 18px; }
/* Telefonda rozet sağ üst köşede, yazıya yer kalsın. */
.ou-hero__badge { position: absolute; top: 14px; right: 14px; width: 64px; height: 64px; filter: drop-shadow(0 8px 18px rgb(0 0 0 / .4)); }
.ou-hero__txt { padding-top: 46px; }
.ou-hero .ou-eyebrow { color: var(--ou-lemon); }
.ou-hero__t { margin: 8px 0 0; font: 800 clamp(2rem, 8.4vw, 3.5rem)/1.08 var(--s-display); letter-spacing: -.025em; text-wrap: balance; }
.ou-hero__t span { display: block; }
.ou-hero__t span:first-child { color: var(--ou-lemon); font-size: .6em; line-height: 1.2; letter-spacing: -.01em; margin-bottom: .12em; }
.ou-hero__lead { margin: 8px 0 0; max-width: 40ch; font-size: .95rem; line-height: 1.4; color: rgb(255 244 228 / .9); }
.ou-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.ou-facts li {
	display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px;
	background: rgb(255 244 228 / .12); border: 1px solid rgb(255 244 228 / .2); font-size: .86rem; line-height: 1.2;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ou-facts .ou-ico { width: 16px; height: 16px; color: var(--ou-lemon); }
.ou-facts b { font-weight: 700; }
.ou-dot { opacity: .6; }
.ou-cta { display: flex; gap: 8px; margin-top: 6px; }
.ou-cta .ou-btn--main { flex: 1 1 auto; }
.ou-call { flex: 0 0 auto; }
.ou-call__a { display: none; }
@media (max-width: 459px) {
	.ou-call__n { display: none; }
	.ou-call__a { display: inline; }
	.ou-facts__area { display: none !important; } /* Semt sipariş kartında da yazar. */
}

/* ---------- Alt bölümler ---------- */
.ou-bottom { display: grid; gap: 16px; margin: 36px 16px 0; }
.ou-band { padding: 22px 18px; border-radius: 24px; background: var(--s-surface); border: 1px solid var(--s-line); box-shadow: var(--s-card-shadow); }
.ou-branches { display: grid; gap: 12px; margin-top: 16px; }
.ou-branch {
	position: relative; display: grid; gap: 10px; padding: 16px; border-radius: 18px;
	background: color-mix(in srgb, var(--s-bg) 70%, var(--s-surface)); border: 1px solid var(--s-line);
}
.ou-branch__top { display: flex; align-items: flex-start; gap: 12px; }
.ou-branch__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; flex: none; background: var(--s-primary); color: var(--s-on-primary); }
.ou-branch__ico .ou-ico { width: 22px; height: 22px; }
.ou-branch h3 { margin: 2px 0 0; font: 800 1.3rem/1.15 var(--s-display); letter-spacing: -.015em; }
.ou-tag { display: inline-block; margin-top: 6px; padding: 3px 9px; border-radius: 999px; font-size: .76rem; font-weight: 700; line-height: 1.3; color: var(--s-accent); background: color-mix(in srgb, var(--s-accent) 12%, transparent); }
.ou-branch__addr { margin: 0; color: var(--s-muted); line-height: 1.45; }
.ou-branch__hours { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .92rem; }
.ou-branch__hours .ou-ico { width: 16px; height: 16px; color: var(--s-primary); }
.ou-branch__act { display: flex; flex-wrap: wrap; gap: 8px; }
.ou-branch__act .ou-btn { flex: 1 1 auto; }

.ou-zone-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.ou-zone-list li {
	display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px;
	font-size: .92rem; font-weight: 600; line-height: 1.2;
	background: color-mix(in srgb, var(--s-accent) 9%, var(--s-surface)); border: 1px solid color-mix(in srgb, var(--s-accent) 24%, transparent);
}
.ou-zone-list .ou-ico { width: 15px; height: 15px; color: var(--s-accent); }
.ou-zones__foot { display: grid; gap: 10px; margin-top: 18px; }
.ou-note { margin: 0; font-size: .92rem; color: var(--s-muted); }
.ou-note a { color: var(--s-primary); font-weight: 700; text-decoration: none; white-space: nowrap; }

.ou-about { display: grid; gap: 18px; }
.ou-about__img { margin: 0; overflow: hidden; border-radius: 18px; aspect-ratio: 4 / 3; background: var(--s-muted-bg); }
.ou-about__img img { width: 100%; height: 100%; object-fit: cover; }
.ou-about__p { margin: 10px 0 0; line-height: 1.6; }
.ou-points { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.ou-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ou-points .ou-ico { box-sizing: content-box; width: 18px; height: 18px; padding: 8px; border-radius: 50%; color: var(--s-primary); background: color-mix(in srgb, var(--s-primary) 10%, transparent); }

@media (max-width: 359px) {
	.ou-hero, .ou-bottom { margin-left: 10px; margin-right: 10px; }
	.ou-btn { padding: 0 14px; }
}

/* ---------- Tablet ---------- */
@media (min-width: 760px) {
	.ou-hero { margin: 18px 20px 0; min-height: 380px; }
	.ou-hero__media::after { background: linear-gradient(90deg, rgb(var(--ou-night) / .94) 0%, rgb(var(--ou-night) / .82) 42%, rgb(var(--ou-night) / .2) 78%, rgb(var(--ou-night) / .05) 100%); }
	.ou-hero__media img, .ou-hero__media video { object-position: 80% 50%; }
	.ou-hero__in { grid-template-columns: auto minmax(0, 1fr); align-items: center; align-content: center; gap: 26px; padding: 32px 34px; max-width: 760px; }
	.ou-hero__badge { position: static; width: 124px; height: 124px; align-self: start; margin-top: 8px; }
	.ou-hero__txt { padding-top: 0; }
	.ou-cta .ou-btn--main { flex: 0 0 auto; }
	.ou-bottom { margin: 44px 20px 0; gap: 20px; }
	.ou-band { padding: 28px 28px; }
	.ou-branches { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
	.ou-zones__foot { grid-template-columns: auto 1fr; align-items: center; gap: 16px; }
	.ou-about { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 28px; }
}

/* ---------- Masaüstü ---------- */
@media (min-width: 1080px) {
	.ou-hero { max-width: 1176px; margin: 24px auto 0; min-height: 400px; border-radius: 30px; }
	.ou-hero__in { padding: 44px 52px; gap: 34px; max-width: 820px; }
	.ou-hero__badge { width: 156px; height: 156px; }
	.ou-hero__t { font-size: 3.6rem; }
	.ou-hero__lead { font-size: 1.08rem; max-width: 48ch; }
	.ou-bottom { max-width: 1176px; margin: 56px auto 0; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
	.ou-bottom > .ou-about { grid-column: 1 / -1; }
	.ou-bottom > .ou-band:only-child { grid-column: 1 / -1; }
	.ou-branches { grid-template-columns: 1fr; }
	.ou-band { padding: 32px; }
}

@media (prefers-reduced-motion: reduce) {
	.ou-btn { transition: none; }
}
