/* ===== Texas D Willie's Smokehouse ===== */

:root {
  --wood-black: #1b140f;
  --wood-dark: #241b14;
  --wood-brown: #3d2a1b;
  --wood-brown-light: #5c3f27;
  --cream: #f6ecd9;
  --cream-dark: #e8d8b8;
  --smoke-orange: #e0521f;
  --smoke-orange-dark: #b83f16;
  --gold: #d9a441;
  --text-dark: #241b14;
  --text-light: #f6ecd9;
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Merriweather', Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, .brand {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 0.5em;
}

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

a { color: inherit; text-decoration: none; }

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-kicker {
  font-family: var(--font-display);
  color: var(--smoke-orange-dark);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.section-kicker--light { color: var(--gold); }

.section-title--light { color: var(--cream); }

/* ===== Order Online Button ===== */
.btn-order {
  display: inline-block;
  background: var(--smoke-orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(224, 82, 31, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-order:hover, .btn-order:focus-visible {
  background: var(--smoke-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(224, 82, 31, 0.55);
}

.btn-order--nav { padding: 0.6rem 1.5rem; font-size: 0.9rem; }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--cream);
  border: 2px solid var(--cream);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
  padding: 0.8rem 1.9rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-secondary:hover { background: var(--cream); color: var(--wood-black); }

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(27, 20, 15, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--smoke-orange);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  gap: 1.5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: var(--cream);
}

.brand-texas {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
}

.brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--smoke-orange); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  background: var(--cream);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #2b1c11 0%, #1b140f 60%), url('../images/photo-04.jpg');
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 10, 6, 0.55) 0%, rgba(15, 10, 6, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--cream);
}

.hero-kicker {
  font-family: var(--font-display);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  color: var(--cream);
  margin-bottom: 1rem;
  text-shadow: 0 4px 18px rgba(0,0,0,0.5);
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--cream-dark);
  margin-bottom: 2.25rem;
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-order--hero { font-size: 1.1rem; padding: 1.05rem 2.5rem; }

.hero-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--cream-dark);
}

.stars, .review-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 0.15em; }

/* ===== About ===== */
.about { background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--wood-black); }

.about-text p { margin-bottom: 1.1rem; color: #3a2c1e; }

.about-media { position: relative; }

.about-media img {
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(27, 20, 15, 0.25);
}

.about-badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1rem;
  background: var(--smoke-orange);
  color: #fff;
  border-radius: 12px;
  padding: 0.9rem 1.3rem;
  text-align: center;
  box-shadow: 0 12px 24px rgba(224, 82, 31, 0.4);
}

.about-badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.about-badge-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== Menu ===== */
.menu {
  background: var(--wood-black);
  background-image: radial-gradient(circle at 20% 20%, rgba(224,82,31,0.08), transparent 45%), radial-gradient(circle at 80% 80%, rgba(217,164,65,0.08), transparent 45%);
  color: var(--cream);
}

.menu h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }

.menu-intro {
  max-width: 640px;
  color: var(--cream-dark);
  margin-bottom: 2.5rem;
}

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

.menu-category {
  background: rgba(246, 236, 217, 0.04);
  border: 1px solid rgba(217, 164, 65, 0.25);
  border-radius: 12px;
  padding: 1.75rem;
}

.menu-category h3 {
  color: var(--gold);
  font-size: 1.15rem;
  border-bottom: 2px solid var(--smoke-orange);
  padding-bottom: 0.6rem;
  margin-bottom: 1rem;
}

.menu-category ul { list-style: none; margin: 0; padding: 0; }

.menu-category li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(246, 236, 217, 0.15);
  font-size: 0.98rem;
}

.menu-category li:last-child { border-bottom: none; }

.menu-note {
  font-size: 0.78rem;
  color: var(--gold);
  font-style: italic;
  text-align: right;
  white-space: nowrap;
}

.menu-disclaimer {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--cream-dark);
  opacity: 0.75;
}

/* ===== Gallery ===== */
.gallery { background: var(--cream); }

.gallery h2 { color: var(--wood-black); font-size: clamp(1.8rem, 3.5vw, 2.6rem); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
}

.gallery-item--wide { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

/* ===== Reviews ===== */
.reviews { background: var(--wood-brown); color: var(--cream); }

.reviews h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.review-card {
  background: rgba(27, 20, 15, 0.35);
  border-radius: 12px;
  padding: 1.75rem;
  margin: 0;
}

.review-card p { font-style: italic; color: var(--cream); margin: 0.75rem 0 1rem; }

.review-card footer { font-family: var(--font-display); color: var(--gold); font-size: 0.9rem; }

.review-source { color: var(--cream-dark); font-weight: 400; }

/* ===== Hours & Location ===== */
.hours-location { background: var(--cream); }

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.hours-card h2 { color: var(--wood-black); font-size: clamp(1.8rem, 3.5vw, 2.6rem); }

.hours-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  border-top: 1px solid var(--cream-dark);
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--cream-dark);
  font-family: var(--font-display);
  font-size: 0.95rem;
}

address {
  font-style: normal;
  margin-bottom: 0.75rem;
  color: #3a2c1e;
}

.phone-link {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--smoke-orange-dark);
  margin-bottom: 1.5rem;
}

.map-embed {
  min-height: 340px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(27, 20, 15, 0.2);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--wood-black);
  color: var(--cream-dark);
  padding-top: 3rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-top: 0;
  padding-bottom: 2.5rem;
}

.brand--footer { margin-bottom: 0.75rem; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-links a:hover { color: var(--smoke-orange); }

.phone-link--footer { color: var(--gold); margin: 0; }

.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  padding: 1.5rem 0;
  margin: 0;
  border-top: 1px solid rgba(246, 236, 217, 0.1);
}

/* ===== Modal ===== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 6, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1.5rem;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  position: relative;
  background: var(--cream);
  color: var(--text-dark);
  max-width: 440px;
  width: 100%;
  border-radius: 14px;
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.modal h2 {
  font-size: 1.4rem;
  color: var(--wood-black);
  margin-bottom: 1rem;
}

.modal p { margin-bottom: 1rem; }

.modal-phone {
  color: var(--smoke-orange-dark);
  font-weight: 700;
  font-size: 1.2rem;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: var(--wood-black);
}

.modal-dismiss { margin-top: 0.5rem; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-grid, .hours-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--wide { grid-column: span 2; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .btn-order--nav { display: none; }
  .navbar-inner { flex-wrap: wrap; }

  .navbar.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    padding: 1rem 0 0.5rem;
    order: 3;
  }

  .navbar.nav-open .btn-order--nav {
    display: inline-block;
    order: 4;
    margin-top: 0.5rem;
  }

  .section-inner { padding: 3.5rem 1.25rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item--wide { grid-column: span 2; }
}
