/* Melanie's Bar & Grill — rustic Texas saloon theme */

:root {
  --color-red: #a8291f;
  --color-red-bright: #d8341f;
  --color-red-dark: #7c1f17;
  --color-cream: #f6efe1;
  --color-wood: #2b1c14;
  --color-wood-light: #3f2c1f;
  --color-gold: #d6a94a;
  --color-text: #2b211b;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

h2 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  color: var(--color-red-dark);
  margin-bottom: 1.2rem;
  text-align: center;
}

/* Order Online Button — striking, consistent everywhere */
.btn-order {
  display: inline-block;
  background: var(--color-red-bright);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: none;
  border-radius: 999px;
  padding: 14px 34px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(216, 52, 31, 0.45);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn-order:hover {
  background: var(--color-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(216, 52, 31, 0.55);
}
.btn-order:active { transform: translateY(0); }

.btn-order--nav { padding: 10px 24px; font-size: 0.9rem; }
.btn-order--hero { padding: 16px 40px; font-size: 1.1rem; }
.btn-order--footer { margin-top: 12px; }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-wood);
  border-bottom: 3px solid var(--color-gold);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  font-family: var(--font-heading);
  color: var(--color-cream);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.brand span { color: var(--color-gold); }
.nav-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--color-cream);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.nav-links a:hover { color: var(--color-gold); }

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image:
    linear-gradient(160deg, rgba(43,28,20,0.55), rgba(20,12,8,0.75)),
    repeating-linear-gradient(0deg, #4a3625 0px, #4a3625 3px, #3f2c1f 3px, #3f2c1f 6px),
    linear-gradient(180deg, #6b4a2f, #3f2c1f);
  background-blend-mode: normal;
  color: #fff;
  padding: 60px 20px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(0,0,0,0.15), rgba(0,0,0,0.55));
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 12px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}
.hero-tagline {
  font-size: 1.15rem;
  margin-bottom: 32px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* About */
.about { padding: 80px 0; background: var(--color-cream); }
.about p { max-width: 780px; margin: 0 auto 1.2rem; }

/* Menu */
.menu { padding: 80px 0; background: #fff; }
.menu-intro { text-align: center; color: #6b5a45; margin-bottom: 2.5rem; }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.menu-category h3 {
  font-family: var(--font-heading);
  color: var(--color-red);
  font-size: 1.4rem;
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 8px;
  margin-bottom: 14px;
}
.menu-category ul { list-style: none; }
.menu-category li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px dashed #ddd2bd;
}
.item-name {
  font-weight: 700;
  flex: 1 1 100%;
}
.item-desc {
  color: #6b5a45;
  font-size: 0.92rem;
  flex: 1 1 100%;
}
.item-price {
  color: var(--color-red);
  font-weight: 700;
}

/* Gallery */
.gallery { padding: 80px 0; background: var(--color-cream); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

/* Reviews */
.reviews { padding: 80px 0; background: #fff; }
.reviews-summary {
  text-align: center;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.rating-score { font-size: 2.2rem; font-weight: 800; color: var(--color-red); }
.rating-stars { color: var(--color-gold); font-size: 1.4rem; }
.rating-count { color: #6b5a45; }
.review-grid {
  display: flex;
  justify-content: center;
}
.review-card {
  max-width: 560px;
  background: var(--color-cream);
  border-left: 5px solid var(--color-gold);
  padding: 28px 32px;
  border-radius: 6px;
}
.review-stars { color: var(--color-gold); margin-bottom: 10px; }
.review-card p { font-style: italic; margin-bottom: 12px; }
.review-card cite { font-weight: 700; color: var(--color-red-dark); }

/* Hours & Location */
.hours-location { padding: 80px 0; background: var(--color-wood); color: var(--color-cream); }
.hours-location h2 { color: var(--color-gold); }
.hours-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.hours-list { list-style: none; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.contact-line { margin-top: 14px; }
.contact-line a { color: var(--color-gold); text-decoration: none; font-weight: 700; }
.map-block iframe { border-radius: 8px; }

/* Footer */
.site-footer {
  background: var(--color-wood-light);
  color: var(--color-cream);
  padding: 40px 0;
  text-align: center;
}
.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-brand { font-family: var(--font-heading); font-size: 1.3rem; color: var(--color-gold); }
.site-footer a { color: var(--color-cream); text-decoration: none; }

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 12, 8, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}
.modal-backdrop[hidden] { display: none; }
.modal {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 40px 36px;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.modal h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.modal p { margin-bottom: 22px; color: #4a3a2c; }
.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #999;
  line-height: 1;
}
.modal-close:hover { color: var(--color-red); }
.modal-phone {
  display: inline-block;
  background: var(--color-red-bright);
  color: #fff;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
}
.modal-phone:hover { background: var(--color-red); }

/* Responsive */
@media (max-width: 860px) {
  .menu-grid { grid-template-columns: 1fr; }
  .hours-location-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 2.1rem; }
  .hero-tagline { font-size: 1rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid img { height: 150px; }
}
