* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fdfdfd;
  background: url("../img/BUSES-FONDO-CLARO.webp") no-repeat center center fixed;
  background-size: cover;
}

.empresa-section {
  padding: 30px 20px;
  text-align: center;
}

.empresa-texto {
  max-width: 900px;
  margin: auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #000000;
}
.empresa-section.compacta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.empresa-texto h2 {
  color: rgb(1, 58, 13);
  font-size: 2.6em;
  margin-bottom: 16px;
  padding: 0;
  text-align: center;
}

.empresa-card {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.empresa-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.empresa-card h2 {
  color: rgb(1, 58, 13);
  margin-bottom: 15px;
}

.valores-lista {
  list-style: none;
  padding: 0;
}

.valores-lista li {
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}

.carrusel {
  width: 100%;
  max-width: 600px;
  height: 500px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin: 0 auto;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.carrusel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
  z-index: 0;
  display: flex;
}

.carrusel img.active {
  opacity: 1;
  z-index: 1;
  display: flex;
}

.bienvenida-section {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 40px;
  padding: 60px 5vw;
  background: rgba(0, 80, 17, 0.548);
  color: #fff;
  align-items: center; 
  min-height: 70vh;
}

.bienvenida-texto {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: justify;
  max-width: 700px;
  margin: auto;
}

.bienvenida-texto h2 {
  font-size: 2.5em;
  color: rgb(1, 44, 10);
  margin-bottom: 16px;
  text-align: center;
}

.bienvenida-texto p {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.bienvenida-section .carrusel {
  width: 100%;
  height: 100%;
  max-width: none; 
  border-radius: 40px;
  margin: 0; 
  box-shadow: none; 
}

.bienvenida-section .carrusel img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
  opacity: 1;
}

@media (max-width: 900px) {
  .empresa-section {
    flex-direction: column;
    gap: 18px;
    padding: 18px 4vw;
    align-items: center;
  }

  .bienvenida-texto,
  .empresa-texto {
    max-width: 100vw;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .bienvenida-section {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 4vw;
  }

  .bienvenida-section .carrusel {
    height: 100%;
    margin: auto;
  }
}

@media (max-width: 600px) {
  header h1 {
    font-size: 1.1em;
  }
  header h2 {
    font-size: 0.95em;
  }
  nav ul {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }
  nav ul li {
    margin: 8px 0;
  }
  .bienvenida-section,
  .empresa-section {
    padding: 8px 1vw;
  }
  .bienvenida-texto h2 {
    font-size: 1.3em;
    padding-inline: 0;
  }
  .bienvenida-texto p {
    font-size: 1em;
    padding: 15px ;
  }
  .carrusel img {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    opacity: 1;
  }

  .empresa-texto h2 {
    font-size: 2.6em;
    padding-inline: 0;
  }
  .empresa-texto p {
    font-size: 1em;
  }
}

@media (max-width: 600px) {
  .carrusel-flecha {
    font-size: 1.3em;
    padding: 0 7px;
  }
}
@media (max-width: 768px) {
  .contenedor {
    flex-direction: column;
  }
}

footer {
  background: rgba(0, 80, 17, 0.548);
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  font-size: 14px;
  position: relative;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  padding: 10px 30px;

  background-color: rgb(255, 255, 255);
}

.logo {
  height: clamp(60px, 8vw, 100px);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

header h1 a {
  color: rgb(0, 80, 17);
  text-decoration: none;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin: 0 10px;
}

nav ul li a {
  color: #5e5c5c;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
}

nav ul li a:hover,
nav ul li a.current {
  color: rgb(1, 116, 26);
}

@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 10px 10px;
  }
  nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
  }
}

.menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1002;
  background: rgba(0, 80, 17, 0.9);
  color: rgb(255, 255, 255);
  border: none;
  font-size: 2.2em;
  border-radius: 8px;
  padding: 2px 14px 2px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.menu-toggle:hover {
  background: rgb(0, 80, 17);
  transform: scale(1.05);
}

.menu-toggle:active,
.menu-toggle:focus {
  background: rgb(0, 80, 17);
}

@keyframes menuToggleSlideIn {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 700px) {
  .menu-toggle {
    display: block;
    animation: menuToggleSlideIn 0.3s ease-out;
  }
}

