﻿/* Cards Categoria */
.card-custom {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

    .card-custom:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
    }

.location-section {
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.index-icon {
    font-size: 2rem;
    color: #dc3545;
    flex-shrink: 0;
    margin-top: 0.3rem;
}


    .index-icon:hover, .index-icon:focus {
        transform: scale(1.2);
    }

.index-icon-f:hover, .index-icon-f:focus {
    transform: scale(1.2);
}

.info-text {
    font-size: 1rem;
    line-height: 1.4;
}

.ubi-t1 {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.categ-title {
    color: #945959;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
}

    .categ-title::after {
        content: "";
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
        height: 3px;
        background-color: #dc3545;
        border-radius: 2px;
    }

/*Iconos rojos completo*/
/*.icon-bg-red {
    color: white;
    background-color: #dc3545;
    padding: 0.5rem;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.3rem;
}*/

/* Texto en el centro de las imagenes*/
.badge-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #b71c1c; /* rojo fuerte */
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.5rem 1.5rem;
    min-width: 180px;
    max-width: 80%; /* nunca sobrepasa la imagen */
    text-align: center;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    white-space: nowrap; /* evita que el texto salte de línea */
}

/* 🔹 Extra small: teléfonos muy chicos (<576px) */
@media (max-width: 575.98px) {
    .badge-overlay {
        font-size: 1rem;
        padding: 0.8rem 0.5rem;
        min-width: 270px;
        max-width: 70%;
    }
}

/* 🔹 Small: teléfonos grandes (≥576px y <768px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .badge-overlay {
        font-size: 1rem;
        padding: 0.6rem 0.6rem;
        min-width: 270px;
        max-width: 75%;
    }
}

/* 🔹 Medium: tablets (≥768px y <992px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .badge-overlay {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
        min-width: 180px;
        max-width: 80%;
    }
}

/* 🔹 Large: laptops chicos (≥992px y <1200px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .badge-overlay {
        font-size: 0.85rem;
        padding: 0.3rem 0.8rem;
        min-width: 210px;
        max-width: 80%;
    }
}

/* 🔹 Extra large: monitores grandes (≥1200px y <1400px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .badge-overlay {
        font-size: 1rem;
        padding: 0.3rem 1rem;
        min-width: 240px;
        max-width: 80%;
    }
}

/* 🔹 XXL: pantallas muy grandes (≥1400px) */
@media (min-width: 1400px) {
    .badge-overlay {
        font-size: 1rem;
        padding: 0.3rem 1rem;
        min-width: 240px;
        max-width: 80%;
    }
}

