/* Contenedor General */
.services-container {
    display: flex;
    width: 100%;
    background-color: #111010; /* Fondo gris oscuro */
    padding: 70px;
    box-sizing: border-box;
    flex-direction: row;
    height: auto;
    margin: 0; /* Elimina cualquier margen alrededor */
}

/* Columna Izquierda (Botones) */
.left-column {
    width: 50%;
    color: white;
    display: flex;
    flex-direction: column;
    padding-right: 20px;
    background-color: #111010; /* Fondo gris oscuro */
}

/* Título de la Sección */
.section-title-bar {
    text-align: left;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #111010;
}

.section-title {
    margin: 0;
    font-size: 40px;
    color: #e78c04;
    padding-left: 15px; /* Mantener margen izquierdo en el título */
    padding-bottom: 1.1%;
}

/* Botones de Dropdown */
.dropdown {
    margin-bottom: 5px;
}

.dropdown-button {
    width: 100%;
    background-color: #444;
    color: white;
    padding: 17px;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 18px;
    transition: background 1s;
}

.dropdown-button:hover {
    background-color: #3f3d3d;
}

/* Degradado original para el fondo */
.dropdown-content {
    display: none;
    background: linear-gradient(to top, rgba(231, 140, 4, 0.5) 0%, #ce7e05 80%);
    padding: 15px;
    position: relative;
}

/* Pestaña inclinada */
.dropdown-content::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 10px solid rgb(206, 128, 10); /* Ajustado para que el triángulo sea más visible */
}

.dropdown-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-content ul li {
    padding: 8px 0;
}

.dropdown-content ul li a {
    text-decoration: none;
    color: white;
}

/* Columna Derecha (Imagen Dinámica) */
.right-column {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
    position: relative;
    height: auto;
    padding-top: 100px; /* Espaciado superior */
}

.image-display {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow: hidden; /* Evita que el zoom afecte el diseño */
}

/* Asegura que las imágenes se ajusten solo al área de los botones y no suban ni bajen más */
.image-display img {
    width: 100%;
    transition: transform 4s ease-in-out;
    animation: zoomInOut 10s infinite ease-in-out; /* Aplica la animación */
    object-fit: cover; /* Ajusta las imágenes sin distorsionarlas */
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%; /* Se ajusta para cubrir el área entre el primer y el último botón */
}

@keyframes zoomInOut {
    0%, 100% {
        transform: scale(0.9);
    }
    50% {
        transform: scale(2.2); /* Aumenta un 10% el tamaño */
    }
}

/* Responsividad para pantallas pequeñas (celulares) */
@media screen and (max-width: 768px) {
    .right-column {
        display: none; /* Ocultar imágenes en móviles */
        padding-right: 1px;
    }

    .left-column {
        width: 100%; /* Los botones ocupan todo el ancho */
        padding-left: 20px;
    }

    .services-container {
        flex-direction: column; /* En móviles, los elementos deben estar apilados verticalmente */
        width: 100%; /* Asegura que la sección ocupe el 100% del ancho */
        margin: 0; /* Elimina márgenes */
        padding: 0; /* Elimina el padding */
    }

    .section-title-bar {
        width: 100%;
        padding: 20px;
        background-color: #111010;
    }

    .dropdown-button {
        width: 100%; /* Los botones ocuparán todo el ancho en dispositivos móviles */
        padding: 15px; /* Ajuste del tamaño de los botones */
        box-sizing: border-box; /* Asegura que los botones ocupen el 100% del ancho sin márgenes */
    }

    .section-title {
        font-size: 28px; /* Reducir tamaño del título en pantallas más pequeñas */
        padding-left: 0px; /* Mantener margen izquierdo en el título */
    }

    .dropdowns {
        width: 100%; /* Asegura que los dropdowns ocupen todo el ancho disponible */
    }
}











.bim-section {
    font-family: "Roboto", sans-serif;
    background: #111010; /* Fondo más gris */
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 120px 30px;
}

.bim-content {
    max-width: 50%;
    text-align: left;
    padding-left: 50px;
}

.bim-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 25px;
}

