/*
Theme Name:  Ola Amor
Theme URI:   https://qr.finedinemenu.com/ola-amor/menu/61499ae11c6c4700174ccca9
Description: قالب هادئ وراقي لمطعم ومقهى Ola Amor بألوان عاجية وبنية داكنة وتصميم عربي/إنجليزي متجاوب للرئيسية والمنيو الرقمي.
Author:      Ola Amor Team
Version:     1.0.0
Text Domain: ola-amor-theme
Requires at least: 6.0
Requires PHP: 8.0
*/

:root {
  --oa-ivory: #faf6f0;
  --oa-ivory-soft: #f2ebe0;
  --oa-card: #ffffff;
  --oa-espresso: #2c1e16;
  --oa-espresso-mid: #4a3528;
  --oa-muted: #6e5544;
  --oa-bronze: #8c5e3c;
  --oa-border: rgba(44, 30, 22, 0.12);
  --oa-shadow: 0 14px 40px rgba(44, 30, 22, 0.08);
  --oa-radius: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--oa-ivory);
  color: var(--oa-espresso);
  font-family: "Tajawal", "Cairo", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.oa-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 240, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--oa-border);
}

/* WordPress keeps its toolbar fixed only above 600px. */
@media screen and (min-width: 601px) {
  .admin-bar .oa-site-header {
    top: 32px;
  }
}

@media screen and (min-width: 601px) and (max-width: 782px) {
  .admin-bar .oa-site-header {
    top: 46px;
  }
}

.oa-container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 20px;
}

.oa-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 68px;
}

.oa-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.oa-logo-img {
  height: clamp(64px, 11vw, 96px);
  width: auto;
  display: block;
}

.oa-logo-text {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--oa-espresso);
}

.oa-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.oa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--oa-border);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.oa-btn:hover {
  transform: translateY(-1px);
}

.oa-btn--primary {
  background: var(--oa-espresso);
  color: var(--oa-ivory);
  border-color: var(--oa-espresso);
  box-shadow: 0 8px 22px rgba(44, 30, 22, 0.18);
}

.oa-btn--primary:hover {
  background: var(--oa-espresso-mid);
}

.oa-btn--secondary {
  background: var(--oa-card);
  color: var(--oa-espresso);
}

.oa-btn--ghost {
  min-height: 38px;
  padding: 6px 14px;
  font-size: 0.84rem;
  background: var(--oa-ivory-soft);
  color: var(--oa-espresso);
}

.oa-hero {
  padding: clamp(28px, 5vw, 64px) 0 clamp(32px, 5vw, 56px);
}

.oa-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 860px) {
  .oa-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 44px;
  }
}

.oa-hero__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--oa-ivory-soft);
  color: var(--oa-bronze);
  font-size: 0.82rem;
  font-weight: 700;
}

.oa-hero__title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--oa-espresso);
}

.oa-hero__subname {
  display: block;
  margin-top: 6px;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 600;
  color: var(--oa-bronze);
}

.oa-hero__lead {
  margin: 0 0 24px;
  max-width: 52ch;
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: var(--oa-muted);
}

.oa-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.oa-hero__media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: var(--oa-ivory-soft);
  border: 1px solid var(--oa-border);
  box-shadow: var(--oa-shadow);
  aspect-ratio: 4 / 3;
}

.oa-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.oa-hero__fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at top, #f7efe4, #e9dcc9);
  color: var(--oa-espresso);
  text-align: center;
}

.oa-hero__fallback span {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.oa-section {
  padding: 24px 0 42px;
}

.oa-section__title {
  margin: 0 0 18px;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 800;
  color: var(--oa-espresso);
}

.oa-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.oa-dish-card {
  background: var(--oa-card);
  border: 1px solid var(--oa-border);
  border-radius: var(--oa-radius);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(44, 30, 22, 0.05);
  display: flex;
  flex-direction: column;
}

.oa-dish-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--oa-ivory-soft);
}

.oa-dish-card__body {
  padding: 14px 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.oa-dish-card__name {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 800;
}

.oa-dish-card__price {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--oa-bronze);
  white-space: nowrap;
}

.oa-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.oa-info-card {
  background: var(--oa-card);
  border: 1px solid var(--oa-border);
  border-radius: var(--oa-radius);
  padding: 18px 20px;
}

.oa-info-card h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: var(--oa-bronze);
}

.oa-info-card p,
.oa-info-card a {
  margin: 0;
  font-size: 0.95rem;
  color: var(--oa-espresso);
  text-decoration: none;
}

.oa-info-card a:hover {
  text-decoration: underline;
}

.oa-site-footer {
  margin-top: 28px;
  padding: 22px 0 32px;
  border-top: 1px solid var(--oa-border);
  background: var(--oa-ivory-soft);
  color: var(--oa-muted);
  font-size: 0.86rem;
  text-align: center;
}
