/* ==========================================================================
   Brewtruck Template — style.css
   Color Palette: Dark #1C1210, Light #FFF8F0, Accent #92400E
   Fonts: Cormorant Garamond (headings), Karla (body)
   All custom classes prefixed with bt-
   ========================================================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bt-dark: #1C1210;
  --bt-light: #FFF8F0;
  --bt-accent: #92400E;
  --bt-accent-light: #b4570f;
  --bt-accent-bg: rgba(146, 64, 14, 0.08);
  --bt-gray: #6B5E57;
  --bt-gray-light: #A39890;
  --bt-border: #E8DDD6;
  --bt-shadow: 0 4px 24px rgba(28, 18, 16, 0.08);
  --bt-shadow-lg: 0 12px 48px rgba(28, 18, 16, 0.12);
  --bt-radius: 8px;
  --bt-radius-lg: 16px;
  --bt-font-heading: 'Cormorant Garamond', Georgia, serif;
  --bt-font-body: 'Karla', -apple-system, BlinkMacSystemFont, sans-serif;
  --bt-banner-height: 40px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--bt-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--bt-dark);
  background-color: var(--bt-light);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--bt-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--bt-accent-light);
}

/* ---------- Demo Banner ---------- */
.bt-demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: var(--bt-dark);
  color: var(--bt-light);
  height: var(--bt-banner-height);
  display: flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 500;
}

.bt-demo-banner-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bt-demo-banner-link {
  color: var(--bt-light);
  opacity: 0.8;
  font-size: 0.8125rem;
  transition: opacity 0.3s ease;
}

.bt-demo-banner-link:hover {
  opacity: 1;
  color: var(--bt-light);
}

/* ---------- Navigation ---------- */
.bt-nav {
  position: fixed;
  top: var(--bt-banner-height);
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.bt-nav.bt-scrolled {
  background: rgba(255, 248, 240, 0.97);
  box-shadow: var(--bt-shadow);
  backdrop-filter: blur(8px);
}

.bt-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bt-logo {
  font-family: var(--bt-font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--bt-light);
  letter-spacing: 0.02em;
  transition: color 0.4s ease;
}

.bt-scrolled .bt-logo {
  color: var(--bt-dark);
}

.bt-nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.bt-nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 248, 240, 0.85);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.bt-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bt-accent);
  transition: width 0.3s ease;
}

.bt-nav-links a:hover::after {
  width: 100%;
}

.bt-scrolled .bt-nav-links a {
  color: var(--bt-gray);
}

.bt-scrolled .bt-nav-links a:hover {
  color: var(--bt-accent);
}

.bt-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bt-light) !important;
  background: var(--bt-accent);
  border-radius: var(--bt-radius);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.2s ease;
}

.bt-nav-cta:hover {
  background: var(--bt-accent-light);
  color: var(--bt-light) !important;
  transform: translateY(-1px);
}

.bt-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.bt-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bt-light);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.4s ease;
}

.bt-scrolled .bt-hamburger span {
  background: var(--bt-dark);
}

.bt-hamburger.bt-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.bt-hamburger.bt-active span:nth-child(2) {
  opacity: 0;
}

.bt-hamburger.bt-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.bt-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.bt-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bt-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 18, 16, 0.6) 0%,
    rgba(28, 18, 16, 0.75) 100%
  );
}

.bt-hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
}

.bt-hero-title {
  font-family: var(--bt-font-heading);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--bt-light);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.bt-hero-tagline {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: rgba(255, 248, 240, 0.85);
  font-weight: 300;
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
}

.bt-hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.bt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--bt-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--bt-radius);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.bt-btn-primary {
  background: var(--bt-accent);
  color: var(--bt-light) !important;
  border-color: var(--bt-accent);
}

