:root {
  --primary-color: #e85d04;
  --primary-dark: #d45203;
  --secondary-color: #f8961e;
  --accent-color: #f9c74f;
  --dark-color: #1a1a2e;
  --light-color: #fef9ef;
}

/* Override Bootstrap Primary */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-primary-subtle {
  background-color: rgba(232, 93, 4, 0.1) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  padding-top: 100px;
  background: linear-gradient(135deg, var(--light-color) 0%, #fff 100%);
}

.hero-image-wrapper {
  position: relative;
}

.floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Feature Icons */
.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Event Cards */
.event-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 1rem;
  overflow: hidden;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.event-date {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 1rem;
  text-align: center;
  min-width: 80px;
}

.event-date .day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.event-date .month {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Cards */
.card {
  border-radius: 1rem;
}

/* Navbar */
.navbar {
  transition: all 0.3s ease;
  background-color: #ffc107 !important;
}

.navbar-brand {
  font-size: 1.25rem;
}

/* Sidebar */
.sidebar {
  padding-top: 1rem;
}

.sidebar .nav-link {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin: 0.25rem 0.5rem;
  transition: all 0.2s ease;
}

.sidebar .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link.active {
  background: var(--primary-color);
}

/* Form Controls */
.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(232, 93, 4, 0.15);
}

/* Tables */
.table > thead {
  background-color: #f8f9fa;
}

.table > tbody > tr {
  transition: background-color 0.2s ease;
}

/* Badges */
.badge {
  font-weight: 500;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
  }

  .hero-section .d-flex {
    justify-content: center;
  }

  .floating-card {
    display: none;
  }

  .sidebar {
    position: fixed;
    top: 56px;
    left: -100%;
    width: 250px;
    height: calc(100vh - 56px);
    transition: left 0.3s ease;
    z-index: 1000;
  }

  .sidebar.show {
    left: 0;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-section h1,
.hero-section p,
.hero-section .btn {
  animation: fadeInUp 0.6s ease forwards;
}

.hero-section p {
  animation-delay: 0.2s;
}

.hero-section .btn {
  animation-delay: 0.4s;
}
