/* ============================================================
   Smokin' Brothers BBQ — style.css
   Prefix: sb-
   ============================================================ */

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

:root {
  --sb-dark: #1C1008;
  --sb-light: #FFF5E6;
  --sb-accent: #D97706;
  --sb-accent-hover: #b45f05;
  --sb-gray: #3d2e1a;
  --sb-gray-light: #a89279;
  --sb-font-heading: 'Bebas Neue', sans-serif;
  --sb-font-body: 'Source Sans Pro', sans-serif;
  --sb-radius: 8px;
  --sb-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  --sb-transition: 0.3s ease;
}

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

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

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

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

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

ul {
  list-style: none;
}

/* ---------- UTILITY ---------- */
.sb-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sb-section {
  padding: 100px 0;
}

.sb-section-title {
  font-family: var(--sb-font-heading);
  font-size: 3rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 12px;
  color: var(--sb-light);
}

.sb-section-subtitle {
  text-align: center;
  color: var(--sb-gray-light);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ---------- BUTTONS ---------- */
.sb-btn {
  display: inline-block;
  font-family: var(--sb-font-heading);
  font-size: 1.125rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--sb-radius);
  border: 2px solid var(--sb-accent);
  cursor: pointer;
  transition: all var(--sb-transition);
  text-align: center;
}

.sb-btn--primary {
  background: var(--sb-accent);
  color: var(--sb-dark);
}

.sb-btn--primary:hover {
  background: var(--sb-accent-hover);
  border-color: var(--sb-accent-hover);
  color: var(--sb-light);
}

.sb-btn--outline {
  background: transparent;
  color: var(--sb-light);
}

.sb-btn--outline:hover {
  background: var(--sb-accent);
  color: var(--sb-dark);
}

.sb-btn--nav {
  padding: 10px 24px;
  font-size: 0.95rem;
}

/* ---------- REVEAL ANIMATIONS ---------- */
.sb-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---------- DEMO BANNER ---------- */
.sb-demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 24px;
  background: var(--sb-accent);
  color: var(--sb-dark);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  flex-wrap: wrap;
}

.sb-demo-banner-link {
  color: var(--sb-dark);
  text-decoration: underline;
  font-weight: 700;
}

.sb-demo-banner-link:hover {
  color: var(--sb-light);
}

/* ---------- NAV ---------- */
.sb-nav {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--sb-transition), box-shadow var(--sb-transition);
}

.sb-nav.sb-scrolled {
  background: rgba(28, 16, 8, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.sb-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}

.sb-logo {
  font-family: var(--sb-font-heading);
  font-size: 1.75rem;
  color: var(--sb-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.sb-logo:hover {
  color: var(--sb-light);
}

.sb-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.sb-nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--sb-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

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

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

/* Hamburger */
.sb-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1010;
}

.sb-hamburger-line {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--sb-light);
  border-radius: 2px;
  transition: all var(--sb-transition);
}

.sb-hamburger.sb-active .sb-hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.sb-hamburger.sb-active .sb-hamburger-line:nth-child(2) {
  opacity: 0;
}

.sb-hamburger.sb-active .sb-hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

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

.sb-hero-bg {
  position: absolute;
  inset: 0;
}

.sb-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sb-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 16, 8, 0.7) 0%,
    rgba(28, 16, 8, 0.85) 100%
  );
}

.sb-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.sb-hero-title {
  font-family: var(--sb-font-heading);
  font-size: 5rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--sb-light);
  line-height: 1.1;
  margin-bottom: 16px;
}

.sb-hero-tagline {
  font-size: 1.5rem;
  color: var(--sb-accent);
  font-weight: 600;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.sb-hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- MENU ---------- */
.sb-menu {
  background: var(--sb-dark);
}

.sb-menu-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.sb-filter-btn {
  font-family: var(--sb-font-heading);
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 2px solid var(--sb-gray);
  border-radius: 50px;
  background: transparent;
  color: var(--sb-gray-light);
  cursor: pointer;
  transition: all var(--sb-transition);
}

.sb-filter-btn:hover,
.sb-filter-btn--active {
  border-color: var(--sb-accent);
  color: var(--sb-accent);
  background: rgba(217, 119, 6, 0.1);
}

.sb-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.sb-menu-card {
  background: rgba(255, 245, 230, 0.05);
  border-radius: var(--sb-radius);
  overflow: hidden;
  transition: transform var(--sb-transition), box-shadow var(--sb-transition);
}

.sb-menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sb-shadow);
}

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

