.categoria_detalle{
    background-color: #c73800;
    color: #fff;
    padding: 5px;
    font-size: 1rem;
    border-radius: 5px;
    display: inline-block;
   
}
.tarjeta_titulo{
    text-transform: uppercase;
    font-size 1.5rem;
    padding-top: 5px;
    display: block;
}
.titulo_detalle{
    text-transform: uppercase;
    font-size: 1.2rem;
    font-family: "PaloAlto";
    font-weight: 500;
    
}
p.detalle_desc {
    font-size: 1.5rem;
    margin: 20px 0;
    
}

.lateralDetalle .detalle_desc p{
    font-size: 1rem;
}
.contenedor_galeria{
    position: relative;
    height: 100vh;
    width: 100vw;  
    overflow: hidden;
    
    padding-bottom: 3rem;
    
    
}

.btn{
    background-color: #00c774;
    padding: 10px;
    color: #fff;
    border-radius: 3px;

}
.btn.mapa{
    background-color: #c73800;
}
.lateralDetalle{
    /* background-color: red; */
   border-radius: 20px;
    padding: 1rem;
    width: 50%;
    
    margin: 20px;
}

.split_galeria{
    display: flex;
    justify-content: space-around;
    background-color: #ececec;
    box-shadow: 0 25px 50px rgba(0, 0, 0, .25);
}

.galeria_slider{
    position: absolute;
    inset: 60px;    
    display: block;
    height: 75vh;
    border-radius: 20px;    
    
}

.galeria_slider .slides {
    position: absolute;
    width: 160px;
    background: var(--img);
    right: 130px;
    height: 140px;
    top: 87%;
    transform: translateY(-70%);
    border-radius: 20px;
    transition: 0.5s;
    background-size: cover;
    background-position: center;
    
}

.galeria_slider .slides:nth-child(1),
.galeria_slider .slides:nth-child(2){
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    transform: translateY(0);
    background-size: contain;
    background-repeat: no-repeat;
}

.galeria_slider .slides:nth-child(3){
    left: calc(50% + 43px);
    background-size: cover;
 }

 .galeria_slider .slides:nth-child(4){
    left: calc(50% + 219px);
    background-size: cover;
 }


 .galeria_slider .slides:nth-child(5) {
    left: calc(50% + 216px);
    background-size: cover;
    /* opacity: 0; */
}

.botones{
    position: absolute;
    bottom: -85px;
    left: 50px;
    display: flex;
    gap: 20px;
    z-index:99999;
}

.botones span{
    position: relative;
    height: 50px;
    width: 50px;
    background-color: #c73800;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #fff;
    border-radius: 50%;
}
.botones span::before{
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-top: 4px solid #fff;
    border-left: 4px solid #fff;
    transform: rotate(315deg)translate(2px,2px);
}

.botones span:nth-child(2):before{
    transform: rotate(135deg)translate(2px,2px);
}

.botones span:active{
    opacity: 0.5;
}

    * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .main-image-container {
            position: relative;
            width: 300px;
            height: 300px;
            margin: 20px;
            cursor: pointer;
            overflow: hidden;
            border-radius: 8px;
        }

        .main-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .hover-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            display: flex;
            justify-content: center;
            align-items: center;
            transition: all 0.3s ease;
        }

        .main-image-container:hover .hover-overlay {
            background: rgba(0, 0, 0, 0.6);
        }

        .view-images-text {
            color: white;
            font-size: 0.9rem;
            padding: 12px 32px;
            background: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.6);
            border-radius: 50px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            text-transform: uppercase;
            letter-spacing: 2px;
            font-weight: 600;
            position: relative;
            overflow: hidden;
        }

        .view-images-text::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(120deg, 
                rgba(255,255,255,0) 0%, 
                rgba(255,255,255,0.1) 50%, 
                rgba(255,255,255,0) 100%);
            transform: translateX(-100%);
            transition: transform 0.6s ease;
        }

        .main-image-container:hover .view-images-text {
            background: rgba(255, 255, 255, 0.25);
            transform: scale(1.05) translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
            border-color: rgba(255, 255, 255, 0.9);
        }

        .main-image-container:hover .view-images-text::after {
            transform: translateX(100%);
        }

        /* Modal styles */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 1000;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modal.active {
            display: flex;
            opacity: 1;
        }

        .modal-content {
            position: relative;
            max-width: 90%;
            max-height: 90vh;
            margin: auto;
        }

        .modal-image {
            max-width: 100%;
            max-height: 90vh;
            object-fit: contain;
        }

        .close-modal {
            position: absolute;
            top: 20px;
            right: 20px;
            color: white;
            font-size: 30px;
            cursor: pointer;
            background: none;
            border: none;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
            z-index: 1001;
        }

        .nav-button {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.5);
            color: white;
            padding: 15px;
            cursor: pointer;
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .prev-button {
            left: 20px;
        }

        .next-button {
            right: 20px;
        }

        .thumbnail-container {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            padding: 10px;
            background: rgba(0, 0, 0, 0.5);
            border-radius: 10px;
            overflow-x: auto;
            max-width: 90%;
        }

        .thumbnail {
            width: 60px;
            height: 60px;
            object-fit: cover;
            cursor: pointer;
            border: 2px solid transparent;
            border-radius: 4px;
            transition: border-color 0.3s ease;
        }

        .thumbnail.active {
            border-color: white;
        }

        @media (max-width: 768px) {
            .main-image-container {
                width: calc(100% - 40px);
                height: 250px;
            }

            .nav-button {
                padding: 10px;
            }

            .close-modal {
                top: 10px;
                right: 10px;
            }

            .thumbnail {
                width: 50px;
                height: 50px;
            }

            .view-images-text {
                font-size: 0.8rem;
                padding: 10px 24px;
            }
            
            .lateralDetalle {
    /* background-color: red; */
    border-radius: 20px;
    padding: 1rem;
    width: 90%;
    margin: 20px;
}
        }
    </style>
