:root {
  /* --brand-color: #2596be; */
  --brand-color: #FF6000;
  --brand-dark: #1a7a9e;
  --brand-light: #e8f5f9;
}

* {
  scroll-behavior: smooth;
}

/* Navbar Styles */
.navbar {
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar.is-fixed-top {
  background-color: white !important;
}

.navbar-item:hover {
  background-color: var(--brand-light) !important;
  color: var(--brand-color) !important;
}

.navbar-brand .navbar-item {
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--brand-color);
}
/* Hero/Carousel Section */
.hero-carousel {
  height: 600px;
  position: relative;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  position: relative;
}

.swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: rgba(0, 0, 0, 0.3); */ /* Se desactiva si queremos que se vean las imágenes directamente */
}

/* Actualizando color */
.swiper-button-next, .swiper-button-prev{
  color: #FFF;
}

.carousel-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 10;
  width: 90%;
}

.carousel-content h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-content p {
  font-size: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Gallery Filter */
.filter-buttons {
  margin-bottom: 2rem;
  text-align: center;
}

.filter-btn {
  margin: 0.5rem;
  transition: all 0.3s ease;
}

.filter-btn.is-active {
  background-color: var(--brand-color) !important;
  color: white !important;
}

.vehicle-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
}

.vehicle-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.vehicle-card img {
  height: 200px;
  object-fit: cover;
}

.vehicle-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--brand-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.85rem;
}

/* Events Section */
.event-card {
  border-left: 4px solid var(--brand-color);
  transition: all 0.3s ease;
}

.event-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transform: translateX(5px);
}

.event-date {
  background-color: var(--brand-color);
  color: white;
  padding: 1rem;
  text-align: center;
  border-radius: 8px;
  min-width: 80px;
}

.event-date .day {
  font-size: 2rem;
  font-weight: bold;
  display: block;
}

.event-date .month {
  font-size: 0.9rem;
  text-transform: uppercase;
}

/* Location Cards */
.location-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.location-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.location-map {
  height: 200px;
  background-color: #e0e0e0;
  position: relative;
}

/* Video Gallery */
.video-container {
  position: relative;
  padding-bottom: 177.78%; /* 9:16 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.video-container video,
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ Section */
.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  background-color: #f5f5f5;
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: var(--brand-light);
}

.faq-question.active {
  background-color: var(--brand-color);
  color: white;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer.active {
  padding: 1.5rem;
  max-height: 500px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.1);
}

/* Footer */
.footer-custom {
  background-color: #2c3e50;
  color: white;
  padding: 3rem 1.5rem 1.5rem;
}

.footer-custom h4 {
  color: white;
  margin-bottom: 1rem;
  font-weight: bold;
  font-size: 1.2rem;
}

.footer-custom a {
  color: #ecf0f1;
  transition: color 0.3s ease;
}

.footer-custom a:hover {
  color: var(--brand-color);
}

.social-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  color: var(--brand-color) !important;
}

/* Contact Form */
.contact-form {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
}

/* Utility Classes */
.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #2c3e50;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--brand-color);
}

.brand-btn {
  background-color: var(--brand-color);
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.brand-btn:hover {
  background-color: var(--brand-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 150, 190, 0.4);
}

@media screen and (max-width: 768px) {
  .carousel-content h1 {
    font-size: 2rem;
  }

  .carousel-content p {
    font-size: 1rem;
  }

  .hero-carousel {
    height: 400px;
  }

  .section-title {
    font-size: 2rem;
  }
}