.bt-btn-primary:hover {
  background: var(--bt-accent-light);
  border-color: var(--bt-accent-light);
  color: var(--bt-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(146, 64, 14, 0.3);
}

.bt-btn-secondary {
  background: transparent;
  color: var(--bt-light) !important;
  border-color: rgba(255, 248, 240, 0.5);
}

.bt-btn-secondary:hover {
  background: rgba(255, 248, 240, 0.1);
  border-color: var(--bt-light);
  color: var(--bt-light) !important;
  transform: translateY(-2px);
}

/* ---------- Sections ---------- */
.bt-section {
  padding: 6rem 0;
}

.bt-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.bt-container-narrow {
  max-width: 800px;
}

.bt-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.bt-section-title {
  font-family: var(--bt-font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--bt-dark);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.bt-section-subtitle {
  font-size: 1.0625rem;
  color: var(--bt-gray);
  font-weight: 400;
}

/* ---------- Menu Section ---------- */
.bt-menu-section {
  background: var(--bt-light);
}

.bt-menu-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.bt-filter-btn {
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: 1.5px solid var(--bt-border);
  border-radius: 100px;
  font-family: var(--bt-font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bt-gray);
  cursor: pointer;
  transition: all 0.3s ease;
}

.bt-filter-btn:hover {
  border-color: var(--bt-accent);
  color: var(--bt-accent);
}

.bt-filter-btn.bt-filter-active {
  background: var(--bt-accent);
  border-color: var(--bt-accent);
  color: var(--bt-light);
}

.bt-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.bt-menu-card {
  background: #fff;
  border-radius: var(--bt-radius-lg);
  overflow: hidden;
  box-shadow: var(--bt-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bt-menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bt-shadow-lg);
}

.bt-menu-card.bt-hidden {
  display: none;
}

.bt-menu-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.bt-menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bt-menu-card:hover .bt-menu-card-img img {
  transform: scale(1.05);
}

.bt-menu-card-body {
  padding: 1.25rem;
}

.bt-menu-card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.375rem;
}

.bt-menu-card-name {
  font-family: var(--bt-font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bt-dark);
}

.bt-menu-card-price {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--bt-accent);
}

.bt-menu-card-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bt-accent);
  background: var(--bt-accent-bg);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 0.5rem;
}

.bt-menu-card-desc {
  font-size: 0.875rem;
  color: var(--bt-gray);
  line-height: 1.6;
}

/* ---------- Catering Section ---------- */
.bt-catering-section {
  background: #fff;
}

.bt-catering-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.bt-catering-content .bt-section-title {
  text-align: left;
  margin-bottom: 1.25rem;
}

.bt-catering-text {
  color: var(--bt-gray);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.bt-catering-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.bt-catering-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--bt-dark);
  font-weight: 500;
}

.bt-catering-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bt-accent);
}

.bt-catering-image {
  border-radius: var(--bt-radius-lg);
  overflow: hidden;
}

.bt-catering-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

/* ---------- About Section ---------- */
.bt-about-section {
  background: var(--bt-light);
}

.bt-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.bt-about-image {
  border-radius: var(--bt-radius-lg);
  overflow: hidden;
}

.bt-about-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.bt-about-content .bt-section-title {
  text-align: left;
  margin-bottom: 1.25rem;
}

.bt-about-content p {
  color: var(--bt-gray);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

/* ---------- Locations Section ---------- */
.bt-locations-section {
  background: #fff;
}

.bt-locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.bt-schedule {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bt-schedule-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--bt-border);
}

.bt-schedule-item:last-child {
  border-bottom: none;
}

.bt-schedule-day {
  font-family: var(--bt-font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--bt-dark);
  min-width: 110px;
}

.bt-schedule-detail {
  display: flex;
  flex-direction: column;
}

.bt-schedule-location {
  font-weight: 600;
  color: var(--bt-accent);
  font-size: 0.9375rem;
}

.bt-schedule-time {
  font-size: 0.875rem;
  color: var(--bt-gray);
}

