/* Estilos generales */
body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-color);
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #2C3E50; /* Azul Marino */
    --secondary-color: #16A085; /* Verde Azulado */
    --highlight-color: #c68c8a; /* Naranja */
    --light-gray-color: #ECF0F1; /* Gris Claro */
    --dark-gray-color: #7F8C8D; /* Gris Oscuro */
    --white-color: #FFFFFF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.navbar {
    background-color: var(--primary-color);
    padding: 15px 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white-color);
}

.navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    display: inline-block;
    margin-right: 15px;
}

.nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--white-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--highlight-color);
}

/* Carrousel */
.carousel-item img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Whatsapp */
.btnWhatsapp {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 30px;
    left: 20px;
    background: #00E676;
    color: var(--white-color);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

/* Botón flotante */
.btnBack {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 30px;
    right: 20px;
    background: var(--highlight-color); /* Naranja */
    color: var(--white-color);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
}
.trabajo-img{
    width: 100%;
    height: 300px; /* Altura fija para todas las imágenes */
    object-fit: cover; /* Recorta el exceso y centra la imagen */
    border-radius: 8px;
    margin-bottom: 15px;
    margin-right: 15px; /* Espacio a la derecha para separar del texto */
}

.trabajos-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.trabajo-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.trabajo-img {
    flex: 1;
}

.trabajo-desc {
    flex: 1;
    padding-left: 20px; /* Espacio entre imagen y descripción */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #000; /* Color de los controles del carrusel */
    border-radius: 50%;
}

.btn-facebook {
    display: inline-block;
    background-color: #3b5998;
    color: #ffffff;
    padding: 12px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.btn-facebook:hover {
    background-color: #2d4373;
}

.btn-facebook i {
    margin-right: 10px;
    font-size: 1.5rem;
}

/* Responsividad: Imagen arriba y texto abajo en móviles */
@media (max-width: 767px) {
    .trabajo-item {
        flex-direction: column;
        text-align: center;
    }

    .trabajo-desc {
        padding-left: 0;
        margin-top: 15px;
        text-align: center; /* Asegura que el texto esté centrado */
    }

    .trabajo-img img {
        width: 100%;
    }
}


/* Responsividad */
@media (max-width: 767px) {
    .navbar-nav .nav-link {
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .carousel-item img {
        width: 100%;
        height: auto;
    }
}

#responsive-logo-button {
    display: flex;
    justify-content: space-between;
    padding: 1% 0 1% 0;
}

/* Estilos para el footer */
footer {
    background-color: var(--dark-gray-color);
    color: var(--white-color);
    text-align: center;
    padding: 15px 0;
}
