/* Sponsors Dark Theme CSS */

/* Dark page background */
.sponsors-dark-page {
  background-color: #1a1a1a;
  color: #e0e0e0;
  min-height: 100vh;
}

/* Hero banner */
.sponsors-hero {
  background-size: cover;
  background-position: center;
  padding: 4rem 1rem;
  text-align: center;
}

.sponsors-hero h1 {
  color: #ffffff;
  font-size: 2.5rem;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Section headers */
.sponsors-section-header {
  color: #e63946;
  text-align: center;
  padding: 2rem 0 1rem;
  font-size: 1.5rem;
  border-bottom: 2px solid #5cacee;
  margin-bottom: 1.5rem;
}

/* Sponsors grid layout */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 0 1rem 0.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Dark sponsor cards */
.sponsor-card {
  background-color: #2a2a2a;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #3a3a3a;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sponsor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(92, 172, 238, 0.15);
  border-color: #5cacee;
}

.sponsor-card h4 {
  color: #ffffff;
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.sponsor-card p {
  color: #b0b0b0;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Links with sky blue accent */
.sponsor-card a {
  color: #5cacee;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.sponsor-card a:hover {
  color: #7fbef5;
  text-decoration: underline;
}

/* Section divider */
.sponsors-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #3a3a3a, transparent);
  margin: 0.5rem auto;
  max-width: 1200px;
}

/* Container wrapper */
.sponsors-container {
  padding: 0 1rem;
}

/* Footer message */
.sponsors-footer-message {
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: #b0b0b0;
  font-size: 1.1rem;
}

/* Scroll margin for fixed header */
[id] {
  scroll-margin-top: 78px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Body margin for fixed navbar */
body.sponsors-dark-page {
  margin-top: 78px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .sponsors-hero h1 {
    font-size: 1.8rem;
  }
  
  .sponsors-section-header {
    font-size: 1.25rem;
    padding: 1.5rem 1rem 0.75rem;
  }
  
  .sponsors-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
