/* styles.css — clean + centered */

/* =========================
   THEME
   ========================= */
:root {
  --brand-red: #660600;
  --brand-green: #0b4e1f;

  --bg: #502d2b;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.75);

  --max-width: 1200px;
  --gutter: 16px;

  --nav-height: 72px;

  --radius: 14px;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  --border: rgba(255, 255, 255, 0.1);
  --panel: rgba(255, 255, 255, 0.04);
}

/* =========================
   BASE
   ========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden; /* prevents page-wide sideways scroll */
}

/* Keep anchor targets visible below fixed nav */
section[id] {
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

.container {
  width: min(var(--max-width), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
}

.muted {
  margin: 0;
  color: var(--muted);
}

/* =========================
   NAV
   ========================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;

  display: flex;
  align-items: center;

  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.4px;
  font-size: 18px;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  padding: 10px 10px;
  border-radius: 10px;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  width: 46px;
  height: 40px;
  cursor: pointer;
}

.burger {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  position: relative;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--text);
}

.burger::before {
  top: -7px;
}

.burger::after {
  top: 7px;
}

/* =========================
   HERO
   ========================= */
.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: var(--nav-height);

  background-image: url("./images/hero-bg.png");
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.65),
      rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.75)
    ),
    radial-gradient(circle at 20% 30%, rgba(102, 6, 0, 0.35), transparent 45%),
    radial-gradient(circle at 80% 40%, rgba(11, 78, 31, 0.28), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;

  width: min(var(--max-width), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;

  padding: 24px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 12px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
}

.hero-subtitle {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 60ch;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
  transform: translateY(0);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-red), #8b0a00);
  color: #fff;
}

.btn-outline {
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* =========================
   SECTIONS
   ========================= */
.section {
  padding: 72px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

/* =========================
   SPECIALS (CENTERED HORIZONTAL SCROLL)
   ========================= */
.specials-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.specials-controls {
  display: flex;
  gap: 10px;
}

.scroll-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.scroll-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* wrapper clips any “spill” so the page stays contained */
.specials-scroll-wrap {
  width: 100%;
  overflow: hidden;
}

.specials-scroll {
  display: flex;
  gap: 14px;

  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 0 18px;
  margin: 0;

  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.specials-scroll::-webkit-scrollbar {
  height: 10px;
}

.specials-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.specials-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.special-card {
  flex: 0 0 clamp(260px, 28vw, 320px);
  scroll-snap-align: start;

  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);

  padding: 18px;
  position: relative;
  overflow: hidden;
  min-height: 240px;
}

.special-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 15%,
      rgba(102, 6, 0, 0.18),
      transparent 45%
    ),
    radial-gradient(circle at 80% 85%, rgba(11, 78, 31, 0.16), transparent 55%);
  pointer-events: none;
}

.special-day,
.special-title,
.special-line,
.special-desc {
  position: relative;
  z-index: 1;
}

.special-day {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.special-title {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.1;
}

.special-line {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
}

.special-desc {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.35;
  font-size: 14px;
}

.special-price {
  position: absolute;
  left: 18px;
  bottom: 16px;
  margin: 0;
  font-weight: 900;
  color: var(--brand-red);
  letter-spacing: 0.2px;
}

/* =========================
   SPECIAL CARD WITH IMAGE BG
   ========================= */

.special-bg-wings {
  background-image: url("images/wings-and-wine.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dark overlay so text stays readable */
.special-bg-wings::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75));
  z-index: 0;
}

/* Make sure text stays above the overlay */
.feature-bg-wings > * {
  position: relative;
  z-index: 1;
}

.feature-bg-burgers {
  background-image: url("./images/burgers.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dark overlay so text stays readable */
.feature-bg-burgers::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75));
  z-index: 0;
}

/* Make sure text stays above the overlay */
.feature-bg-burgers > * {
  position: relative;
  z-index: 1;
}

/* =========================
   MENU (Featured Cards)
   ========================= */

.menu-header {
  margin-bottom: 20px;
}

.menu-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.menu-card {
  position: relative;
  display: block;
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.menu-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.menu-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.75));
}

.menu-card-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 1;
}

.menu-card-content h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.menu-card-content p {
  margin: 0;
  color: var(--muted);
}

/* =========================
   DRINKS (Featured + Snapshot)
   ========================= */

.drinks-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.btn-small {
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 900;
}

.drinks-featured {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.drinks-card {
  position: relative;
  display: block;
  height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: var(--panel);
}

.drinks-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.drinks-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.78));
}

.drinks-card-content {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 1;
}

.drinks-card-content h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.drinks-card-content p {
  margin: 0;
  color: var(--muted);
}

@media (hover: hover) {
  .drinks-card:hover .drinks-card-bg {
    transform: scale(1.06);
  }
}

/* Snapshot */
.drinks-snapshot {
  margin-top: 20px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.snapshot-title {
  margin: 0 0 12px;
  font-size: 18px;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.snapshot-box {
  padding: 14px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
}

.snapshot-label {
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.snapshot-row {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.snapshot-row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.snapshot-note {
  margin: 10px 0 0;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 1000px) {
  .drinks-featured {
    grid-template-columns: repeat(2, 1fr);
  }
  .snapshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .drinks-featured {
    grid-template-columns: 1fr;
  }
  .snapshot-grid {
    grid-template-columns: 1fr;
  }
}

/* Hover effect (desktop only) */
@media (hover: hover) {
  .menu-card:hover .menu-card-bg {
    transform: scale(1.06);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .menu-featured {
    grid-template-columns: 1fr;
  }

  .menu-card {
    height: 240px;
  }
}

/* =========================
   FORMS (Reservation)
   ========================= */

.form-header {
  margin-bottom: 20px;
}

.reservation-form {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field-full {
  grid-column: 1 / -1;
}

label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.45);
  color: var(--text);
  font-size: 15px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand-green);
  background: rgba(0, 0, 0, 0.6);
}

.form-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-note {
  font-size: 13px;
}

/* Responsive */
@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   CONTACT
   ========================= */

.contact-header {
  margin-bottom: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}

.contact-card {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.contact-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-item:first-of-type {
  border-top: none;
  padding-top: 0;
}

.contact-label {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  letter-spacing: 0.2px;
}

.contact-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
}

.contact-cta {
  margin-top: 14px;
  width: fit-content;
}

.contact-small {
  font-size: 13px;
}

.hours {
  display: grid;
  gap: 10px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hours-row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.map-card {
  margin-top: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.map-placeholder {
  padding: 20px;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-directions {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  margin-top: 10px;
  padding: 10px 14px;

  border-radius: 12px;
  border: none;

  font-size: 14px;
  font-weight: 900;
  text-decoration: none;

  color: #fff;
  background: linear-gradient(135deg, var(--brand-green), #13753a);

  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-directions:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
}

/* =========================
   FOOTER
   ========================= */
.footer {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

/* =========================
   RESPONSIVE NAV
   ========================= */
@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: var(--gutter);
    right: var(--gutter);

    display: none;
    flex-direction: column;
    gap: 8px;

    padding: 12px;
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 12px 12px;
  }

  .specials-header {
    align-items: flex-start;
  }
}