@media (max-width: 768px) {
  .contenedor {
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: linear-gradient(
      135deg,
      rgba(0, 80, 17, 0.95),
      rgba(0, 60, 13, 0.95)
    );
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: auto;
    max-height: 0;
    overflow: hidden;
    padding-top: 24px;
    z-index: 1000;
    box-shadow: 0 4px 16px #0008;
    border-bottom: 3px solid rgba(0, 80, 17, 0.95);
    border-radius: 0 0 16px 16px;
    transition: max-height 0.3s ease-out;
  }

  nav ul.show {
    display: flex;
    max-height: 100vh;
    animation: slideDown 0.3s ease-out;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: baseline;
    align-content: center;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.carrusel-flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 30, 30, 0.7);
  color: #fff;
  border: none;
  font-size: 2.2em;
  padding: 0 12px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}
.carrusel-flecha.izq {
  left: 10px;
}
.carrusel-flecha.der {
  right: 10px;
}
.carrusel-flecha:hover {
  background: rgba(0, 80, 17, 0.548);
}

.contacto-profesional {
  background-size: cover;
  min-height: 100vh;
  padding: 0;
  margin: 0;
}

.contacto-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.contacto-info {
  background: rgba(0, 80, 17, 0.74);
  color: white;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.contacto-info h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  letter-spacing: 2px;
}

.subtitulo {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 50px;
  font-weight: 300;
}

.mensaje-principal h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.mensaje-principal p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.6;
}

.info-contacto {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px 25px;
  border-radius: 12px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.icono {
  font-size: 1.5rem;
  width: 40px;
  text-align: center;
}

.info-item strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.info-item p {
  margin: 0;
  opacity: 0.9;
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.formulario-container {
  background: white;
  padding: 60px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacto-whatsapp {
  text-align: center;
  width: 100%;
  max-width: 500px;
}

.contacto-whatsapp h2 {
  color: rgb(0, 80, 17);
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.contacto-whatsapp p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.boton-whatsapp {
  display: inline-block;
  background: rgb(0, 80, 17);
  color: white;
  text-decoration: none;
  padding: 20px 40px;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 80, 17, 0.3);
}

.boton-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 80, 17, 0.4);
  background: rgb(1, 58, 13);
}

.info-whatsapp {
  margin-top: 20px;
}

.info-whatsapp p {
  margin: 5px 0;
  font-size: 1rem;
  color: #888;
}

.info-whatsapp strong {
  color: rgb(0, 80, 17);
}

.formulario-container form {
  width: 100%;
  max-width: 500px;
}

.boton-enviar {
  background: rgb(0, 80, 17);
  color: white;
  border: none;
  padding: 18px 40px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.boton-enviar:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 968px) {
  .contacto-container {
    grid-template-columns: 1fr;
  }

  .contacto-info,
  .formulario-container {
    padding: 40px 30px;
  }

  .contacto-whatsapp h2 {
    font-size: 1.8rem;
  }

  .boton-whatsapp {
    padding: 18px 30px;
    font-size: 1.1rem;
  }
}

.turismo-section {
  text-align: center;
  padding: 40px 20px;
}

.turismo-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #222;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: auto;
}

.city-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  text-decoration: none;
  color: white;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.city-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.city-card .card-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.city-card h3 {
  font-size: 1.4rem;
  font-weight: bold;
}

.city-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.city-card:hover img {
  transform: scale(1.08);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.city-page {
  padding: 40px 20px;
  animation: fadeInUp 0.8s ease-out;
}

.city-info {
  max-width: 900px;
  margin: auto;
  text-align: justify;
  margin-bottom: 50px;
}

.city-info h2,
.city-gallery h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
  background: linear-gradient(90deg, #0d833e, #12990d);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.city-info p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #444;
}

.city-gallery {
  animation: fadeInUp 1s ease-out;
}

.city-card .carousel {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.city-card .carousel img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.city-card .carousel img.active {
  opacity: 1;
}

.btn-whatsapp {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #25d366;
  color: white;
  font-size: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease-in-out;
  z-index: 999;
}

.btn-whatsapp:hover {
  transform: scale(1.2);
  background: #20b954;
}

.icono {
  font-size: 1.5rem;
  color: #81d742;
}

.contacto-info,
.formulario-container {
  animation: fadeInUp 0.8s ease-in-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .contacto-info h1 {
    font-size: 2rem;
    text-align: center;
  }
  .mensaje-principal h2 {
    font-size: 1.4rem;
    text-align: center;
  }
  .info-contacto {
    gap: 15px;
  }
  .formulario-container {
    padding: 30px 20px;
  }
}

.vehiculos-section {
  text-align: center;
  padding: 50px 20px;
  background: rgba(0, 80, 17, 0.548);
}

.vehiculos-section h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 30px;
}

.vehiculo-carrusel {
  position: relative;
  max-width: 900px;
  margin: auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  background: #000;
}

.vehiculo-carrusel .slide {
  display: none;
  position: relative;
}

.vehiculo-carrusel .slide.active {
  display: block;
  animation: fadeIn 1s ease-in-out;
}

.vehiculo-carrusel img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.descripcion {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
  text-align: left;
}

.descripcion h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: rgb(255, 255, 255);
  -webkit-text-stroke: 0.25px rgb(1, 58, 13);
}

