/*
Theme Name: Tampa Halal Reviews
Theme URI: https://example.com/
Author: Sabbir (generated by ChatGPT)
Author URI: https://example.com/
Description: A simple, trustworthy, mobile-first WordPress theme for honest halal restaurant reviews in Tampa.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tampa-halal-reviews
Tags: blog, food-and-drink, two-columns, custom-menu, featured-images, sticky-post, responsive-layout
*/

:root{
  --green:#0a7a3f;
  --green-dark:#075c2f;
  --orange:#ff9f2e;
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --border:#e2e8f0;
  --card:#ffffff;
  --shadow: 0 10px 30px rgba(2,6,23,.08);
  --radius: 16px;
  --max: 1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,#f8fafc 0%, #ffffff 40%);
  line-height:1.6;
}
a{color:var(--green); text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%; height:auto; display:block}
.container{max-width:var(--max); margin:0 auto; padding:0 16px}
.skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{left:16px;top:16px;width:auto;height:auto;background:#fff;padding:10px 12px;border:1px solid var(--border);border-radius:10px;z-index:10000}

.site-header{
  background:rgba(255,255,255,.9);
  border-bottom:1px solid var(--border);
  position:sticky; top:0; z-index:999;
  backdrop-filter: blur(10px);
}
.header-inner{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 0}
.brand{display:flex; align-items:center; gap:10px}
.brand-mark{
  width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,var(--green),#10b981);
  box-shadow: 0 10px 20px rgba(16,185,129,.25);
}
.site-title{font-size:18px; margin:0; line-height:1.2}
.site-title a{color:var(--text); text-decoration:none}
.site-tagline{margin:0; font-size:12px; color:var(--muted)}

.nav-toggle{
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--border); background:#fff; border-radius:12px;
  padding:10px 12px; cursor:pointer;
}
.main-nav{display:none}
.main-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:12px;flex-wrap:wrap}
.main-nav a{display:inline-block;padding:10px 12px;border-radius:12px;color:var(--text)}
.main-nav a:hover{background:#f1f5f9;text-decoration:none}
.main-nav .current-menu-item > a{background:#e8fff3;color:var(--green-dark);font-weight:600}

@media(min-width:900px){
  .nav-toggle{display:none}
  .main-nav{display:block}
}

.hero{
  padding:28px 0 18px;
}
.hero-card{
  background: radial-gradient(1200px 500px at 20% 0%, rgba(16,185,129,.14), transparent 60%),
              radial-gradient(900px 500px at 90% 30%, rgba(255,159,46,.16), transparent 55%),
              #ffffff;
  border:1px solid var(--border);
  border-radius:calc(var(--radius) + 10px);
  box-shadow: var(--shadow);
  padding:22px;
}
.hero h1{margin:0 0 10px;font-size:28px;line-height:1.15}
.hero p{margin:0 0 16px;color:var(--muted);font-size:15px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px; border-radius:14px;
  background:var(--green); color:#fff; border:1px solid var(--green);
  font-weight:700; text-decoration:none;
}
.btn:hover{background:var(--green-dark); text-decoration:none}
.btn-outline{
  background:#fff; color:var(--green); border-color:var(--border);
}
.btn-outline:hover{background:#f8fafc}
.badges{display:flex; flex-wrap:wrap; gap:10px; margin-top:14px}
.badge{font-size:12px;color:var(--muted);border:1px solid var(--border);background:#fff;border-radius:999px;padding:6px 10px}

.section{padding:18px 0}
.section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:12px}
.section-title h2{margin:0;font-size:18px}
.section-title a{font-size:13px;color:var(--muted)}
.grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
@media(min-width:720px){ .grid{grid-template-columns:repeat(2,1fr)} }
@media(min-width:1024px){ .grid{grid-template-columns:repeat(3,1fr)} }

.card{
  border:1px solid var(--border);
  background:var(--card);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow: 0 10px 22px rgba(2,6,23,.05);
  display:flex; flex-direction:column;
}
.card .thumb{aspect-ratio:16/10;background:#f1f5f9}
.card .body{padding:14px}
.card h3{margin:0 0 6px;font-size:16px;line-height:1.25}
.card p{margin:0;color:var(--muted);font-size:13px}
.meta{margin-top:10px;display:flex;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--muted)}
.pill{border:1px solid var(--border);border-radius:999px;padding:4px 8px;background:#fff}

.layout{
  display:grid; grid-template-columns:1fr; gap:18px;
}
@media(min-width:1024px){
  .layout{grid-template-columns:2fr 1fr; align-items:start}
}
.sidebar{
  border:1px solid var(--border);
  background:#fff;border-radius:var(--radius);
  padding:14px;
  box-shadow: 0 10px 22px rgba(2,6,23,.05);
}
.widget{margin:0 0 14px}
.widget:last-child{margin-bottom:0}
.widget-title{margin:0 0 8px;font-size:14px}
.search-form{display:flex;gap:10px}
.search-field{
  flex:1;padding:11px 12px;border-radius:12px;border:1px solid var(--border);
}
.search-submit{padding:11px 12px;border-radius:12px;border:1px solid var(--green);background:var(--green);color:#fff;font-weight:700}

.post-header{padding:18px 0}
.post-title{margin:0 0 6px;font-size:26px;line-height:1.2}
.post-excerpt{margin:0;color:var(--muted)}
.featured-image{border-radius:var(--radius);overflow:hidden;border:1px solid var(--border);box-shadow:var(--shadow);margin:14px 0}
.post-content{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:16px;box-shadow: 0 10px 22px rgba(2,6,23,.05)}
.post-content h2{font-size:18px;margin-top:18px}
.post-content h3{font-size:16px;margin-top:16px}
.post-content ul{padding-left:18px}
.info-box{
  border:1px solid rgba(16,185,129,.25);
  background: linear-gradient(180deg, rgba(16,185,129,.08), #fff 55%);
  border-radius:var(--radius);
  padding:14px;
  margin:14px 0;
}
.info-grid{display:grid;grid-template-columns:1fr;gap:10px}
@media(min-width:720px){ .info-grid{grid-template-columns:repeat(2,1fr)} }
.kv{display:flex;gap:10px}
.k{min-width:110px;color:var(--muted);font-size:12px}
.v{font-weight:700}

.proscons{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:900px){ .proscons{grid-template-columns:1fr 1fr} }
.pros,.cons{
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:12px;background:#fff;
}
.pros h3,.cons h3{margin:0 0 8px;font-size:14px}
.pros ul,.cons ul{margin:0;padding-left:18px}
.note{
  border-left:4px solid var(--orange);
  background:#fff7ed;
  padding:12px;
  border-radius:12px;
  margin:14px 0;
}

.site-footer{padding:26px 0;color:var(--muted);border-top:1px solid var(--border);margin-top:26px}
.footer-inner{display:flex;flex-direction:column;gap:10px}
@media(min-width:900px){ .footer-inner{flex-direction:row;justify-content:space-between;align-items:center} }

.pagination{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}
.page-numbers{border:1px solid var(--border);padding:8px 10px;border-radius:12px;background:#fff;color:var(--text)}
.page-numbers.current{background:#e8fff3;border-color:#b6f3d1;color:var(--green-dark);font-weight:800}
