/* ===== Base ===== */
body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  background-color: #f8f9fa;
}

/* ===== Page Banner (all inner pages) ===== */
.page-banner {
  min-height: 220px;
  position: relative;
  overflow: hidden;
}
.page-banner .breadcrumb {
  font-size: 0.9rem;
}
.page-banner .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.5);
}

/* ===== Hero Slider ===== */
.hero-slider {
  min-height: 60vh;
  position: relative;
  overflow: hidden;
}
.hero-slider .carousel-item {
  min-height: 60vh;
  background: linear-gradient(135deg, #7c2d12 0%, #c2410c 50%, #ea580c 100%);
  position: relative;
}
.hero-slider .carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.hero-slider .carousel-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(124, 45, 18, 0.3);
}
.hero-slider .carousel-caption-custom {
  position: relative;
  z-index: 2;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* ===== Statistics ===== */
.stat-item {
  padding: 1rem;
}
.stat-item i {
  color: rgba(255,255,255,0.9);
}

/* ===== Event Date Badge ===== */
.event-date-badge {
  min-width: 56px;
  line-height: 1.1;
  background: linear-gradient(135deg, #c2410c, #ea580c) !important;
}

/* ===== Join Banner ===== */
.join-banner {
  background: linear-gradient(135deg, #9a3412 0%, #c2410c 50%, #f97316 100%);
  position: relative;
  overflow: hidden;
}
.join-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}
.join-overlay {
  position: absolute;
  inset: 0;
  background: rgba(154, 52, 18, 0.4);
}

/* ===== Footer ===== */
.footer-main {
  background: #1c1917;
  margin-top: auto;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a:hover {
  color: #fb923c !important;
  padding-left: 4px;
  transition: all 0.2s;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  text-decoration: none;
  transition: all 0.2s;
}
.social-links a:hover {
  background: #ea580c;
  transform: translateY(-2px);
}

/* ===== General Cards ===== */
.card {
  border-radius: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1) !important;
}
.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* ===== Form Spacing ===== */
.form-section {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

/* ===== Navbar ===== */
.navbar-brand {
  font-weight: 700;
}

/* ===== Admin Sidebar ===== */
#sidebar .nav-link {
  padding: .5rem 1rem;
}
#sidebar .nav-link:hover {
  background: rgba(255,255,255,.1);
}

/* ===== Primary Button Override ===== */
.btn-primary, .bg-primary {
  background-color: #ea580c !important;
  border-color: #ea580c !important;
}
.btn-primary:hover {
  background-color: #c2410c !important;
  border-color: #c2410c !important;
}
.btn-outline-primary {
  color: #ea580c !important;
  border-color: #ea580c !important;
}
.btn-outline-primary:hover {
  background-color: #ea580c !important;
  color: #fff !important;
}
.text-primary {
  color: #ea580c !important;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-slider .carousel-caption-custom h1 {
    font-size: 2rem;
  }
  .stat-item h3 {
    font-size: 1.5rem;
  }
  .page-banner {
    min-height: 160px;
  }
}
