html, body {
  height: 100%;
  width: 100%;
}

body {
  font-family: 'Merienda One', cursive;
  background: #1e5033;
  color: #FFF;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

a {
  color: #ffeb99;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover, a:focus {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

hr {
  border: 2px solid #2d5a3d;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

#header {
  background: linear-gradient(180deg, #C41E3A 0%, #A61729 100%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  padding: 1em 0;
  border-bottom: 3px solid #8B1323;
}

#header h1 {
  margin-top: 0.3em;
  margin-bottom: 0.5em;
  font-size: 3em;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
}

#header h1 img {
  margin-left: 0.5em;
  margin-right: 0.5em;
  filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.4));
}

#lead {
  text-align: center;
  padding: 2em;
  font-family: 'Merienda', cursive;
  font-size: 1.1em;
  line-height: 1.6;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin: 1em 0;
}

#lead img {
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.4));
}

#events {
  font-size: 1.4em;
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  font-weight: bold;
  margin-bottom: 0;
}

#events .nav-pills {
  margin-bottom: 0;
}

#events li {
  border: none;
  margin: 0 3px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover {
  background: linear-gradient(180deg, #2d7d45 0%, #3a9d59 100%);
  color: #FFF;
  box-shadow: 0 -3px 8px rgba(45, 125, 69, 0.4), 3px 0 8px rgba(0, 0, 0, 0.2), -3px 0 8px rgba(0, 0, 0, 0.2);
  border: 3px solid #25663a;
  border-bottom: 3px solid #3a9d59;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  border-radius: 12px 12px 0 0;
  padding: 14px 19px;
  padding-bottom: 17px;
  margin-bottom: 0;
  position: relative;
  z-index: 10;
}

.nav-pills > li > a {
  color: #DDD;
  background: linear-gradient(180deg, rgba(139, 19, 35, 0.6) 0%, rgba(196, 30, 58, 0.6) 100%);
  border-radius: 12px 12px 0 0;
  padding: 15px 20px;
  border: 2px solid rgba(109, 15, 28, 0.6);
  border-bottom: 2px solid rgba(0, 0, 0, 0.4);
  box-shadow: inset 0 -2px 5px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 0;
}

.nav-pills .event-date {
  font-size: 0.65em;
  font-weight: normal;
  opacity: 0.9;
  margin-top: 5px;
}

.nav-pills > li:hover > a, .nav-pills > li:focus > a {
  background: linear-gradient(180deg, rgba(166, 23, 41, 0.8) 0%, rgba(212, 40, 67, 0.8) 100%);
  color: #FFF;
}

.nav-pills > li.active:hover > a {
  background: linear-gradient(180deg, #2d7d45 0%, #3a9d59 100%);
}

#event-details {
  font-family: "Arial", Helvetica, sans-serif;
  font-size: 1.2em;
  margin-top: 0;
  margin-bottom: 2em;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 2em;
  border-radius: 0 0 12px 12px;
  border: 3px solid rgba(0, 0, 0, 0.3);
  border-top: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  line-height: 1.6;
  position: relative;
  z-index: 5;
}

#event-details h2 {
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1em;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 0.5em;
}

#event-details p {
  margin-bottom: 1em;
}

#event-details strong {
  color: #ffeb99;
  font-size: 1.1em;
}

#map {
  height: 100%;
  width: 100%;
  margin: 1.5em auto;
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

footer {
  text-align: center;
  padding: 2em 0 3em 0;
  background-color: rgba(0, 0, 0, 0.2);
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  margin-top: 3em;
}

footer img {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
}

footer img:hover {
  transform: scale(1.05);
}

.btn {
  border: none;
  border-radius: 8px;
  padding: 12px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.btn-success {
  background: linear-gradient(135deg, #2d7d45 0%, #3a9d59 100%);
}

.btn-success:hover {
  background: linear-gradient(135deg, #3a9d59 0%, #4ab86d 100%);
}

.btn-warning {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}

.btn-warning:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.alert {
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  margin-top: 1em;
}

[v-cloak] {
  display: none;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  #header h1 {
    font-size: 2em;
    letter-spacing: 0.5px;
  }

  #header h1 img {
    height: 50px;
    margin-left: 0.3em;
    margin-right: 0.3em;
  }

  #lead {
    font-size: 1em;
    padding: 1.5em 1em;
    margin: 0.5em 0;
  }

  #events {
    font-size: 1em;
  }

  #events li {
    margin: 0 2px;
  }

  .nav-pills > li > a {
    padding: 12px 10px;
  }

  .nav-pills > li.active > a {
    padding: 12px 10px;
    padding-bottom: 15px;
  }

  .nav-pills .event-date {
    font-size: 0.7em;
    margin-top: 3px;
  }

  #event-details {
    font-size: 1em;
    padding: 1.5em 1em;
  }

  #event-details h2 {
    font-size: 1.3em;
  }

  .btn {
    padding: 10px 20px;
    font-size: 1em;
  }

  footer {
    padding: 1.5em 0 2em 0;
  }

  footer img {
    width: 150px;
    height: auto;
  }
}

@media (max-width: 480px) {
  #header h1 {
    font-size: 1.5em;
  }

  #header h1 img {
    height: 40px;
  }

  #lead {
    font-size: 0.95em;
    padding: 1em 0.5em;
  }

  #events {
    font-size: 0.9em;
  }

  #events li {
    margin: 0 1px;
  }

  .nav-pills > li > a {
    padding: 10px 8px;
  }

  .nav-pills > li.active > a {
    padding: 10px 8px;
    padding-bottom: 13px;
  }

  #event-details {
    font-size: 0.95em;
    padding: 1em 0.75em;
  }

  #event-details h2 {
    font-size: 1.1em;
  }

  .btn {
    padding: 8px 16px;
    font-size: 0.95em;
  }

  footer img {
    width: 120px;
  }
}
