/* The Box Label Entertainment Custom Styles */

/* Global Overrides - Highest Priority */
html, body {
  background-color: #000000 !important;
  color: #ffffff !important;
}

/* Force specific sections to be black, exclude banners and hero sections */
.about-section, .testimonial-section, .client-logo-area, .events-section, .category-section {
  background-color: #000000 !important;
  background: #000000 !important;
}

/* Specifically exclude page-banner from any background overrides */
.page-banner {
  background-color: initial !important;
  background: initial !important;
}

.page-banner[style*="background-image"] {
  background-color: transparent !important;
}

/* Preserve hero sections and page banners - DO NOT override these */
.hero-section, .page-banner {
  /* Let these keep their original backgrounds */
}

/* Override ALL light background classes */
.bg-lighter, .bg-light, .bg-white, .bg-gray, .bg-grey {
  background-color: #111111 !important;
  background: #111111 !important;
}

/* Force specific problematic sections */
.event-section, .events-section, .explore-events, .how-it-works, .how-work {
  background-color: #000000 !important;
  background: #000000 !important;
}

/* Hero section overlay fix - keep background image but ensure text visibility */
.page-banner .overlay:before, .hero-banner .overlay:before {
  background-color: rgba(0, 0, 0, 0.7) !important;
}

/* Event category text colors */
.event-category, .event-cat, .category-item {
  color: #ffffff !important;
}

.event-category h3, .event-category h4, .event-category h5,
.event-cat h3, .event-cat h4, .event-cat h5,
.category-item h3, .category-item h4, .category-item h5 {
  color: #ffffff !important;
}

.event-category p, .event-cat p, .category-item p {
  color: #cccccc !important;
}

/* How it works section */
.how-work-section, .how-it-works-section {
  background-color: #000000 !important;
  background: #000000 !important;
}

.work-step, .step-item {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 15px !important;
}

/* Override any white or light backgrounds */
*[style*="background-color: white"], 
*[style*="background-color: #fff"],
*[style*="background-color: #ffffff"],
*[style*="background: white"],
*[style*="background: #fff"],
*[style*="background: #ffffff"] {
  background-color: #000000 !important;
  background: #000000 !important;
}

/* Text colors */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff !important;
}

p, span, div {
  color: #cccccc !important;
}

/* Page banners - allow background images */
.page-banner {
  /* Remove background override to allow images */
}

.page-title {
  color: #ffffff !important;
}

.breadcrumb-item a {
  color: #4ecdc4 !important;
}

.breadcrumb-item.active {
  color: #ffffff !important;
}

/* Feature items */
.feature-item {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 15px !important;
  padding: 30px !important;
}

.feature-item h5 {
  color: #ffffff !important;
}

.feature-item p {
  color: #cccccc !important;
}

/* Testimonial items */
.testimonial-item {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 15px !important;
  padding: 20px !important;
}

.testimonial-item h5 {
  color: #ffffff !important;
}

.testimonial-item span {
  color: #4ecdc4 !important;
}

.testimonial-item p {
  color: #cccccc !important;
}

.total-client-reviews {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
}

/* Event cards */
.event-card, .event-item {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 15px !important;
}

.event-card h4, .event-item h4 {
  color: #ffffff !important;
}

.event-card p, .event-item p {
  color: #cccccc !important;
}

/* Header Styling */
.main-header {
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-header .navigation li a {
  color: #ffffff !important;
  transition: all 0.3s ease;
}

.main-header .navigation li a:hover {
  color: #ff6b6b !important;
}

/* Footer Styling */
.footer-section {
  background: #111111 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h5 {
  color: #ffffff !important;
}

.footer-section p, .footer-section a {
  color: #cccccc !important;
}

.footer-section a:hover {
  color: #ff6b6b !important;
}

/* Button Enhancements */
.btn-primary, .btn {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4) !important;
  border: none !important;
  border-radius: 25px !important;
  transition: all 0.3s ease !important;
  color: #ffffff !important;
}

.btn-primary:hover, .btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3) !important;
  color: #ffffff !important;
}

/* Form Styling */
.form-control {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border-radius: 10px !important;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.25) !important;
  color: #ffffff !important;
}

.form-control::placeholder {
  color: #cccccc !important;
}

/* Card Styling */
.card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 15px !important;
}

.card-header {
  background: rgba(255, 255, 255, 0.05) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.card-body {
  color: #cccccc !important;
}

/* Links */
a {
  color: #4ecdc4 !important;
}

a:hover {
  color: #ff6b6b !important;
}

/* Tables */
.table {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
}

.table th {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.table td {
  color: #cccccc !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Pagination */
.pagination .page-link {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

.pagination .page-link:hover {
  background: rgba(255, 107, 107, 0.2) !important;
  color: #ffffff !important;
}

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

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #ff5252, #26a69a);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem !important;
  }
  
  .hero-subtitle {
    font-size: 1rem !important;
  }
  
  .cta-button {
    padding: 12px 30px !important;
    font-size: 1rem !important;
  }
}

/* JavaScript will be added to force styling */