/* The Local Beer & Wine Collective — Brand Styles */

:root {
  --navy: #1D355E;
  --navy-dark: #152a47;
  --orange: #F47321;
  --orange-dark: #d9631a;
  --cream: #F5F0E6;
  --cream-dark: #E8E0D0;
  --olive: #6B7B4E;
  --white: #FFFFFF;
  --text: #2C3E50;
  --text-light: #5A6B7D;
  --shadow: 0 2px 12px rgba(29, 53, 94, 0.12);
  --shadow-lg: 0 8px 32px rgba(29, 53, 94, 0.15);
  --nav-height: 64px;
  --radius: 8px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
}

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--orange);
}

address {
  font-style: normal;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.script {
  font-family: 'Caveat', cursive;
}

.accent {
  color: var(--olive);
}

/* ── Sticky Navigation ── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  height: var(--nav-height);
}

.nav-logo img {
  border-radius: 50%;
  transition: transform var(--transition);
}

.nav-logo:hover img {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav-menu a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--orange);
}

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

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ── */

.hero {
  margin-top: var(--nav-height);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 55%, var(--orange) 160%);
  color: var(--white);
  text-align: center;
  padding: 3rem 1.25rem 4rem;
}

.hero-logo {
  width: 160px;
  height: auto;
  margin: 0 auto 1rem;
  border-radius: 50%;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.3));
}

.hero-tagline {
  font-size: 1.75rem;
  color: var(--orange);
  margin-bottom: 0.25rem;
}

.hero h1 {
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 480px;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ── Buttons ── */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
}

/* ── Sections ── */

.section {
  padding: 4rem 0;
}

.section:nth-child(even) {
  background: var(--white);
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 1rem;
}

.section-intro {
  text-align: center;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

/* ── About ── */

.about-content {
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.about-content p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.tagline-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.25rem;
  background: var(--navy);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
}

.tagline-bar .script {
  font-size: 1.4rem;
  text-transform: none;
  color: var(--orange);
  font-weight: 600;
}

/* ── Food / Menu ── */

.section-food {
  background: var(--cream);
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.menu-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

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

.menu-item-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.menu-item-body {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 3px solid var(--orange);
  flex: 1;
}

.menu-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.menu-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

.menu-more {
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  margin-bottom: 2rem;
}

.menu-more h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.menu-more p {
  font-size: 0.95rem;
  opacity: 0.9;
}

.menu-image-toggle {
  margin-bottom: 1.5rem;
}

.menu-image-toggle summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  padding: 0.75rem 0;
  list-style-position: inside;
}

.menu-image-toggle summary:hover {
  color: var(--orange);
}

.menu-image {
  margin-top: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.no-ordering {
  text-align: center;
  font-style: italic;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ── Drinks ── */

.drinks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.drinks-card {
  background: var(--cream);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.drinks-card h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.drinks-card p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.section-drinks .btn-primary {
  font-size: 0.85rem;
}

/* ── Atmosphere ── */

.atmosphere-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.atmosphere-card {
  background: var(--cream);
  padding: 1.75rem;
  border-radius: var(--radius);
  border-top: 4px solid var(--olive);
}

.atmosphere-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

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

/* ── Visit ── */

.section-visit {
  background: var(--cream);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.visit-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.visit-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table th,
.hours-table td {
  padding: 0.4rem 0;
  text-align: left;
  font-size: 0.95rem;
}

.hours-table th {
  font-weight: 600;
  color: var(--navy);
  width: 40%;
}

.hours-table tr.closed td {
  color: var(--text-light);
  font-style: italic;
}

.hours-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  margin-bottom: 0.5rem;
}

.contact-list a {
  font-weight: 500;
  font-size: 1.05rem;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Footer ── */

.site-footer {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 3rem 1.25rem 2rem;
}

.footer-logo {
  margin: 0 auto 0.75rem;
  border-radius: 50%;
}

.footer-tagline {
  font-size: 1.5rem;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.social-links a:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-copy,
.footer-url {
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer-url {
  margin-top: 0.25rem;
}

.footer-url a {
  color: var(--orange);
}

.footer-url a:hover {
  color: var(--white);
}

/* ── Responsive ── */

@media (min-width: 480px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 640px) {
  .drinks-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .atmosphere-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .visit-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    padding: 4rem 1.25rem 5rem;
  }

  .hero-logo {
    width: 200px;
  }
}

@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--navy-dark);
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }

  .tagline-bar {
    flex-direction: column;
    gap: 0.35rem;
  }
}

@media (min-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