.descripcion p {
  font-size: 1.1rem;
}

.indicadores {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
}

.indicadores span {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
}

.indicadores span.active {
  background: rgb(1, 58, 13);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.departamento-page {
  padding: 40px 20px;
  animation: fadeInUp 0.8s ease-out;
}

.departamento-intro {
  max-width: 900px;
  margin: auto;
  margin-bottom: 50px;
  text-align: justify;
  color: white;
}

.departamento-intro h2 {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #045224, #12990d);
}

.departamento-intro p {
  text-align: justify;
  line-height: 1.6;
  color: #000;
}

.departamento-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.texto-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: justify;
}

.texto-col h3 {
  font-size: 1.6rem;
  color: rgb(1, 58, 13);
}

.texto-col p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #000000;
}

.col-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
@media (max-width: 900px) {
  .departamento-layout {
    grid-template-columns: 1fr;
  }
}

.cta {
  text-align: center;
  margin: 60px auto;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #00c853, #009624);
  color: #fff;
  font-size: 1.3rem;
  font-weight: bold;
  padding: 20px 50px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  max-width: 90%;
}

.cta-button:hover {
  background: linear-gradient(135deg, #00e676, #00c853);
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.titulo-header {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.titulo-header h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.titulo-header h2 {
  margin: 0px -4px 0;
  font-weight: normal;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #333;
}

@media (max-width: 768px) {
  header {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 8px;
  }

  .logo {
    max-width: 70px;
    height: auto;
  }

  .titulo-header h1 {
    font-size: 1.4rem;
  }

  .titulo-header h2 {
    font-size: 0.9rem;
  }
}
.carruselsl {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.carruselsl .slide {
  display: none;
  position: relative;
}

.carruselsl .slide.active {
  display: block;
}

.carruselsl picture,
.carruselsl img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; 
}


.carruselsl .caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: #fff;
  text-align: left;
  background: rgba(
    0,
    0,
    0,
    0.4
  ); 
  padding: 10px 15px;
  border-radius: 8px;
}

.carruselsl .caption h2 {
  margin: 0 0 5px;
  font-size: 1.8rem;
}

.carruselsl .caption p {
  margin: 0;
  font-size: 1rem;
}

.carruselsl .prev,
.carruselsl .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 50%;
}

.carruselsl .prev:hover,
.carruselsl .next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carruselsl .prev {
  left: 10px;
}
.carruselsl .next {
  right: 10px;
}


@media (min-width: 769px) {
  .carruselsl picture,
  .carruselsl img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
  }
}

@media (max-width: 768px) {
  .carruselsl {
    height: auto; 
  }

  .carruselsl picture,
  .carruselsl img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

.turismo {
  padding: 50px 20px;
  text-align: center;
  background: #f8f8f8;
}

.turismo h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #000;
}

.turismo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.servicio-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.servicio-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
a.servicio-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.servicio-card h3 {
  padding: 15px;
  font-size: 1.2em;
  color: #000;
}

.servicio-card:hover {
  transform: translateY(-5px);
}

#btnUp {
  display: none;
  position: fixed;
  bottom: -20px;
  right: 20px;
  transform: translateY(-50%);
  z-index: 99;
  font-size: 22px;
  font-weight: bold;
  border: none;
  outline: none;
  background: #28a745; 
  color: white;
  cursor: pointer;
  padding: 15px 20px;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  opacity: 0.3;
  transition: opacity 0.3s ease, transform 0.2s ease;
}