.sb-menu-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.sb-menu-card:hover .sb-menu-card-img img {
  transform: scale(1.08);
}

.sb-menu-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--sb-accent);
  color: var(--sb-dark);
  font-family: var(--sb-font-heading);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}

.sb-menu-card-body {
  padding: 20px;
}

.sb-menu-card-title {
  font-family: var(--sb-font-heading);
  font-size: 1.35rem;
  letter-spacing: 1px;
  margin-bottom: 6px;
  color: var(--sb-light);
}

.sb-menu-card-desc {
  font-size: 0.9rem;
  color: var(--sb-gray-light);
  margin-bottom: 12px;
  line-height: 1.5;
}

.sb-menu-card-price {
  font-family: var(--sb-font-heading);
  font-size: 1.5rem;
  color: var(--sb-accent);
  letter-spacing: 1px;
}

/* ---------- CATERING ---------- */
.sb-catering {
  background: rgba(255, 245, 230, 0.03);
}

.sb-catering-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.sb-catering-text .sb-section-title {
  text-align: left;
}

.sb-catering-text .sb-section-subtitle {
  text-align: left;
  margin: 0 0 32px;
  max-width: none;
}

.sb-catering-features {
  margin-bottom: 32px;
}

.sb-catering-features li {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.sb-catering-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 48px;
  text-align: center;
}

.sb-catering-features strong {
  display: block;
  font-size: 1.1rem;
  color: var(--sb-light);
  margin-bottom: 4px;
}

.sb-catering-features p {
  font-size: 0.95rem;
  color: var(--sb-gray-light);
  line-height: 1.5;
}

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

.sb-catering-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--sb-radius);
}

/* ---------- ABOUT ---------- */
.sb-about {
  background: var(--sb-dark);
}

.sb-about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.sb-about-image img {
  width: 100%;
  border-radius: var(--sb-radius);
}

.sb-about-text .sb-section-title {
  text-align: left;
}

.sb-about-text p {
  color: var(--sb-gray-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.sb-about-text strong {
  color: var(--sb-accent);
}

/* ---------- LOCATIONS ---------- */
.sb-locations {
  background: rgba(255, 245, 230, 0.03);
}

.sb-locations-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.sb-schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.sb-schedule-table th {
  font-family: var(--sb-font-heading);
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sb-accent);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--sb-accent);
}

.sb-schedule-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 245, 230, 0.1);
  color: var(--sb-light);
}

.sb-schedule-table tr:hover td {
  background: rgba(217, 119, 6, 0.08);
}

.sb-closed {
  color: var(--sb-gray-light);
  font-style: italic;
}

.sb-map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sb-map-box {
  width: 100%;
  min-height: 360px;
  border: 2px dashed var(--sb-gray);
  border-radius: var(--sb-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  color: var(--sb-gray-light);
}

.sb-map-icon {
  width: 48px;
  height: 48px;
  color: var(--sb-accent);
  margin-bottom: 16px;
}

/* ---------- GALLERY ---------- */
.sb-gallery {
  background: var(--sb-dark);
}

.sb-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sb-gallery-item {
  position: relative;
  border-radius: var(--sb-radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

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

/* ---------- REVIEWS ---------- */
.sb-reviews {
  background: rgba(255, 245, 230, 0.03);
}

.sb-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.sb-review-card {
  background: rgba(255, 245, 230, 0.05);
  border-radius: var(--sb-radius);
  padding: 32px;
  border: 1px solid rgba(255, 245, 230, 0.08);
  transition: transform var(--sb-transition);
}

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

.sb-review-stars {
  color: var(--sb-accent);
  font-size: 1.25rem;
  margin-bottom: 16px;
  letter-spacing: 3px;
}

.sb-review-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--sb-gray-light);
  margin-bottom: 24px;
  font-style: italic;
  border: none;
  padding: 0;
}

.sb-review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sb-review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sb-accent);
  color: var(--sb-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sb-font-heading);
  font-size: 1rem;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.sb-review-author strong {
  display: block;
  color: var(--sb-light);
  font-size: 0.95rem;
}

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

