body { 
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #333;
}
a:visited {
  text-decoration: none;
  color: #FFFFFF;
}
a,
a:hover,
a:focus,
a:active {
  text-decoration: none;
  color: inherit; /* hereda el color del contenedor */
}
.contact-link,
.contact-link:visited {
  text-decoration: none;
  color: inherit;
}
.banner-container {
    position: relative;
    width: 100%;
    height: 500px; /* Altura del banner */
    overflow: hidden;
}

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff; /* Texto blanco para contraste */
    text-align: center;
    z-index: 1; /* Aseguramos que el texto esté encima del video */
}

.overlay h1 {
    font-size: 24px;
    line-height: 1.2;
    text-decoration: underline red; /* Subrayado rojo */
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8); /* Contorno sutil */
}

.overlay h2 {
    font-size: 64px; /* Tamaño grande */
    margin: 10px 0;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8); /* Contorno más visible */
}

.overlay h3 {
    font-size: 20px; /* Tamaño adecuado para <h3> */
    margin: 10px 0;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8); /* Contorno sutil */
}

.overlay p {
    font-size: 18px;
    margin: 20px 0;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8); /* Contorno sutil */
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-icon {
    width: 20px;
    height: 20px;
}

.contact-info h3,
.contact-info a {
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8); /* Contorno sutil para números y correo electrónico */
}

@media (max-width: 768px) {
    .overlay h1 {
        font-size: 20px;
    }
    .overlay h2 {
        font-size: 48px; /* Ajuste para pantallas pequeñas */
    }
    .overlay h3 {
        font-size: 18px; /* Ajuste para pantallas pequeñas */
    }
    .overlay p {
        font-size: 16px;
    }
}
img.full-width {
    width: 100%;
    height: auto;
    display: block;
}

/* Contenedor del video reducido y centrado */
.video-container {
    max-width: 500px;
    margin: 30px auto;
    padding: 12px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}
/* SECCIONES */
.section {
  padding: 80px 10%;
  text-align: center;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

/* CARDS */
.cards {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.card {
  max-width: 300px;
}

.card img {
  width: 100%;
  border-radius: 12px;
}

.card p {
  margin-top: 15px;
  font-size: 1.1rem;
}



section {
    padding: 0;
    margin: 0;
}

footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    line-height: 1.5;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

@media (orientation: landscape) {
    footer {
        font-size: 1em;
    }
}

/* ===== AJUSTE VIDEO INICIAL ===== */

.banner-container {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

/* Contenedor con tolerancia a bordes */
.banner-video-wrapper {
    width: 92%;
    max-width: 900px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 18px;
    overflow: hidden;
}

/* Video sin recorte */
#background-video {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain; /* CLAVE: no corta el video */
    border-radius: 18px;
}

/* Ajuste móvil */
@media (max-width: 768px) {
    .banner-container {
        height: 360px;
    }

    .banner-video-wrapper {
        width: 96%;
        border-radius: 14px;
    }
}
/* Fondo difuminado para evitar franjas negras */
.banner-video-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("videos/videoinicio.mp4") center / cover no-repeat;
    filter: blur(25px);
    transform: scale(1.2);
    z-index: 0;
}
/* Video principal arriba del blur */
#background-video {
    position: relative;
    z-index: 1;
    background: transparent;
}
/* ===== BARRA SUPERIOR ===== */

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(0, 0, 0, 0.0);
        z-index: 999;
}

.top-bar-content {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo img {
    height: 48px;
    width: auto;
}

/* Navegación */
.top-nav {
    display: flex;
    gap: 30px;
}

.top-nav a {
    color: #ff6c00;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.1s ease;
}

.top-nav a:hover {
    opacity: 1.0;
}
.banner-container {
    margin-top: 60px; /* altura de la barra superior */
}
@media (max-width: 768px) {
    .top-bar {
        height: 70px;
    }

    .logo img {
        height: 40px;
    }

    .top-nav {
        gap: 18px;
    }

    .top-nav a {
        font-size: 13px;
    }

    .banner-container {
        margin-top: 70px;
    }
}
/* ===== VIDEO HERO SIN BARRAS NEGRAS ===== */

.banner-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Video de fondo (rellena todo) */
.video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(30px) brightness(0.7);
    transform: scale(1.2);
    z-index: 0;
}

