/* Hero Section styles */
body {
  font-family: "Poppins", sans-serif;
}

.hero-section {
  background-image: url("images/hero-image.webp");
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.carnival-title {
  font-size: 4.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Navbar styles */
.navbar {
  background-color: rgb(0, 0, 0);
}

.navbar-brand,
.nav-link {
  color: #fff !important;
  margin-right: 10px;
  margin-left: 10px;
}

.nav-link {
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ffc107 !important;
}

/* History styles */
#history {
  background-color: #1a1a1a;
}

/* Gallery styles */
#gallery {
  background-color: #1a1a1a;
}

.card {
  transition: transform 0.5s ease-in-out;
  border-radius: 0 0 10px 10px;
}

.card-body {
  background-color: #00000045;
  border-radius: 0 0 10px 10px;
}

.card:hover {
  transform: translateY(-10px);
}

#carouselExampleIndicators {
  max-width: 500px;
  margin: 0 auto;
}

/* MP3 Player styles */
#mp3-player {
  width: 300px;
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 12px;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.player-controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
}

.controls button {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.controls button:hover {
  color: #ffc107;
}

.play-pause-btn {
  width: 32px;
  height: 32px;
  background-color: #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-pause-btn:hover {
  color: #ffc107;
}

.progress-container {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
  margin-bottom: 4px;
}

.progress-bar {
  width: 0;
  height: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: width 0.1s linear;
}

.progress-bar:hover {
  background-color: #ffc107;
}

.progress-handle {
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  cursor: pointer;
}

.progress-container:hover .progress-bar {
  background-color: #ffc107;
}

.progress-container:hover .progress-handle {
  display: block;
}

.time-display {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 11px;
  color: #fff;
}

.volume-container {
  display: flex;
  align-items: center;
  margin-left: 12px;
}

.volume-icon {
  color: #fff;
  margin-right: 12px;
  cursor: pointer;
}

.volume-icon:hover {
  color: #ffc107;
}

.volume-slider {
  width: 60px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.volume-progress {
  width: 70%;
  height: 100%;
  background-color: #fff;
  border-radius: 2px;
}

.volume-slider:hover .volume-progress {
  background-color: #ffc107;
}

.volume-handle {
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 70%;
  transform: translate(-50%, -50%);
  display: none;
}

.volume-slider:hover .volume-handle {
  display: block;
}

/* Responsive styles for the player */


/* Contact styles */
.contact-form-container {
  background-color: #1a1a1a;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-form .form-label {
  color: #fff;
  font-weight: 500;
}

.contact-form .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.text-center {
  display: flex;
  justify-content: center;
}

.contact-form .btn-primary {
  background-color: #007bff;
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form .btn-primary:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
}

.contact-form .btn-primary:active {
  transform: translateY(0);
}

/* Toast Notificaction styles */
.toast {
  background-color: #fff;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.toast.success .toast-header {
  background-color: #28a745;
  color: #fff;
}

.toast.error .toast-header {
  background-color: #dc3545;
  color: #fff;
}

.toast .btn-close {
  filter: brightness(0) invert(1);
}

/* Notification styles */
.notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: #28a745;
  color: white;
  padding: 12px 24px;
  border-radius: 5px;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

.notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Footer styles */
.footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  max-width: 200px;
  height: auto;
}

.footer-description {
  color: #999;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  position: relative;
}

.footer h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 50px;
  height: 2px;
  background-color: #ffc107;
}

.footer-links ul,
.footer-events ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-events li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: #ffc107;
}

.footer-events li {
  color: #999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-events i {
  color: #ffc107;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #ffc107;
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.social-links i {
  font-size: 1.2rem;
}

.footer-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.footer-bottom {
  display: flex;
  padding-top: 2rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: #999;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-legal a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #ffc107;
}

.separator {
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 576px) {

  .carnival-title {
    font-size: 3.5rem;
  }
  
  #mp3-player {
    width: 250px;
  }

  .controls button {
    margin: 0 4px;
  }

  .controls .play-pause-btn {
    margin: 0 8px !important;
  }

  .volume-slider {
    width: 40px;
  }
}
