@import url('tokens.css');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Source+Sans+3:wght@400;600&display=swap');

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Base */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 1rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--color-accent);
}
h1 { font-size: clamp(1.6rem, 5vw, 2.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.3rem, 4vw, 2rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.1rem, 3vw, 1.4rem); margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
ul { padding-left: 1.25rem; margin-bottom: 1rem; }
ul li { margin-bottom: 0.35rem; }

/* Layout */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
section { padding: 3rem 0; }

/* Header / Nav */
header {
  background: var(--color-bg);
  border-bottom: 3px solid var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo img { width: 160px; height: auto; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
}
nav a {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.95rem;
  transition: color 0.2s;
}
nav a:hover, nav a[aria-current="page"] { color: var(--color-primary); text-decoration: none; }
nav a[aria-current="page"] { border-bottom: 2px solid var(--color-primary); padding-bottom: 2px; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    display: none;
    padding: 1rem;
  }
  nav.open { display: block; }
  nav ul {
    flex-direction: column;
    gap: 0;
  }
  nav a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 1rem;
  }
  nav ul li:last-child a { border-bottom: none; }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 60%, #e45c1e 100%);
  color: #fff;
  padding: 4rem 1.25rem;
  text-align: center;
}
.hero h1 { color: #fff; margin-bottom: 1rem; text-shadow: 0 2px 6px rgba(0,0,0,.25); }
.hero p { font-size: 1.15rem; max-width: 680px; margin: 0 auto 1.5rem; opacity: 0.95; }
.hero .rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 2rem;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.btn {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: #fbbf24; transform: translateY(-1px); text-decoration: none; color: var(--color-accent); }
.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  margin-left: 0.75rem;
}
.btn-outline:hover { background: rgba(255,255,255,.15); color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.5rem; }

/* Phone CTA */
.phone-cta {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.phone-cta a { color: inherit; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.card h3 { color: var(--color-primary); margin-bottom: 0.5rem; }
.card img { width: 100%; height: 180px; object-fit: cover; border-radius: 6px; margin-bottom: 1rem; }

/* Section alternating bg */
.section-alt { background: #fef3c7; }
.section-dark { background: var(--color-accent); color: #fff; }
.section-dark h2 { color: var(--color-secondary); }
.section-dark p { color: rgba(255,255,255,.9); }

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
@media (min-width: 640px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card {
  background: #fff;
  border-left: 4px solid var(--color-secondary);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.review-card blockquote {
  font-style: italic;
  color: #374151;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.review-card cite { font-weight: 600; font-style: normal; font-size: 0.85rem; color: var(--color-primary); }
.stars { color: var(--color-secondary); font-size: 1.1rem; margin-bottom: 0.5rem; }
.stars span { color: #d97706; }

/* Rating block */
.rating-block {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.rating-item {
  text-align: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  min-width: 160px;
}
.rating-item .score {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
}
.rating-item .platform { font-size: 0.85rem; color: #6b7280; font-weight: 600; }

/* Highlights */
.highlight-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.highlight-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.highlight-list li::before { content: "✓"; color: var(--color-primary); font-weight: 700; flex-shrink: 0; }

/* Menu table */
.menu-section { margin-bottom: 2.5rem; }
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px dotted #e5e7eb;
  gap: 1rem;
}
.menu-item:last-child { border-bottom: none; }
.menu-item-name { font-weight: 600; }
.menu-item-desc { font-size: 0.85rem; color: #6b7280; }

/* Contact layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

/* Form */
form { display: flex; flex-direction: column; gap: 1rem; }
label { font-weight: 600; font-size: 0.9rem; color: #374151; display: block; margin-bottom: 0.25rem; }
input, textarea, select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: #fff;
  transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(194,65,12,.15);
}
textarea { min-height: 120px; resize: vertical; }
.form-submit { margin-top: 0.5rem; }
.rgpd-notice { font-size: 0.8rem; color: #6b7280; margin-top: 0.5rem; }

/* Map */
.map-container { border-radius: 8px; overflow: hidden; margin-top: 1rem; }
.map-container iframe { display: block; border: 0; }

/* Info table */
.info-table { width: 100%; border-collapse: collapse; margin-top: 0.75rem; }
.info-table td { padding: 0.6rem 0.5rem; border-bottom: 1px solid #f3f4f6; }
.info-table td:first-child { font-weight: 600; white-space: nowrap; padding-right: 1rem; color: #374151; }

/* Opening badge */
.hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fef3c7;
  color: var(--color-accent);
  border-radius: 4px;
  padding: 0.35rem 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Breadcrumb */
.breadcrumb { font-size: 0.85rem; color: #6b7280; margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--color-primary); }
.breadcrumb span { margin: 0 0.3rem; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
  color: #fff;
  padding: 3rem 1.25rem;
}
.page-hero h1 { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.2); }
.page-hero p { opacity: 0.9; font-size: 1.05rem; }

/* Footer */
footer {
  background: #111827;
  color: #d1d5db;
  padding: 3rem 1.25rem 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
footer h4 { color: var(--color-secondary); font-family: var(--font-display); margin-bottom: 0.75rem; font-size: 1rem; }
footer a { color: #d1d5db; font-size: 0.9rem; }
footer a:hover { color: var(--color-secondary); }
footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: 0.4rem; font-size: 0.9rem; }
.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid #374151;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 9999;
}
.skip-link:focus { left: 0; }

/* Halal badge */
.halal-badge {
  display: inline-block;
  background: #059669;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  letter-spacing: 0.5px;
  vertical-align: middle;
}
