/* ============================================
   The Brown Bites â€“ Global Stylesheet
   Color Palette: Chocolate Brown, Cream, Gold
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --brown-dark: #2c1503;
  --brown-primary: #3d1c02;
  --brown-mid: #6b3a1f;
  --brown-light: #a0632a;
  --gold: #c9922a;
  --gold-light: #e8b84b;
  --cream: #fdf6ec;
  --cream-dark: #f5e8d0;
  --white: #ffffff;
  --text-dark: #1a0a00;
  --text-muted: #7a5c3e;
  --shadow-sm: 0 2px 8px rgba(61, 28, 2, .12);
  --shadow-md: 0 6px 24px rgba(61, 28, 2, .18);
  --shadow-lg: 0 12px 48px rgba(61, 28, 2, .24);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --transition: all .3s cubic-bezier(.4, 0, .2, 1);
}




/* ---- Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ---- Typography ---- */
h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.6rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  color: var(--text-muted);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: .93rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--brown-mid));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(201, 146, 42, .4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 146, 42, .55);
}

.btn-outline {
  background: transparent;
  color: var(--brown-primary);
  border: 2px solid var(--brown-primary);
}

.btn-outline:hover {
  background: var(--brown-primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--brown-dark);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--brown-mid);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 20px;
  font-size: .82rem;
}

/* ---- Section Layout ---- */
.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--cream-dark);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .tagline {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 146, 42, .12);
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 560px;
  margin: 0 auto;
}

.divider {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--brown-mid));
  border-radius: 2px;
  margin: 18px auto 0;
}

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(44, 21, 3, .97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.navbar-brand .brand-text {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  line-height: 1;
}

.navbar-brand .brand-sub {
  font-size: .65rem;
  color: var(--gold-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar-nav a {
  color: rgba(255, 255, 255, .85);
  font-size: .9rem;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: var(--transition);
}

.navbar-nav a:hover {
  color: var(--gold-light);
}

.navbar-nav a:hover::after {
  width: 100%;
}

.cart-btn {
  position: relative;
  background: var(--gold);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 600 !important;
}

.cart-btn:hover {
  background: var(--gold-light);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--brown-dark);
  color: var(--white);
  font-size: .62rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Toast Notification ---- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--brown-dark);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--gold);
  animation: slideInRight .3s ease, fadeOut .4s ease 2.8s forwards;
  min-width: 240px;
}

@keyframes slideInRight {
  from {
    transform: translateX(110%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateX(110%);
  }
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* ---- Badge ---- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-gold {
  background: rgba(201, 146, 42, .15);
  color: var(--gold);
}

.badge-success {
  background: rgba(34, 197, 94, .12);
  color: #16a34a;
}

.badge-warn {
  background: rgba(245, 158, 11, .12);
  color: #d97706;
}

.badge-info {
  background: rgba(59, 130, 246, .12);
  color: #2563eb;
}

.badge-danger {
  background: rgba(239, 68, 68, .12);
  color: #dc2626;
}

/* ---- Footer ---- */
.footer {
  background: var(--brown-dark);
  color: rgba(255, 255, 255, .75);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 18px;
  font-size: 1rem;
}

.video-placeholder i {
  font-size: 3rem;
  color: rgba(201, 146, 42, .6);
}

/* ---- Reviews ---- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 4px solid var(--gold);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.review-comment {
  font-size: .95rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.6;
}

.review-author {
  font-size: .88rem;
  font-weight: 600;
  color: var(--brown-light);
  text-align: right;
}

.footer p,
.footer a {
  font-size: .88rem;
  color: rgba(255, 255, 255, .65);
}

.footer a:hover {
  color: var(--gold-light);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 24px;
  text-align: center;
  font-size: .82rem;
  color: rgba(255, 255, 255, .4);
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ---- Responsive ---- */

/* Hamburger animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hamburger span {
  transition: all .3s ease;
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-img-wrap img {
    height: 300px;
  }

  .about-float-badge {
    right: 10px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery-item:first-child {
    grid-row: auto;
  }

  .location-layout {
    grid-template-columns: 1fr;
  }

  .menu-preview-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 4%;
    height: 64px;
  }

  .hero-content { padding-top: 0; }

  .navbar-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(44, 21, 3, .98);
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 999;
    backdrop-filter: blur(10px);
  }

  .navbar-nav.open {
    display: flex;
  }

  .navbar-nav a {
    font-size: 1.2rem;
  }

  .hamburger {
    display: flex;
    z-index: 1000;
    position: relative;
  }

  .section {
    padding: 52px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .menu-preview-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .gallery-item:first-child {
    grid-row: auto;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer {
    padding: 40px 0 20px;
  }

  .hero-stats {
    gap: 22px;
    margin-top: 40px;
  }
}

@media (max-width: 600px) {
  .container {
    width: 94%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-stat .num {
    font-size: 1.4rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: .95rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }

  .btn {
    padding: 11px 20px;
    font-size: .88rem;
  }

  .about-img-wrap img {
    height: 230px;
  }

  .about-float-badge {
    padding: 14px;
    right: 6px;
    bottom: -10px;
  }

  .about-float-badge .num {
    font-size: 1.8rem;
  }

  .map-wrap {
    height: 260px;
  }

  .location-layout {
    gap: 28px;
  }
}/* Floating Cart Bar */
.cart-float-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--brown-dark);
  color: var(--cream);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
}
.cart-float-bar.visible {
  transform: translateY(0);
}
.cart-float-info {
  display: flex;
  flex-direction: column;
}
.cart-float-count {
  font-size: 0.9rem;
  opacity: 0.9;
}
.cart-float-total {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
}
.cart-float-btn {
  background: var(--gold);
  color: var(--brown-dark);
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cart-float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212,175,55,0.4);
}

