/* ===== SLIDER ===== */
.slider_section {
    position: relative;
    height: 80vh;
    background: transparent;
    color: white;
    overflow: hidden;
}

/* Overlay */
.slider_section::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(15, 32, 39, 0.85) 20%,   /* azul oscuro elegante */
        rgba(32, 58, 67, 0.6) 50%,    /* transición */
        rgba(44, 83, 100, 0.2) 100%   /* más transparente */
    );
    top: 0;
    left: 0;
    z-index: 1;
}



/* Asegura que el contenido quede encima */
.slider_section .container {
    position: relative;
    z-index: 2;
}

/* ALTURA COMPLETA DEL SLIDE */
.carousel-item {
    height: 80vh;
}

/* CENTRADO PERFECTO */
.carousel-item .container,
.carousel-item .row {
    height: 100%;
    align-items: center;
}

/* TEXTO */
.detail-box h1 {
    font-size: 55px;
    font-weight: bold;
    color: white;
}

.detail-box p {
    color: #e0e0e0;
}

.detail-box {
    animation: fadeUp 1s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* BOTÓN */
.btn1 {
    display: inline-block;
    padding: 12px 30px;
    background: #00b4d8;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.btn1:hover {
    background: #0096c7;
}

/* IMAGEN */
.img-box img {
    width: 750px;
    height: 500px;
    object-fit: cover; 
}

/* INDICADORES */
.carousel-indicators li {
    background-color: #00b4d8;
}

/*===Titulo===*/
.ubicaciones {
    padding: 60px 20px;
    text-align: center;
}
.ubicaciones h2 {
    text-align: center;
    font-size: 40px;
    color: #0b3c5d;
    margin-bottom: 40px;
    position: relative;
}

/* línea decorativa */
.ubicaciones h2::after {
    content: "";
    width: 60px;
    height: 4px;
    background: #00b4d8;
    display: block;
    margin: 10px auto 0;
    border-radius: 5px;
}

/* TARJETAS */
.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* CARD */
.card {
    width: 280px;
    border-radius: 15px;
    overflow: hidden; /* 🔥 para que la imagen respete bordes */
    background: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.3s;
    cursor: pointer;
}

/* IMAGEN */
.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* CONTENIDO */
.card-body {
    padding: 20px;
}

.card-body h3 {
    margin-bottom: 10px;
    color: #0b3c5d;
}

.card-body h1 {
    font-size: 18px;
    color: #0b3c5d;
}


.card-body p {
    color: #555;
}

/* HOVER PRO */
.card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}