.bim-content span {
    color: #e78c04; /* Color naranja */
}

.bim-content p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 30px;
}

/* Botón Instant Estimate */
.instant-estimate-btn {
    background-color: #e78c04; /* Naranja */
    color: rgb(29, 28, 28);
    padding: 12px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
    display: inline-block;
    margin-top: 15px;
}

.instant-estimate-btn:hover {
    background-color: #c67603; /* Naranja más oscuro */
}

/* Métricas debajo del botón */
.bim-stats {
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.253);
    color: rgb(231, 226, 226);
    padding: 15px;
    border-radius: 10px;
    min-width: 150px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.stat-card h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 5px;
}




/* Variable CSS para ajustar el radio del círculo */
:root {
    --circle-radius: 120px; /* Ampliado en un 20% */
}

/* Imagen a la derecha */
.bim-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.9;
}

/* Configuración de la imagen dentro del contenedor */
.bim-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 50%;
}

/* Contenedor de los enlaces radiales */
.radial-links {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 95.5%;
    left: 95.5%;
    transform: translate(-50%, -50%);
}

/* Estilos generales de los enlaces radiales */
.radial-link {
    position: absolute;
    width: 20px;
    height: 20px;
    color: white;
    
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background 0.4s ease-in-out;
}

/* Mantiene el texto de los números SIEMPRE horizontal */
.radial-link span {
    display: inline-block;
    transform: rotate(0deg); /* Asegura que el número no rote */
}

/* Ubicación radial con ajuste de radio ampliado */
.radial-link:nth-child(1) { transform: rotate(0deg) translateX(var(--circle-radius)); }
.radial-link:nth-child(2) { transform: rotate(36deg) translateX(var(--circle-radius)); }
.radial-link:nth-child(3) { transform: rotate(72deg) translateX(var(--circle-radius)); }
.radial-link:nth-child(4) { transform: rotate(108deg) translateX(var(--circle-radius)); }
.radial-link:nth-child(5) { transform: rotate(144deg) translateX(var(--circle-radius)); }
.radial-link:nth-child(6) { transform: rotate(180deg) translateX(var(--circle-radius)); }
.radial-link:nth-child(7) { transform: rotate(216deg) translateX(var(--circle-radius)); }
.radial-link:nth-child(8) { transform: rotate(252deg) translateX(var(--circle-radius)); }
.radial-link:nth-child(9) { transform: rotate(288deg) translateX(var(--circle-radius)); }
.radial-link:nth-child(10) { transform: rotate(324deg) translateX(var(--circle-radius)); }

/* Efecto al pasar el mouse */
.radial-link:hover {
    background-color: #c67603;
    opacity: 0.6;
}




/* Enlace vacío centrado en la imagen */
.center-link {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 580px; /* Ajusta el tamaño del área activa */
    height: 580px; /* Ajusta el tamaño del área activa */
    transform: translate(-50%, -50%); /* Asegura que el enlace esté perfectamente centrado */
    display: block; /* Se asegura de que se pueda hacer clic en el área */
    border-radius: 50%; /* Hace el área activa circular */
    background-color: transparent; /* Sin fondo visible */
}

/* Opcional: Efecto visual cuando se pasa el mouse */
.center-link:hover {
    background-color: rgba(0, 0, 0, 0.2); /* Fondo sutil al pasar el mouse */
}




