/* ==========================================================================
   Church's Chicken Menu — Light Theme Components CSS
   ========================================================================== */

/* Hero Section */
.hero-section {
  position: relative;
  padding: var(--space-2xl) 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero-title span {
  color: var(--primary-red);
}

.hero-image-wrapper {
  position: relative;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-md);
}

.hero-floating-card .price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-red);
}

/* Visible E-E-A-T Review Note */
.editorial-note {
  background: #ffffff7a;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary-red);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin: var(--space-md) 0 var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.editorial-note p {
  margin-bottom: 0.35rem;
}

.editorial-note p:last-child {
  margin-bottom: 0;
}

.editorial-note strong {
  color: var(--text-main);
}

/* Interactive Search & Filter Controls */
.menu-controls-wrapper {
  position: sticky;
  top: 76px;
  z-index: 900;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-y: 1px solid var(--border-color);
  padding: var(--space-md) 0;
  margin-bottom: var(--space-2xl);
  box-shadow: var(--shadow-sm);
}

.controls-flex {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 4.25rem;
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(217, 56, 30, 0.15);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 4px;
}

.tab-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: var(--primary-red);
  border-color: var(--primary-red);
  background: #ffffff;
}

.tab-btn.active {
  background: var(--primary-red);
  color: #ffffff;
  border-color: var(--primary-red);
  box-shadow: 0 2px 8px rgba(217, 56, 30, 0.25);
}

/* Menu Grid & Cards */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.menu-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.menu-card:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 56, 30, 0.3);
  box-shadow: var(--shadow-hover);
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  background-color: #f1f3f5;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.menu-card:hover .card-img {
  transform: scale(1.05);
}

.card-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary-red);
  color: #ffffff;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border-color);
}

.card-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-red);
}

.card-cal {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Comprehensive Price Table */
.table-wrapper {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin-bottom: var(--space-2xl);
  box-shadow: var(--shadow-sm);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
}

.price-table th, .price-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border-color);
}

.price-table th {
  background-color: #f8f9fa;
  color: var(--text-main);
  font-family: var(--font-family-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.price-table tr:hover {
  background-color: #f1f3f5;
}

.price-table td.item-name {
  color: var(--text-main);
  font-weight: 600;
}

.price-table td.item-price {
  color: var(--primary-red);
  font-weight: 700;
}

/* Featured Special Callout Box */
.special-deal-banner {
  background: linear-gradient(135deg, #fff5f5 0%, #fff9db 100%);
  border: 1.5px solid rgba(217, 56, 30, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-2xl);
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-xl);
  align-items: center;
  box-shadow: var(--shadow-sm);
}

/* FAQ Accordion Section */
.faq-grid {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.faq-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: border-color 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.faq-card:hover {
  border-color: var(--primary-red);
}

.faq-question {
  font-size: 1.1rem;
  color: var(--primary-red);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-answer {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .special-deal-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