/* Contenedor del video principal */
.banner-video-wrapper {
    position: relative;
    width: 92%;
    max-width: 900px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    overflow: hidden;
    z-index: 1;
}

/* Video principal (NO se corta) */
#background-video {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    border-radius: 18px;
}

/* Overlay encima de todo */
.overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .banner-container {
        height: 360px;
    }

    .banner-video-wrapper {
        width: 96%;
        border-radius: 14px;
    }
}
/* ===== EFECTO TEXTO REBOTANDO (HERO) ===== */

.overlay h2 {
    animation: reboteSuave 3.5s ease-in-out infinite;
    will-change: transform;
}

/* Segundo título con pequeño desfase (más natural) */
.overlay h2:nth-of-type(2) {
    animation-delay: 0.4s;
}

@keyframes reboteSuave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
/* Segundo título en amarillo */
.overlay h2:nth-of-type(2) {
    color: #FFFF00; /* amarillo elegante */
}
/* Aumentar tamaño general ~30% */
.overlay h2 {
    font-size: 83px;  /* antes 64px → +30% aprox */
    animation: reboteSuave 3.5s ease-in-out infinite;
    will-change: transform;
}
/* Texto descriptivo debajo del título principal */
.overlay h3 {
    color: #cfcfcf;            /* gris claro elegante */
    font-size: 30px;           /* 20px + 50% */
    font-weight: 400;
    line-height: 1.4;
}
/* Reactivar clics SOLO en el contacto */
.contact-info,
.contact-info a {
    pointer-events: auto;
}
* ===== CARRUSEL HERO ===== */

/* ===== CARRUSEL HERO CORREGIDO ===== */

.banner-carousel {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.carousel-track {
    display: flex;
    height: 100%;
 align-items: center;    
animation: carouselSlide 25s infinite;
}

.carousel-track img {
    min-width: 100%;
    max-width: 100%;
    height: auto;              /* CLAVE: evita el zoom */
    max-height: 100%;
    object-fit: contain;
    align-self: center;        /* centra verticalmente */
    background: #000;
}
/* Movimiento imagen por imagen */
@keyframes carouselSlide {
    0%, 15% {
        transform: translateX(0%);
    }
    20%, 35% {
        transform: translateX(-100%);
    }
    40%, 55% {
        transform: translateX(-200%);
    }
    60%, 75% {
        transform: translateX(-300%);
    }
    80%, 95% {
        transform: translateX(-400%);
    }
    100% {
        transform: translateX(-400%);
    }
}
@media (max-width: 768px) {
    .carousel-track {
        animation-duration: 22s;
    }
}
.contact-info {
    margin-top: 25px;
    display: flex;
    flex-direction: row;   /* ⬅️ en fila */
    align-items: center;
    gap: 22px;             /* espacio entre WhatsApp y mail */
    justify-content: center;
    flex-wrap: wrap;       /* por si en móvil no cabe */
}
/* WhatsApp y Mail */
.contact-link {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.6em;        /* ⬅️ +60% */
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover bonito */
.contact-link:hover {
    transform: scale(1.05);
    color: #f4c400; /* amarillo Tourcity */
}

/* Icono WhatsApp */
.phone-icon {
    width: 42px;            /* proporcional al texto */
    height: 42px;
}
@media (max-width: 768px) {
    .contact-link {
        font-size: 1.4em;
    }

    .phone-icon {
        width: 34px;
        height: 34px;
    }
}
/* ===== POPUP TOURCITY ===== */

.popup-form {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-form.active {
    display: flex;
}

.popup-box {
    background: #fff;
    width: 95%;
    max-width: 520px;
    max-height: 90vh;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.popup-content {
    padding: 24px;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 26px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    padding: 11px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.popup-box button {
    margin-top: 18px;
    padding: 12px;
    background: #ff6c00;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
}
/* ================= POPUP TOURCITY ================= */

.popup-form {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-form.active {
    display: flex;
}

.popup-box {
    background: #fff;
    width: 95%;
    max-width: 520px;
    max-height: 90vh;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.popup-content {
    padding: 24px;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 26px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
}

/* ===== FORM ===== */

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    padding: 11px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.popup-box button {
    margin-top: 18px;
    padding: 12px;
    background: #ff6c00; /* color TourCity */
    border: none;
    border-radius: 8px;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s ease;
}

.popup-box button:hover {
    opacity: 0.85;
}

.consentimiento {
    margin-top: 10px;
    font-size: 14px;
}
