/* --- ESTILOS GLOBALES Y FUENTES --- */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* --- HEADER PRINCIPAL --- */
.byv-main-header {
    background-color: #002d56;
    color: #ffffff;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.byv-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.byv-header-logo img {
    max-height: 50px;
    width: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.byv-header-logo img:hover {
    transform: scale(1.05);
}

@keyframes pulse-animation {
  0% {
    transform: scale(1);
    /* CAMBIO: Sombra azul para que contraste con el fondo blanco */
    box-shadow: 0 0 0 0 rgba(0, 45, 86, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(0, 45, 86, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 45, 86, 0);
  }
}

/* 2. Aplicamos la animación a nuestro botón (MODIFICADO) */
.btn.byv-btn-tour {
  background-color: #ffffff;
  border: 2px solid #ffffff;
  color: #002d56;
  font-weight: bold;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 50px;
  transition: all 0.3s ease;
  
  /* ¡LÍNEA AÑADIDA DE NUEVO! */
  animation: pulse-animation 2s infinite;
}

/* 3. Pausamos la animación en hover (MODIFICADO) */
.btn.byv-btn-tour:hover {
  background-color: #FFC72C;
  border-color: #FFC72C;
  color: #002d56;
  
  /* AÑADIDO: Pausamos la animación para mejorar la experiencia */
  animation: none;
}

.byv-header-disclaimer {
    text-align: right;
    font-size: 0.8rem;
    line-height: 1.4;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.byv-header-disclaimer p {
    margin: 0;
}

/* --- TARJETA PROMOCIONAL PRINCIPAL --- */
.byv-promo-card {
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.byv-promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.byv-promo-card .card-title {
    font-family: 'Montserrat', sans-serif;
    color: #002d56;
    font-weight: 700;
}

.byv-promo-card .btn-primary {
    background-color: #004983;
    border-color: #004983;
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.byv-promo-card .btn-primary:hover {
    background-color: #002d56;
    border-color: #002d56;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 45, 86, 0.3);
}

.byv-fade-image-container {
    position: relative;
    display: block;
}

.byv-fade-image-container::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('../1200x600-navidad3b.jpg'); /* Ajusta la ruta si es necesario */
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: imageFade 12s infinite ease-in-out;
}

@keyframes imageFade {
    0%, 45% { opacity: 0; }
    55%, 95% { opacity: 1; }
    100% { opacity: 0; }
}

/* --- SLIDER DE DESTINOS --- */
.byv-slider-container {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
    position: relative;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.byv-slider-titulo {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.byv-slider-wrapper {
    overflow: hidden;
    border-radius: 15px;
}

.byv-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.byv-slide {
    flex: 0 0 50%;
    box-sizing: border-box;
    padding: 5px 10px 15px 10px;
}

.byv-card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.byv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.byv-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.byv-card:hover img {
    transform: scale(1.05);
}

.byv-card-content {
    padding: 20px;
    flex-grow: 1;
}

.byv-card-title {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #002d56;
}

.byv-card-subtitle {
    margin: 0 0 15px 0;
    font-size: 0.9rem;
    color: #666;
    font-weight: bold;
}

.byv-card-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333;
}

.byv-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #004983;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 73, 131, 0.3);
}

.byv-slider-btn:hover {
    opacity: 1;
    background-color: #002d56;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 45, 86, 0.4);
}

.byv-slider-btn.prev {
    left: -25px;
}

.byv-slider-btn.next {
    right: -25px;
}

/* --- GALERÍA DE VIAJES --- */
.byv-viajes-section {
    background-color: #002d56;
    padding: 40px 0;
    box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.2);
}

.byv-viajes-section h2 {
    color: #ffffff;
    margin-bottom: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.byv-grid-image {
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    width: 100%;
    height: auto;
    border: 3px solid transparent;
}

.byv-grid-image:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border-color: #FFC72C;
}

/* --- TARJETAS DE CONTACTO --- */
.byv-contact-card {
    display: flex;
    align-items: center;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border: none;
    height: 100%;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.byv-contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
}

.byv-contact-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    flex-shrink: 0;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.byv-contact-card:hover .byv-contact-photo {
    transform: scale(1.1);
    border-color: #FFC72C;
}

.byv-contact-name {
    font-weight: 700;
    color: #002d56;
    font-size: 1.1rem;
    margin: 0 0 4px 0;
}

.byv-contact-title {
    font-style: italic;
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0 0 12px 0;
}

.byv-contact-detail {
    font-size: 0.85rem;
    color: #343a40;
    margin: 0 0 5px 0;
    word-break: break-all;
}

/* --- FOOTER PROFESIONAL --- */
.byv-main-footer {
    background-color: #002d56;
    color: #adb5bd;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

.footer-content {
    padding: 50px 0 30px 0;
}

.footer-column {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.footer-column:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.footer-column h4 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 1rem;
}

.footer-column p {
    line-height: 1.7;
}

.footer-column .sponsor-logo {
    max-width: 180px;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.footer-column:hover .sponsor-logo {
    transform: scale(1.05);
}

.footer-bottom {
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    font-size: 0.8rem;
    color: #6c757d;
}

.footer-bottom p {
    margin: 0;
}

/* --- REGLAS RESPONSIVAS --- */
@media (max-width: 992px) {
    .byv-header-content {
        flex-direction: column;
        gap: 20px;
    }
    .byv-header-disclaimer {
        text-align: center;
        order: 3;
    }
    .byv-header-logo {
        order: 1;
    }
    .byv-header-cta {
        order: 2;
    }
}

@media (max-width: 768px) {
    .byv-slide {
        flex: 0 0 100%;
    }
    .byv-slider-btn.prev {
        left: 10px;
    }
    .byv-slider-btn.next {
        right: 10px;
    }
    .footer-column {
        text-align: center;
    }
    .byv-contact-card {
        flex-direction: column;
        text-align: center;
    }
    .byv-contact-photo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .byv-slider-container {
        width: 95%;
        padding: 15px;
    }
    .byv-slider-btn.prev {
        left: 5px;
    }
    .byv-slider-btn.next {
        right: 5px;
    }
}