@media screen and (max-width: 768px) {
    .bim-section {
        flex-direction: column; /* Cambia a formato vertical */
        text-align: center;
        padding: 60px 20px;
    }

    .bim-content {
        max-width: 100%;
        padding: 0 10px;
    }

    .bim-content h2 {
        font-size: 2rem;
    }

    .bim-content p {
        font-size: 1rem;
    }

    .instant-estimate-btn {
        width: 100%;
        padding: 15px;
        font-size: 1.2rem;
    }

    .bim-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Dos columnas */
        gap: 15px;
        margin-top: 20px;
        width: 100%;
        padding: 15px; /* Igual al padding del botón */
    }

    /* Reducir la altura de las cajas de estadísticas */
    .stat-card {
        min-width: 120px;
        padding: 2px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

    /* Ajustar el tamaño de la fuente en las estadísticas */
    .stat-card h3 {
        font-size: 1.5rem;
        padding-top: 15px;
        padding-left: 8px;
    }

        /* Ajustar el tamaño de la fuente en las estadísticas */
        .stat-card p {
            font-size: 1rem;
            padding-top: 1px;
            padding-left: 8px;
        }



    .bim-image {
        max-width: 100%;
        display: flex;
        justify-content: center;
        padding: 40px 0;
        opacity: 0.8;
    }

    .bim-image img {
        width: 90%;
        max-width: 300px;
        border-radius: 10px;
    }

    .radial-links {
        /* Ajuste de tamaño para pantallas pequeñas */
        width: 90%;  /* Reducir el tamaño del contenedor */
        height: 90%; /* Reducir el tamaño del contenedor */
        top: 80%;
        left: 79%;
        transform: translate(-40%, -40%);
    }

    /* Si es necesario, ajustar el radio de los puntos o la distancia entre ellos */
    .radial-link {
        width: 45px; /* Reducir el tamaño de los enlaces */
        height: 45px;
        font-size: 0.7rem; /* Reducir el tamaño de la fuente */
    }

    .center-link {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 2px; /* Ajusta el tamaño del área activa */
        height: 2px; /* Ajusta el tamaño del área activa */
        transform: translate(-50%, -50%); /* Asegura que el enlace esté perfectamente centrado */
        display: block; /* Se asegura de que se pueda hacer clic en el área */
        border-radius: 50%; /* Hace el área activa circular */
        background-color: transparent; /* Sin fondo visible */
    }
}





/* FOOTER DESIGN */

footer {
    background-color: #0a0a0a;
    color: white;
    padding: 20px;
    font-family: 'PP+Neue+Montreal', sans-serif;
    text-align: center;
    padding-bottom: 40px;
}

footer nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer nav ul li {
    display: flex;
    align-items: center;
}

footer nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

footer nav ul li a img {
    width: 20px;
    margin-right: 8px;
}

footer nav ul li a:hover {
    color: #f39c12;
}

footer .contact-info {
    margin-top: 20px;
}

footer .phone-email {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 20px;
}

footer .phone-email a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
}

footer .phone-email a img {
    width: 18px;
    margin-right: 8px;
}

footer .contact-info button {
    background-color: #f39c12;
    border: none;
    padding: 10px 20px;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

footer .contact-info button:hover {
    background-color: #e67e22;
}

footer .social-icons {
    margin-top: 20px;
}

footer .social-icons a {
    margin: 0 10px;
}

footer .social-icons img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
}

footer .social-icons img:hover {
    transform: scale(1.1);
}

footer .services-f {
    margin-top: 30px;
}

footer .services-f ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

footer .services-f ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    display: block;
    text-align: center;
    width: 100px;
    margin: 10px;
    transition: color 0.3s;
}

footer .services-f ul li a:hover {
    color: #f39c12;
}

footer p {
    margin-top: 40px;
    font-size: 14px;
}








@media (max-width: 768px) {
    footer nav ul {
        flex-direction: column;
        align-items: flex-start; /* Alineación a la izquierda */
    }

    footer nav ul li a {
        font-size: 14px; /* Ajusta el tamaño de las letras del nav */
        margin-top: 5px; /* Puedes controlar la separación aquí */
        padding-left: 10px;
        padding-bottom: 2px;
    }

    footer .social-icons {
        display: grid;
        grid-template-columns: repeat(4, 1fr); /* 4 iconos arriba y 4 abajo */
        gap: 7px;
        margin-top: 40px; /* Puedes controlar la separación aquí */
    }

    footer .services-f ul {
        flex-direction: column;
        align-items: flex-start; /* Alineación a la izquierda */
        gap: 5px;
    }

    footer .services-f ul li a {
        font-size: 14px; /* Ajusta el tamaño de las letras de services-f */
        width: auto;
        text-align: left;
    }

    footer .subscribe {
        margin-top: 30px; /* Separación del botón subscribe */
    }
}











