/* Estilos para la sección de servicios/experiencias */

.section-categoria-seleccionada {
    padding: 60px 0;
}

.contenedor-servicio-categoria {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.package_item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 15px;
}

.package_item:hover {
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.package_item.border-primary {
    border: 2px solid #8B6D45 !important;
    box-shadow: 0 5px 25px rgba(139,109,69,0.3);
}

.package_item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.package_item h5 {
    padding: 15px 20px 10px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.package_item h5 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.package_item h5 a:hover {
    color: #8B6D45;
}

.piborder {
    display: block;
    width: 50px;
    height: 2px;
    background: #8B6D45;
    margin: 10px 0;
}

.pl_area .d-flex {
    padding: 0 20px 15px;
}

.btn-seleccionar-servicio {
    color: #8B6D45;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-seleccionar-servicio:hover {
    color: #6d5435;
    text-decoration: underline;
}

/* Panel de detalle del servicio */
.sticky-panel {
    position: sticky;
    top: 100px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.vista-principal {
    border-radius: 10px;
    overflow: hidden;
    max-height: 400px;
}

.vista-principal img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Slider de miniaturas */
.slider-servicio {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.thumbnail-item {
    flex: 0 0 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail-item:hover {
    border-color: #8B6D45;
    transform: scale(1.05);
}

.thumbnail-img-servicios {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    color: #8B6D45;
    font-size: 24px;
}

/* Detalles del servicio */
.titulo-servicio-seleccionado {
    color: #8B6D45;
    margin-bottom: 10px;
}

.servicio-info {
    display: block;
    margin: 10px 0;
    color: #666;
}

.button-agendar {
    margin: 20px 0;
    background: #8B6D45;
    border-color: #8B6D45;
    width: 100%;
}

.button-agendar:hover {
    background: #6d5435;
    border-color: #6d5435;
}

.servicio-descripcion {
    margin-top: 20px;
    line-height: 1.6;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .sticky-panel {
        position: relative;
        top: 0;
        margin-top: 30px;
    }
    
    .vista-principal img {
        height: 300px;
    }
}
