/* ========= NAVBAR ========= */

.navbar-custom {
    transition: .35s;
    padding: 18px 0;
    background: transparent;
}

.navbar-scroll {
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
    padding: 10px 0;
}

/* Menú cuando está sobre el Hero */
.navbar-custom .nav-link {
    color: #ffffff;
    font-weight: 500;
    margin-left: 18px;
    transition: .3s;
}

.navbar-custom .nav-link:hover {
    color: #0d6efd;
}

.navbar-scroll .nav-link {
    color: #222;
}

.navbar-scroll .nav-link:hover {
    color: #0d6efd;
}

#btnIdioma {
    color: #fff;
    border: 1px solid #fff;
    border-radius: 30px;
    padding: 6px 18px;
}

#btnIdioma:hover {
    background: #fff;
    color: #0d6efd;
}

/* Cuando haces scroll */

.navbar-scroll #btnIdioma {
    color: #0d6efd;
    border-color: #0d6efd;
}

.navbar-scroll #btnIdioma:hover {
    background: #0d6efd;
    color: #fff;
}

.logo {
    height: 80px;
    width: auto;
    display: block;
}

/* ========= HERO ========= */

.hero {

    position: relative;
    min-height: 100vh;
    background: url("../img/hero/1.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: .9rem;
}

.hero-title {
    color: #fff;
    font-size: 4rem;
    font-weight: 700;
    margin: 20px 0;
}

.hero-text {
    color: #ddd;
    font-size: 1.2rem;
    max-width: 650px;
    margin-bottom: 35px;
}

.hero-btn {
    border-radius: 40px;
    padding: 14px 35px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    color: #fff;
    margin-top: 40px;
}

/* ========= FEATURES ========= */

.features {

    background: #f8f9fa;

}

.feature-card {

    background: #fff;

    padding: 40px 25px;

    border-radius: 15px;

    text-align: center;

    transition: .35s;

    height: 100%;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .05);

}

.feature-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, .10);

}

.feature-card i {

    font-size: 3rem;

    color: #0d6efd;

    margin-bottom: 20px;

}

.feature-card h5 {

    margin-bottom: 15px;

    font-weight: 600;

}

.feature-card p {

    color: #666;

    margin: 0;

}

/* ========= OFICINAS ========= */

.oficinas{

    background:white;

}

.oficina-card{

    border:none;

    overflow:hidden;

    border-radius:18px;

    transition:.35s;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.oficina-card:hover{

    transform:translateY(-10px);

}

.oficina-card img{

    height:250px;

    object-fit:cover;

}

.oficina-card .card-body{

    padding:25px;

}

.oficina-card h4{

    font-weight:700;

}

.oficina-card h5{

    color:#0d6efd;

    margin:20px 0;

}

/* TARJETAS DE OFICINAS */

#contenedorOficinas .card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

#contenedorOficinas .card-img-top {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

#contenedorOficinas .card-body {
    padding: 25px;
}

#contenedorOficinas .card-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 18px;
}

#contenedorOficinas .card-text {
    margin-bottom: 10px;
}

/* =========================
   GALERÍA CARRUSEL
========================= */

.galeria-carrusel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.galeria-track {
    display: flex;
    width: max-content;
    gap: 20px;
    animation: moverGaleria 85s linear infinite;
}

.galeria-item {
    width: 400px;
    height: 300px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Detener el carrusel al pasar el mouse */
.galeria-carrusel:hover .galeria-track {
    animation-play-state: paused;
}

/* Agrandar la imagen */
.galeria-item:hover img {
    transform: scale(1.08);
}

/* Movimiento continuo */
@keyframes moverGaleria {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}

.mapa{
    display: flex;
    justify-content: center;
    align-items: center;
}

.contacto-premium {

    background: #000;

    padding: 100px 0;
}

.contacto-premium h2 {

    color: #d4af37;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 70px;
}

.contacto-item {

    display: flex;

    align-items: center;

    gap: 30px;

    margin-bottom: 60px;
}

.contacto-item i {

    color: #d4af37;

    font-size: 3rem;

    min-width: 60px;
}

.contacto-item p {

    color: #f5e6a8;

    font-size: 1.8rem;

    line-height: 1.4;

    margin: 0;
}