/* ---------- FAQ ---------- */
.sb-faq {
  background: var(--sb-dark);
}

.sb-faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.sb-faq-item {
  border-bottom: 1px solid rgba(255, 245, 230, 0.1);
}

.sb-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--sb-light);
  font-family: var(--sb-font-body);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  transition: color var(--sb-transition);
}

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

.sb-faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--sb-accent);
  transition: transform var(--sb-transition);
}

.sb-faq-item.sb-active .sb-faq-chevron {
  transform: rotate(180deg);
}

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

.sb-faq-item.sb-active .sb-faq-answer {
  max-height: 300px;
}

.sb-faq-answer p {
  padding: 0 0 20px;
  color: var(--sb-gray-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ---------- FOOTER ---------- */
.sb-footer {
  background: rgba(0, 0, 0, 0.3);
  padding: 64px 0 0;
}

.sb-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 245, 230, 0.1);
}

.sb-footer-logo {
  font-family: var(--sb-font-heading);
  font-size: 1.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sb-accent);
  margin-bottom: 4px;
}

.sb-footer-tagline {
  color: var(--sb-gray-light);
  margin-bottom: 20px;
}

.sb-footer-social {
  display: flex;
  gap: 12px;
}

.sb-footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 245, 230, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--sb-transition);
}

.sb-footer-social a:hover {
  background: var(--sb-accent);
  border-color: var(--sb-accent);
}

.sb-footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--sb-light);
}

.sb-footer-social a:hover svg {
  fill: var(--sb-dark);
}

.sb-footer-col h4 {
  font-family: var(--sb-font-heading);
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sb-light);
  margin-bottom: 16px;
}

.sb-footer-col ul li {
  margin-bottom: 10px;
}

.sb-footer-col ul li a {
  color: var(--sb-gray-light);
  font-size: 0.95rem;
}

.sb-footer-col ul li a:hover {
  color: var(--sb-accent);
}

.sb-footer-col ul li {
  color: var(--sb-gray-light);
  font-size: 0.95rem;
}

.sb-footer-bottom {
  text-align: center;
  padding: 24px 0;
  color: var(--sb-gray-light);
  font-size: 0.85rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

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

  .sb-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ---------- 768px ---------- */
@media (max-width: 768px) {
  .sb-section {
    padding: 72px 0;
  }

  .sb-section-title {
    font-size: 2.25rem;
  }

  .sb-hero-title {
    font-size: 3rem;
  }

  .sb-hero-tagline {
    font-size: 1.2rem;
  }

  /* Mobile nav */
  .sb-hamburger {
    display: flex;
  }

  .sb-nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(28, 16, 8, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 24px;
    transition: right var(--sb-transition);
    z-index: 1005;
  }

  .sb-nav-links.sb-open {
    right: 0;
  }

  .sb-nav-links a {
    font-size: 1.25rem;
  }

  .sb-btn--nav {
    display: none;
  }

  /* Grids to 2 columns */
  .sb-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sb-catering-inner,
  .sb-about-inner,
  .sb-locations-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sb-catering-text .sb-section-title,
  .sb-about-text .sb-section-title {
    text-align: center;
  }

  .sb-catering-text .sb-section-subtitle {
    text-align: center;
  }

  .sb-reviews-grid {
    grid-template-columns: 1fr;
  }

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

  .sb-footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sb-footer-social {
    justify-content: center;
  }
}

/* ---------- 480px ---------- */
@media (max-width: 480px) {
  .sb-section {
    padding: 56px 0;
  }

  .sb-section-title {
    font-size: 1.85rem;
  }

  .sb-hero-title {
    font-size: 2.25rem;
  }

  .sb-hero-tagline {
    font-size: 1rem;
    margin-bottom: 28px;
  }

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

  .sb-btn {
    width: 100%;
    max-width: 280px;
  }

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

  .sb-gallery-grid {
    grid-template-columns: 1fr;
  }

  .sb-demo-banner {
    flex-direction: column;
    gap: 4px;
    font-size: 0.8rem;
  }

  .sb-filter-btn {
    padding: 6px 14px;
    font-size: 0.85rem;
  }
}