/* ================================================
   RESTAURANT TEMPLATE — STYLESHEET
   ================================================
   
   Colors and layout automatically adapt to CONFIG.js
   
   ================================================ */

/* ===== CSS VARIABLES (Set by JavaScript from CONFIG) ===== */
:root {
  --primary: #7B1C1C;
  --primary-dark: #5A1010;
  --primary-light: #9E2A2A;
  --accent: #C9922A;
  --accent-light: #E8B84B;
  --bg: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #555555;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.13);
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Georgia', serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Georgia', serif;
  line-height: 1.2;
  color: var(--text);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition);
}

#navbar.scrolled {
  background: rgba(255,255,255,0.99);
  box-shadow: var(--shadow-md);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

.brand-icon { font-size: 1.8rem; }
.brand-name { display: block; }
.brand-sub { display: block; font-size: 0.65rem; opacity: 0.7; font-weight: 400; }

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--primary); }
.nav-links a.nav-cta {
  background: var(--primary);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 1rem; gap: 1rem; }
  .nav-toggle { display: flex; }
}

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #111;
  margin-top: 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/hero.jpg') center center/cover no-repeat;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,8,8,0.75) 0%, rgba(10,8,8,0.48) 55%, rgba(10,8,8,0.18) 100%);
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-bg { background: url('images/hero_mobile.jpg') center center/cover no-repeat; }
  .hero-bg::before { background: linear-gradient(to bottom, rgba(10,8,8,0.55) 0%, rgba(10,8,8,0.35) 50%, rgba(10,8,8,0.65) 100%); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: white;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-text h1 em {
  color: var(--accent-light);
  font-style: normal;
  font-weight: 700;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  max-width: 500px;
}

.eyebrow {
  display: inline-block;
  background: rgba(var(--accent-light), 0.15);
  color: var(--accent-light);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-primary, .btn-outline {
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover { background: rgba(255,255,255,0.1); }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}

.hero-info-strip {
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-info-strip h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-icon { font-size: 1.5rem; }

.info-label {
  display: block;
  font-size: 0.75rem;
  opacity: 0.7;
  color: white;
  text-transform: uppercase;
}

.info-value {
  display: block;
  color: white;
  font-weight: 600;
  font-size: 1rem;
}

.info-sub {
  display: block;
  font-size: 0.8rem;
  opacity: 0.7;
  color: rgba(255,255,255,0.8);
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; gap: 1.5rem; padding: 60px 1.5rem; }
  .hero-info-strip { padding: 1.5rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
}

/* ===== SECTIONS ===== */
section { padding: 90px 2rem; background: var(--bg); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  font-family: 'Arial', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.8rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--text);
  margin-bottom: 0.8rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: #f8f8f8;
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ===== MENU ===== */
#menu { background: #f8f8f8; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.menu-item {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
  transition: all var(--transition);
}

.menu-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.menu-item-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.menu-item-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

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

/* ===== SPECIALTIES ===== */
.specialty-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.specialty-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.specialty-content {
  padding: 2rem;
}

.specialty-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.specialty-content p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .specialty-card { grid-template-columns: 1fr; }
  .specialty-img { height: 300px; }
}

/* ===== CONTACT ===== */
#contact { background: white; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-blocks {
  display: grid;
  gap: 1.5rem;
}

.contact-block {
  display: flex;
  gap: 1rem;
  padding: 1.2rem;
  background: #f8f8f8;
  border-radius: var(--radius-md);
  border: 1px solid #e0e0e0;
}

.cb-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.cb-label {
  display: block;
  font-size: 0.75rem;
  opacity: 0.7;
  text-transform: uppercase;
}

.cb-value {
  display: block;
  font-weight: 600;
  color: var(--primary);
}

.cb-sub {
  display: block;
  font-size: 0.85rem;
  opacity: 0.7;
}

.hours-card {
  background: #f8f8f8;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid #e0e0e0;
}

.hours-card h3 {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.hours-row:last-child { border-bottom: none; }

.hours-day {
  font-weight: 600;
  color: var(--text);
}

.hours-time {
  color: var(--primary);
  font-weight: 600;
}

.hours-row.special .hours-time {
  color: var(--accent);
}

.directions-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 1.6rem;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  transition: all var(--transition);
}

.directions-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
footer {
  background: #111;
  color: white;
  padding: 60px 2rem 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.footer-brand .brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.footer-col h4 {
  margin-bottom: 1rem;
  color: white;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 60px 1.5rem; }
}