#btnUp:hover {
  opacity: 1; 
  transform: translateY(-50%) scale(1.1);
  background: #218838;
}

.servicios {
  text-align: center;
  padding: 50px 20px;
}

.servicios h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #000;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: auto; 
  object-fit: contain; 
  border-radius: 12px;
  margin-bottom: 15px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #333;
}

.card p {
  font-size: 0.95rem;
  color: #555;
  text-align: justify;
}

.cta-vehiculos {
  background: #0e7c1d;
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
  border-radius: 16px;
  margin: 40px auto;
  max-width: 1000px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-vehiculos h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta-vehiculos p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.cta-btn {
  display: inline-block;
  background: #3c8345;
  color: #fff;
  font-weight: bold;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: transform 0.3s, background 0.3s;
}

.cta-btn:hover {
  background: #23614e;
  transform: scale(1.05);
}

.eventos-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.eventos-intro {
  text-align: center;
  margin-bottom: 40px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding: 20px;
}

.card-restaurante {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.card-restaurante:hover {
  transform: translateY(-5px);
}

.card-restaurante img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.btn-reserva {
  display: inline-block;
  background: #0e7c1d;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 10px;
  transition: background 0.3s;
}

.btn-reserva:hover {
  background: #6ab636;
}

/* Estilos para la sección de eventos */

.eventos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 20px;
}

.evento {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding-bottom: 15px;
}

.evento img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.evento h4,
.evento p {
  padding: 0 15px;
  margin: 10px 0;
}

.amor-y-amistad {
  background: linear-gradient(
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.9)
    ),
    url("../img/fondoeventos.jpeg");
}

.eventos-page header {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
}

.eventos-page nav ul li a.current {
  color: #ff4747;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.floating-hearts {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-hearts::before {
  content: "❤";
  position: absolute;
  animation: float 6s infinite;
  font-size: 20px;
  color: rgba(255, 0, 0, 0.2);
}

@keyframes float {
  0% {
    transform: translate(0, -100%) rotate(0);
    opacity: 0;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: translate(100vw, 100vh) rotate(360deg);
    opacity: 0;
  }
}

.agenda-mes {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
}

.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ff0000;
}

.timeline-item {
  display: flex;
  align-items: center;
  margin: 30px 0;
}

.timeline-item .date {
  flex: 1;
  text-align: right;
  padding-right: 20px;
  color: #ff0000;
  font-weight: bold;
}

.timeline-item .content {
  flex: 2;
  padding-left: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(255, 107, 107, 0.1);
  position: relative;
}

.timeline-item .content::before {
  content: "❤";
  position: absolute;
  left: -25px;
  color: #ff0000;
}

.plan-card {
  background: linear-gradient(135deg, #fff5f5, #ffe9e9);
  padding: 30px;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.1);
}

.plan-card i {
  font-size: 2.5em;
  color: #ff0000;
  margin-bottom: 15px;
}

.plan-card .precio {
  display: block;
  margin-top: 15px;
  color: #ff0000;
  font-weight: bold;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 45px;
  }

  .timeline-item .date {
    text-align: left;
    padding-right: 0;
    margin-bottom: 10px;
  }

  .timeline-item .content {
    width: 100%;
  }
}

nav ul li a[href="eventos"]:hover,
nav ul li a[href="eventos"].current {
  color: #ff4747;
  position: relative;
  padding-right: 25px;
}

nav ul li a[href="eventos"]:hover::after,
nav ul li a[href="eventos"].current::after {
  content: "❤";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9em;
  animation: heartBeat 1.5s infinite;
}

@keyframes heartBeat {
  0% {
    transform: translateY(-50%) scale(1);
  }
  50% {
    transform: translateY(-50%) scale(1.2);
  }
  100% {
    transform: translateY(-50%) scale(1);
  }
}
.videos-eventos {
  padding: 40px 20px;
  text-align: center;
}

.videos-eventos h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #ff0000;
}

.videos-vehiculos {
  padding: 40px 20px;
  text-align: center;
}

.videos-vechiculos h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #000;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  justify-content: center;
}

.video-card {
  position: relative;
  width: 100%;
  padding-top: 56.25%; 
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.video-card iframe,
.video-card video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}
