/* Eagle Brother's Pizza — shared stylesheet */

:root {
  --red: #E63312;
  --red-dark: #b8260d;
  --dark: #111111;
  --dark2: #1e1e1e;
  --cream: #FFF8F5;
  --gold: #FFC107;
  --text: #222222;
  --text-muted: #666666;
  --border: #e0e0e0;
  --card-bg: #ffffff;
  --hero-overlay: rgba(0,0,0,0.65);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --cream: #1a1210;
    --text: #f0ebe8;
    --text-muted: #aaa09a;
    --border: #2e2a28;
    --card-bg: #231f1d;
    --hero-overlay: rgba(0,0,0,0.75);
  }
}

:root[data-theme="dark"] {
  --cream: #1a1210;
  --text: #f0ebe8;
  --text-muted: #aaa09a;
  --border: #2e2a28;
  --card-bg: #231f1d;
  --hero-overlay: rgba(0,0,0,0.75);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--cream);
  color: var(--text);
  margin: 0;
  padding-top: 70px; /* account for fixed nav */
}

/* ── Navbar ─────────────────────────────────── */
.ebp-nav {
  background: rgba(17,17,17,0.97) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s ease;
  z-index: 1000;
}

.ebp-nav .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.ebp-nav .navbar-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.ebp-nav .nav-link {
  color: rgba(255,255,255,0.82) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.4rem 0.9rem !important;
  transition: color 0.2s ease;
  position: relative;
}

.ebp-nav .nav-link:hover,
.ebp-nav .nav-link.active {
  color: var(--red) !important;
}

.ebp-nav .navbar-toggler {
  border-color: rgba(255,255,255,0.3);
}
.ebp-nav .navbar-toggler-icon {
  filter: invert(1);
}

.btn-order {
  background: var(--red);
  color: #fff !important;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.4rem 1.2rem !important;
  font-size: 0.88rem;
  transition: background 0.2s ease, transform 0.1s ease;
}
.btn-order:hover {
  background: var(--red-dark) !important;
  transform: scale(1.03);
}

/* ── Hero ─────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding: 0 16px;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 700px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  font-weight: 300;
}

.btn-hero-primary {
  background: var(--red);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-hero-primary:hover {
  background: var(--red-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-hero-outline {
  background: transparent;
  color: #fff;
  font-weight: 600;
  border: 2px solid #fff;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-hero-outline:hover {
  background: #fff;
  color: var(--dark);
  transform: translateY(-2px);
}

/* ── Page hero (inner pages) ─────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2a1a1a 100%);
  color: #fff;
  text-align: center;
  padding: 80px 16px 60px;
}

.page-hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  margin: 0;
}

/* ── Section titles ─────────────────────────── */
.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.title-accent {
  display: block;
  width: 50px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin: 0.6rem auto 0;
}

.section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* ── Features strip ─────────────────────────── */
.features-strip {
  background: var(--dark);
  color: #fff;
  padding: 28px 16px;
}

.feature-item {
  text-align: center;
  padding: 12px;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  display: block;
}

.feature-label {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
}

.feature-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}

/* ── Cards ─────────────────────────────────── */
.fav-card {
  background: var(--card-bg);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}
.fav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
}
.fav-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.fav-card-body {
  padding: 16px;
}
.fav-card-body h5 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text);
}
.fav-card-body .price {
  color: var(--red);
  font-weight: 700;
  font-size: 1.05rem;
}

/* ── Why choose us ─────────────────────────── */
.why-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: 14px;
  background: var(--card-bg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  height: 100%;
}
.why-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
}
.why-card h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 8px;
}
.why-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
}

/* ── Location card ─────────────────────────── */
.location-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  height: 100%;
  border-left: 4px solid var(--red);
  transition: transform 0.2s ease;
}
.location-card:hover {
  transform: translateY(-3px);
}
.location-card h5 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.location-card .loc-detail {
  font-size: 0.87rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-bottom: 6px;
}
.location-card .loc-detail .icon {
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}
.location-card .btn-sm {
  font-size: 0.8rem;
  padding: 5px 14px;
  border-radius: 50px;
}

/* ── Menu tabs ─────────────────────────────── */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.menu-tab-btn {
  background: var(--card-bg);
  border: 2px solid var(--border);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: 'Poppins', sans-serif;
}

.menu-tab-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.menu-tab-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ── Menu card ─────────────────────────────── */
.menu-card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.07);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.2s ease;
}

.menu-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.veg-dot, .nonveg-dot {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 3px;
  position: relative;
}
.veg-dot { border: 2px solid #2b8a3e; }
.veg-dot::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  background: #2b8a3e;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.nonveg-dot { border: 2px solid #962b2b; }
.nonveg-dot::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  background: #962b2b;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.menu-card-info {
  flex: 1;
}
.menu-card-info h6 {
  font-weight: 600;
  font-size: 0.93rem;
  margin: 0 0 2px;
  color: var(--text);
}
.menu-card-info .desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}
.menu-card-price {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
}

.menu-category-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--border);
  padding: 3px 10px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 2px;
}

/* ── Contact form ─────────────────────────── */
.contact-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
}

.contact-card .form-control,
.contact-card .form-select {
  border-radius: 8px;
  border: 1.5px solid var(--border);
  font-size: 0.9rem;
  background: var(--cream);
  color: var(--text);
  padding: 10px 14px;
}
.contact-card .form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(230,51,18,0.12);
  background: var(--cream);
  color: var(--text);
}
.contact-card label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}

.btn-submit {
  background: var(--red);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  padding: 12px 32px;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
}
.btn-submit:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
  width: 42px;
  height: 42px;
  background: rgba(230,51,18,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-text h6 {
  font-weight: 600;
  font-size: 0.88rem;
  margin: 0 0 2px;
  color: var(--text);
}
.contact-info-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Footer ─────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 50px 16px 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--red); }

.footer-heading {
  font-family: 'Oswald', sans-serif;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  font-size: 0.9rem;
}
.social-btn:hover {
  background: var(--red);
  color: #fff;
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 36px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ── Utility ─────────────────────────────── */
.btn-red {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  padding: 8px 22px;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-red:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); }

.btn-outline-red {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
  border-radius: 50px;
  font-weight: 600;
  padding: 7px 20px;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}
.btn-outline-red:hover { background: var(--red); color: #fff; }

.text-red { color: var(--red) !important; }
.bg-cream { background-color: var(--cream) !important; }

section { padding: 70px 0; }

@media (max-width: 768px) {
  section { padding: 50px 0; }
  .hero-title { font-size: 2.4rem; }
}
