/* =========================
   BASE STYLES & VARIABLES
   ========================= */

:root {
  --color-bg: #f7f3ee;
  --color-surface: #ffffff;
  --color-text: #222222;
  --color-text-muted: #666666;
  --color-wine: #8b1e3f;
  --color-green: #1e3d32;
  --color-border: #e0d7cf;

  --font-heading: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;

  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.08);
  --radius-small: 8px;
  --radius-medium: 12px;

  --max-width: 1100px;
  --header-height: 70px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
}

/* Container */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* =========================
   HEADER + NAV
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: rgba(247, 243, 238, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo-block {
  display: flex;
  flex-direction: column;
}

.logo-text-main {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-text-tagline {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-text);
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-wine);
  transition: width 0.2s ease-out;
}

.main-nav a:hover::after {
  width: 100%;
}

/* =========================
   HERO SECTION
   ========================= */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #111;
}

/* Background image layer */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02); /* tiny zoom for depth */
}

/* Comfort overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(17, 17, 17, 0.7),
    rgba(17, 17, 17, 0.45),
    rgba(17, 17, 17, 0.3)
  );
}

/* Text content */
.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
}

.hero-text {
  max-width: 520px;
  color: #fdfaf6;
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.hero-text p {
  margin: 0 0 1.8rem;
  font-size: 1rem;
  color: #f0e6d9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* =========================
   BUTTONS
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
    background-color 0.12s ease-out, color 0.12s ease-out,
    border-color 0.12s ease-out;
}

.btn-primary {
  background-color: var(--color-wine);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
  border-color: var(--color-wine);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background-color: #711732;
  border-color: #711732;
}

.btn-outline {
  background-color: transparent;
  color: #fdfaf6;
  border-color: #fdfaf6;
}

.btn-outline:hover {
  background-color: rgba(247, 243, 238, 0.1);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 768px) {
  .header-inner {
    gap: 1rem;
  }

  .main-nav {
    gap: 0.75rem;
    font-size: 0.85rem;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }
}

/* =========================
   SPECIALS SECTION
   ========================= */

.specials-section {
  padding: 5rem 0;
  background-color: var(--color-bg);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  font-size: 1rem;
}

.specials-grid {
  display: flex;
  flex-wrap: nowrap; /* stay in ONE row */
  gap: 1.5rem;
  overflow-x: auto; /* horizontal scroll */
  padding: 0.5rem 0 0.75rem;
  scroll-snap-type: x mandatory;
}

/* Optional: subtle scrollbar styling (desktop) */
.specials-grid::-webkit-scrollbar {
  height: 8px;
}
.specials-grid::-webkit-scrollbar-track {
  background: transparent;
}
.specials-grid::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 999px;
}

.special-card {
  background: var(--color-surface);
  padding: 1.6rem;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;

  min-width: 260px; /* width of each “slide” */
  max-width: 280px;
  scroll-snap-align: start;
}

.special-day {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-green);
}

.special-name {
  font-family: var(--font-heading);
  margin: 0;
  font-size: 1.3rem;
}

.special-desc {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.special-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-wine);
  margin-top: auto;
}

/* =========================
   MENU SECTION
   ========================= */

.menu-section {
  padding: 5rem 0;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.menu-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.menu-column {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.menu-category-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin: 0 0 0.75rem;
}

.menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.menu-item {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--color-border);
}

.menu-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.menu-item-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.menu-item-name {
  font-weight: 600;
}

.menu-item-price {
  font-weight: 600;
  color: var(--color-wine);
  white-space: nowrap;
}

.menu-item-desc {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.menu-cta {
  margin-top: 3rem;
  text-align: center;
}

.menu-cta .btn {
  margin-bottom: 0.75rem;
}

.menu-cta-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* =========================
   BEER SECTION
   ========================= */

.beer-section {
  padding: 5rem 0;
  background-color: var(--color-bg);
}

.beer-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.beer-column-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin: 0 0 0.75rem;
}

.beer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.beer-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--color-border);
}

.beer-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.beer-name {
  font-weight: 600;
}

.beer-style {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.beer-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.beer-cta {
  margin-top: 3rem;
  text-align: center;
}

/* =========================
   CONTACT / HOURS / LOCATION
   ========================= */

.contact-section {
  padding: 5rem 0;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: flex-start;
}

/* Left side text alignment tweaks */
.section-title-left {
  text-align: left;
}

.section-subtitle-left {
  text-align: left;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-subheading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.hours-list {
  margin: 0;
  padding: 0;
  display: grid;
  row-gap: 0.4rem;
}

.hours-row {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.5rem;
}

.hours-row dt {
  font-weight: 600;
}

.hours-row dd {
  margin: 0;
  color: var(--color-text-muted);
}

.address-block,
.hours-block {
  margin-top: 0.5rem;
}

.contact-line {
  margin: 0 0 0.75rem;
}

.contact-line a {
  color: var(--color-text);
  text-decoration: none;
}

.contact-line a:hover {
  text-decoration: underline;
}

/* Right side map */
.contact-map {
  width: 100%;
}

.map-frame {
  position: relative;
  width: 100%;
  padding-top: 65%; /* aspect ratio */
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  background-color: #ddd;
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Placeholder text over map until real src is added */
.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  background: linear-gradient(
    to bottom,
    rgba(247, 243, 238, 0.96),
    rgba(247, 243, 238, 0.9)
  );
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* When you have a real map src, you can remove .map-placeholder from the HTML */

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section-title-left,
  .section-subtitle-left {
    text-align: left;
  }

  .contact-section {
    padding: 4rem 0;
  }

  .map-frame {
    margin-top: 1.5rem;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .beer-layout {
    grid-template-columns: 1fr;
  }
}

/* Responsive layout */
@media (max-width: 900px) {
  .menu-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0;
    height: auto;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero-content {
    padding: 3rem 0 3.5rem;
  }

  .hero-text {
    max-width: 100%;
  }
}

/* =========================
   RESERVATION SECTION
   ========================= */

.reserve-section {
  padding: 5rem 0;
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.reserve-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

/* LEFT SIDE (image + text) */

.reserve-intro {
  display: grid;
  grid-template-rows: auto auto;
  gap: 1.75rem;
}

.reserve-image {
  width: 100%;
  border-radius: var(--radius-medium);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 220px;
  box-shadow: var(--shadow-soft);
}

.reserve-copy {
  max-width: 480px;
}

.reserve-highlights {
  margin: 1.2rem 0 0;
  padding-left: 1.1rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.reserve-highlights li + li {
  margin-top: 0.3rem;
}

/* RIGHT SIDE (form) */

.reserve-form-wrapper {
  max-width: 420px;
  margin: 0 0 0 auto;
}

.reserve-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.reserve-input,
.reserve-textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-medium);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--color-text);
}

.reserve-input:focus,
.reserve-textarea:focus {
  outline: none;
  border-color: var(--color-wine);
  box-shadow: 0 0 0 3px rgba(140, 0, 40, 0.15);
}

.reserve-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.reserve-textarea {
  min-height: 100px;
  resize: vertical;
}

.reserve-btn {
  margin-top: 0.4rem;
  width: 100%;
  font-size: 1rem;
}

.reserve-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.reserve-note a {
  color: var(--color-text);
  text-decoration: none;
}

.reserve-note a:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 900px) {
  .reserve-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .reserve-form-wrapper {
    max-width: 100%;
    margin: 0;
  }

  .reserve-inline {
    grid-template-columns: 1fr;
  }

  .section-title-left,
  .section-subtitle-left {
    text-align: left;
  }
}
