/* ============================================
   BojanglesPrices.com - Main Stylesheet
   Clean, responsive, AdSense-friendly design
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #d35400;
  --primary-dark: #a04000;
  --secondary: #2c3e50;
  --accent: #c0392b;
  --bg: #fdf8f3;
  --surface: #ffffff;
  --text: #2d2d2d;
  --text-light: #6b6b6b;
  --border: #e8e0d8;
  --success: #27ae60;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-hover: 0 6px 24px rgba(0,0,0,0.12);
  --max-width: 1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { color: var(--secondary); line-height: 1.3; font-weight: 700; }
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; margin: 1.8rem 0 1rem; }
h3 { font-size: 1.25rem; margin: 1.4rem 0 .8rem; }

p { margin-bottom: 1.1rem; }

ul, ol { margin: 0 0 1.2rem 1.4rem; }
li { margin-bottom: .5rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header / Navigation --- */
.site-header {
  background: var(--surface);
  border-bottom: 3px solid var(--primary);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.5px;
}
.logo span { color: var(--primary); }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
}
.main-nav a {
  color: var(--secondary);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
}
.main-nav a:hover { color: var(--primary); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary);
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #fff4e6 0%, #ffe8d1 100%);
  padding: 50px 0 40px;
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 680px;
}

/* --- Layout Grid --- */
.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  padding: 36px 0;
}
.main-content { min-width: 0; }
.sidebar { position: sticky; top: 90px; align-self: start; }

/* --- Article Cards --- */
.section-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #f0e6dc;
}
.card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.card-category {
  display: inline-block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}
.card h3 { font-size: 1.1rem; margin: 0 0 8px; }
.card h3 a { color: var(--secondary); text-decoration: none; }
.card h3 a:hover { color: var(--primary); }
.card-excerpt {
  font-size: .9rem;
  color: var(--text-light);
  flex: 1;
}
.card-meta {
  font-size: .8rem;
  color: var(--text-light);
  margin-top: 12px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

/* --- Article Detail --- */
.article-header { margin-bottom: 24px; }
.article-meta {
  color: var(--text-light);
  font-size: .9rem;
  margin-bottom: 8px;
}
.article-hero {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 20px 0;
  background: #f0e6dc;
}
.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
}
.article-content h2 { margin-top: 2rem; }
.article-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 12px 20px;
  background: #fff5ec;
  margin: 1.5rem 0;
  color: var(--text-light);
  font-style: italic;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Price Table */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .95rem;
}
.price-table th, .price-table td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}
.price-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}
.price-table tr:nth-child(even) { background: #fff8f2; }

/* --- Sidebar Widgets --- */
.widget {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.widget h4 {
  font-size: 1.1rem;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.widget ul { list-style: none; margin: 0; }
.widget li { margin-bottom: 10px; }
.widget li a {
  color: var(--secondary);
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
  display: block;
}
.widget li a:hover { color: var(--primary); }

.tag-cloud a {
  display: inline-block;
  background: #fff2e8;
  color: var(--primary-dark);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .82rem;
  margin: 0 6px 6px 0;
  text-decoration: none;
}
.tag-cloud a:hover { background: var(--primary); color: #fff; }

/* --- Static Pages (About, Contact, Legal) --- */
.static-page {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  margin: 36px 0;
}
.static-page h1 { margin-bottom: 24px; color: var(--secondary); }
.static-page h2 { margin-top: 2rem; }
.static-page ul, .static-page ol { margin-left: 1.5rem; }
.static-page .updated {
  color: var(--text-light);
  font-size: .85rem;
  margin-bottom: 20px;
}

/* Contact Form */
.contact-form { max-width: 560px; margin-top: 20px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--secondary);
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .95rem;
  font-family: inherit;
  transition: border .2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: var(--primary-dark); }

/* --- Footer --- */
.site-footer {
  background: var(--secondary);
  color: #bdc3c7;
  padding: 40px 0 0;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 30px;
}
.footer-grid h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
}
.footer-grid a { color: #bdc3c7; font-size: .9rem; display: block; padding: 4px 0; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #3d4e5f;
  padding: 18px 0;
  text-align: center;
  font-size: .85rem;
  color: #8a95a0;
}
.disclaimer {
  background: #fff4e6;
  border-left: 4px solid var(--primary);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  font-size: .88rem;
  color: var(--text-light);
  margin: 20px 0;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .content-wrapper { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 20px; }
  .main-nav li { border-bottom: 1px solid var(--border); }
  .main-nav a { display: block; padding: 10px 0; }

  .hero h1 { font-size: 1.7rem; }
  .article-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .static-page { padding: 24px; }
  .article-hero { height: 220px; }
}

/* Utility */
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; }
