/* Al Noor Cafeteria */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');

body.theme-cafe {
  --display: "Playfair Display", Georgia, serif;
  --bg: #f5efe6;
  --text: #1a1208;
  --muted: #6b5744;
  --card: #fffdf9;
  --accent: #c8862a;
  --accent-dk: #1a1008;
  --wa: #2d8a52;
  --border: rgba(60, 38, 12, 0.1);
  background: var(--bg);
  color: var(--text);
}

body.theme-cafe .site-header {
  background: var(--accent-dk);
  color: #f5e6d0;
  border-bottom: 3px solid var(--accent);
}

body.theme-cafe .brand strong { font-family: var(--display); font-weight: 700; }
body.theme-cafe .brand span { color: rgba(245, 230, 208, 0.6); }

body.theme-cafe .site-nav a {
  color: rgba(245, 230, 208, 0.7);
}

body.theme-cafe .site-nav a:hover,
body.theme-cafe .site-nav a.is-active {
  color: #f0c878;
  background: rgba(200, 134, 42, 0.15);
}

body.theme-cafe .lang-btn {
  border-color: rgba(245, 230, 208, 0.25);
  color: #f5e6d0;
}

body.theme-cafe .nav-toggle { color: #f5e6d0; }

@media (max-width: 768px) {
  body.theme-cafe .site-nav {
    background: var(--accent-dk);
    border-color: rgba(200, 134, 42, 0.2);
  }
}

/* Hero */
.cafe-hero {
  background:
    linear-gradient(135deg, rgba(0,0,0,0.55), rgba(0,0,0,0.25)),
    linear-gradient(160deg, #3d2510 0%, #1a1008 100%);
  color: #fff8ef;
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.cafe-hero .container {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .cafe-hero .container { grid-template-columns: 1.2fr 0.8fr; }
}

.cafe-hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  max-width: 14ch;
}

.cafe-hero .lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  opacity: 0.85;
  max-width: 42ch;
  margin: 0 0 1.25rem;
}

.cafe-hero .badge {
  display: inline-block;
  background: rgba(200, 134, 42, 0.25);
  color: #f0c878;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.cafe-hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

.cafe-hero-card .live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ff8a8a;
  margin-bottom: 0.65rem;
}

.cafe-hero-card .live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff4444;
  animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.cafe-hero-card h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
}

.cafe-hero-card p { margin: 0; opacity: 0.8; font-size: 0.88rem; }
.cafe-hero-card .deal { font-size: 1.25rem; font-weight: 700; color: #f0c878; margin-top: 0.65rem; }

body.theme-cafe .page-head {
  background: linear-gradient(160deg, #1a1008 0%, #3d2510 100%);
  color: #fff8ef;
  margin-bottom: 2rem;
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--pad);
  max-width: none;
  width: 100%;
}

body.theme-cafe .page-head h1 { font-family: var(--display); color: #fff8ef; }
body.theme-cafe .page-head p { color: rgba(245, 230, 208, 0.8); opacity: 1; }
body.theme-cafe .page-head .eyebrow { color: #f0c878; }

body.theme-cafe .btn-primary {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 6px 20px rgba(45, 138, 82, 0.3);
}

body.theme-cafe .btn-ghost {
  color: #fff8ef;
  border-color: rgba(255,255,255,0.3);
}

/* Sections */
.cafe-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.cafe-section h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin: 0 0 1.25rem;
}

body.theme-cafe .eyebrow { color: var(--accent); }

/* Feature row */
.cafe-features {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 600px) {
  .cafe-features { grid-template-columns: 1fr; }
}

.cafe-feat {
  background: var(--card);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 4px 20px rgba(60, 38, 12, 0.06);
}

.cafe-feat .icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.cafe-feat strong { display: block; font-size: 0.92rem; }
.cafe-feat span { font-size: 0.78rem; color: var(--muted); }

/* Page links */
.cafe-links {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .cafe-links { grid-template-columns: repeat(2, 1fr); }
}

.cafe-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(60, 38, 12, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cafe-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(60, 38, 12, 0.1);
  text-decoration: none;
}

.cafe-link .ico {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: rgba(200, 134, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.cafe-link strong { display: block; font-size: 0.95rem; }
.cafe-link small { font-size: 0.75rem; color: var(--muted); }

/* Inner pages */
body.theme-cafe .page-head h1 { font-family: var(--display); }
body.theme-cafe .eyebrow { color: var(--accent); }

body.theme-cafe .panel {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(60, 38, 12, 0.05);
}

body.theme-cafe .menu-tab {
  background: var(--card);
  border-color: var(--border);
  color: var(--muted);
}

body.theme-cafe .menu-tab.is-active,
body.theme-cafe .menu-tab:hover {
  background: var(--accent-dk);
  border-color: var(--accent-dk);
  color: #f0c878;
}

body.theme-cafe .menu-item {
  background: var(--card);
  border: 1px solid var(--border);
}

body.theme-cafe .menu-item .price { color: var(--accent); }

/* Specials */
.specials-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 600px) {
  .specials-grid { grid-template-columns: repeat(2, 1fr); }
}

.special-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.15rem;
}

.special-card .thumb {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8ecd8, #e8c878);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.special-card strong { display: block; }
.special-card span { font-size: 0.78rem; color: var(--muted); }
.special-card .price { font-weight: 700; color: var(--accent); margin-top: 0.25rem; }

/* Gallery */
.photo-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .photo-wall { grid-template-columns: repeat(3, 1fr); }
}

.photo-cell {
  aspect-ratio: 1;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.photo-cell .em { font-size: 2rem; }
.photo-cell:nth-child(1) { background: linear-gradient(135deg, #8b5a2b, #4a3018); }
.photo-cell:nth-child(2) { background: linear-gradient(135deg, #c8862a, #8b5e14); }
.photo-cell:nth-child(3) { background: linear-gradient(135deg, #6b4423, #3d2510); }
.photo-cell:nth-child(4) { background: linear-gradient(135deg, #a0522d, #654321); }
.photo-cell:nth-child(5) { background: linear-gradient(135deg, #d2691e, #8b4513); }
.photo-cell:nth-child(6) { background: linear-gradient(135deg, #5c3d1e, #2a1a0c); }

@media (min-width: 700px) {
  .photo-cell:nth-child(1) { grid-row: span 2; aspect-ratio: auto; }
}

/* Contact */
.contact-split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .contact-split { grid-template-columns: 1fr 1fr; align-items: stretch; }
}

.contact-lines { display: grid; gap: 0.85rem; }

.contact-line {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-line:last-child { border: 0; }
.contact-line .ico { font-size: 1.15rem; }

.map-box {
  min-height: 16rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #e8dcc8, #c4b49a);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
}

body.theme-cafe .map-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 0.75rem;
  display: inline-block;
}

body.theme-cafe .site-footer a { color: var(--accent); }
body.theme-cafe .wa-fab { background: var(--wa); color: #fff; }
