/* ============================================
   Wewahitchka.com - Local Business Portal
   ============================================ */

:root {
  --primary: #1b5e20;
  --primary-light: #4caf50;
  --accent: #f9a825;
  --dark: #1a1a2e;
  --light: #f5f5f0;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--light);
  color: #333;
  overflow-x: hidden;
}

/* ---- Hero Slider ---- */
.hero-section {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 500px;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.15) 40%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.hero-overlay {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 2rem;
}

.hero-logo {
  max-width: 280px;
  width: 100%;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
  animation: fadeInDown 1s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 0.5rem;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.5);
  font-weight: 300;
  letter-spacing: 2px;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-divider {
  width: 80px;
  height: 3px;
  background: var(--accent);
  margin: 1rem auto;
  animation: fadeInUp 1s ease-out 0.5s both;
}

/* Slider indicators */
.slider-indicators {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 12px;
}

.slider-indicators .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.slider-indicators .dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.2);
}

/* ---- Hero Grunge Edge ---- */
.hero-grunge-edge {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 15;
  display: block;
}

/* ---- Welcome Section ---- */
.welcome-section {
  padding: 5rem 0;
  background: var(--white);
  text-align: center;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 1.5rem;
}

.welcome-text {
  font-size: 1.15rem;
  color: #555;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---- Sponsors Section ---- */
.sponsors-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
}

.sponsors-section .section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

.sponsors-section .section-divider {
  margin-bottom: 1rem;
}

.sponsors-subtitle {
  text-align: center;
  color: #777;
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.sponsor-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.sponsor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.sponsor-logo-wrapper {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.sponsor-logo-wrapper img,
.sponsor-logo-wrapper svg {
  max-width: 200px;
  max-height: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.sponsor-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.sponsor-type {
  font-size: 0.85rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sponsor-card a {
  text-decoration: none;
  color: inherit;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer-logo {
  max-width: 120px;
  margin-bottom: 1rem;
  opacity: 0.8;
}

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

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---- Animations ---- */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .hero-logo {
    max-width: 220px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 70vh;
    min-height: 400px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-logo {
    max-width: 180px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .welcome-section,
  .sponsors-section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }

  .hero-logo {
    max-width: 150px;
  }

  .sponsor-card {
    padding: 1.5rem;
  }
}