.bt-locations-map {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bt-map-placeholder {
  background: var(--bt-accent-bg);
  border: 2px dashed var(--bt-border);
  border-radius: var(--bt-radius-lg);
  padding: 3rem;
  text-align: center;
  width: 100%;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.bt-map-placeholder p {
  color: var(--bt-gray);
  font-size: 1rem;
  max-width: 280px;
}

/* ---------- Gallery Section ---------- */
.bt-gallery-section {
  background: var(--bt-light);
}

.bt-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.bt-gallery-item {
  border-radius: var(--bt-radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

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

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

/* ---------- Reviews Section ---------- */
.bt-reviews-section {
  background: #fff;
}

.bt-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.bt-review-card {
  background: var(--bt-light);
  border-radius: var(--bt-radius-lg);
  padding: 2rem;
  transition: transform 0.3s ease;
}

.bt-review-card:hover {
  transform: translateY(-4px);
}

.bt-review-stars {
  margin-bottom: 1rem;
  display: flex;
  gap: 2px;
}

.bt-review-stars span {
  color: #D97706;
  font-size: 1.125rem;
}

.bt-review-text {
  font-size: 0.9375rem;
  color: var(--bt-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.bt-review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bt-review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bt-accent);
  color: var(--bt-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.bt-review-author strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--bt-dark);
}

.bt-review-author span {
  font-size: 0.8125rem;
  color: var(--bt-gray-light);
}

/* ---------- FAQ Section ---------- */
.bt-faq-section {
  background: var(--bt-light);
}

.bt-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bt-faq-item {
  border-bottom: 1px solid var(--bt-border);
}

.bt-faq-item:first-child {
  border-top: 1px solid var(--bt-border);
}

.bt-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--bt-font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--bt-dark);
  text-align: left;
  gap: 1rem;
  transition: color 0.3s ease;
}

.bt-faq-question:hover {
  color: var(--bt-accent);
}

.bt-faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.bt-faq-item.bt-faq-open .bt-faq-icon {
  transform: rotate(180deg);
}

.bt-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.bt-faq-item.bt-faq-open .bt-faq-answer {
  max-height: 300px;
}

.bt-faq-answer p {
  padding-bottom: 1.25rem;
  color: var(--bt-gray);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* ---------- Footer ---------- */
.bt-footer {
  background: var(--bt-dark);
  color: rgba(255, 248, 240, 0.7);
  padding: 4rem 0 0;
}

.bt-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.bt-footer-logo {
  font-family: var(--bt-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bt-light);
  margin-bottom: 1rem;
}

.bt-footer-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 320px;
}

.bt-footer-heading {
  font-family: var(--bt-font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--bt-light);
  margin-bottom: 1rem;
}

.bt-footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bt-footer-list li,
.bt-footer-list a {
  font-size: 0.9375rem;
  color: rgba(255, 248, 240, 0.7);
}

.bt-footer-list a:hover {
  color: var(--bt-light);
}

.bt-social-links {
  display: flex;
  gap: 0.75rem;
}

.bt-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 248, 240, 0.08);
  color: rgba(255, 248, 240, 0.7);
  transition: background 0.3s ease, color 0.3s ease;
}

.bt-social-link:hover {
  background: var(--bt-accent);
  color: var(--bt-light);
}

.bt-social-link svg {
  stroke: currentColor;
}

.bt-footer-bottom {
  border-top: 1px solid rgba(255, 248, 240, 0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 248, 240, 0.4);
}

/* ---------- Reveal Animations ---------- */
.bt-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.bt-reveal.bt-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive: 1024px ---------- */
@media (max-width: 1024px) {
  .bt-menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bt-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* ---------- Responsive: 768px ---------- */
@media (max-width: 768px) {
  .bt-nav-links,
  .bt-nav-cta {
    display: none;
  }

  .bt-hamburger {
    display: flex;
  }

  .bt-nav-links.bt-nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bt-light);
    padding: 1.5rem;
    gap: 0;
    box-shadow: var(--bt-shadow-lg);
    border-top: 1px solid var(--bt-border);
  }

  .bt-nav-links.bt-nav-open li {
    padding: 0;
  }

  .bt-nav-links.bt-nav-open a {
    display: block;
    padding: 0.875rem 0;
    color: var(--bt-dark) !important;
    font-size: 1rem;
    border-bottom: 1px solid var(--bt-border);
  }

  .bt-nav-links.bt-nav-open li:last-child a {
    border-bottom: none;
  }

  .bt-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bt-catering-grid,
  .bt-about-grid,
  .bt-locations-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .bt-about-image {
    order: -1;
  }

  .bt-about-image img {
    aspect-ratio: 16 / 9;
  }

  .bt-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bt-reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .bt-section {
    padding: 4rem 0;
  }

  .bt-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---------- Responsive: 480px ---------- */
@media (max-width: 480px) {
  :root {
    --bt-banner-height: auto;
  }

  .bt-demo-banner {
    height: auto;
    padding: 0.5rem 0;
  }

  .bt-demo-banner-inner {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }

  .bt-nav {
    top: 0;
  }

  .bt-menu-grid {
    grid-template-columns: 1fr;
  }

  .bt-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bt-hero-title {
    font-size: 2.5rem;
  }

  .bt-hero-tagline {
    font-size: 1rem;
  }

  .bt-hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .bt-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .bt-section {
    padding: 3rem 0;
  }

  .bt-section-header {
    margin-bottom: 2.5rem;
  }

  .bt-schedule-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .bt-schedule-day {
    min-width: auto;
  }
}