/* ==========================================================================
   Estilos para Tarjetas Horizontales de Socios y Publicidad
   ========================================================================== */

.tour-card-horizontal {
    display: flex;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.tour-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.tour-card-horizontal__img-container {
    flex: 0 0 250px; /* Ancho fijo para la imagen */
    position: relative;
    overflow: hidden;
}

.tour-card-horizontal__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tour-card-horizontal:hover .tour-card-horizontal__img {
    transform: scale(1.05);
}

.tour-card-horizontal__tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--theme-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.tour-card-horizontal__content {
    flex: 1;
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tour-card-horizontal__header {
    margin-bottom: 10px;
}

.tour-card-horizontal__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.tour-card-horizontal__title a {
    color: var(--title-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.tour-card-horizontal__title a:hover {
    color: var(--theme-color);
}

.tour-card-horizontal__location {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.tour-card-horizontal__location i {
    margin-right: 8px;
    color: var(--theme-color);
}

.tour-card-horizontal__description {
    font-size: 15px;
    line-height: 1.6;
    color: #495057;
    flex-grow: 1; /* Permite que la descripción ocupe el espacio disponible */
    margin-bottom: 20px;
}

.tour-card-horizontal__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
    margin-top: auto; /* Empuja el footer hacia abajo */
}

.tour-card-horizontal__social {
    display: flex;
    gap: 10px;
}

.tour-card-horizontal__social .social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #f1f1f1;
    color: var(--title-color);
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tour-card-horizontal__social .social-btn:hover {
    color: white;
}

.tour-card-horizontal__social .social-btn.whatsapp:hover { background-color: #25D366; }
.tour-card-horizontal__social .social-btn.email:hover { background-color: #D44638; }
.tour-card-horizontal__social .social-btn.maps:hover { background-color: #4285F4; }

/* Estilos para la tarjeta de publicidad horizontal */
.tour-card-horizontal.tour-card--publicidad {
    border-color: var(--theme-color);
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.tour-card-horizontal.tour-card--publicidad .tour-card-horizontal__tag {
    background-color: #ffc107;
    color: #212529;
}

/* Media Query para pantallas pequeñas */
@media (max-width: 767px) {
    .tour-card-horizontal {
        flex-direction: column;
    }

    .tour-card-horizontal__img-container {
        flex: 0 0 200px; /* Altura fija para la imagen en móviles */
    }

    .tour-card-horizontal__content {
        padding: 20px;
    }

    .tour-card-horizontal__footer {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
}