/* Estilos generales */
body {
    font-family: Open Sans, Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    margin: auto;
}

/*********************************** Navbar ************************************/
nav {
    background-color: #FFD80E;
    color: white;
    padding: 10px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

nav a.logo img {
    height: 50px;
    width: auto;
}

nav a.logo {
    color: white;
    font-size: 24px;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #0009;
    text-decoration: none;
    font-size: 18px;
    font-family: 'Fira Sans', Helvetica, Arial, Lucida, sans-serif;
}

nav ul li a:hover{
    font-weight: bold;
}

.ImageLogo{
    width: 150px;
}

/* Icono del menú móvil */
#mobile_nav_bar {
    display: none;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 30px;
}

#mobile_nav_bar i{
    font-size: 22px;
    color: black;
    cursor: pointer;
}


/* Estilo para el menú móvil */
.mobile-menu {
    display: none;
    background-color: #FFCC00;
    width: 100%;
    position: absolute;
    right: 0;
    text-align: center;
    padding: 2%;
    border-top: 3px solid #000000;
    transform: translateY(-100%);
    opacity: 0; 
    transition: transform 1s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 1s ease-out; 
    z-index: 2;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li a {
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, .03);
    color: #666;
    padding: 5px 5%;
    display: block;
}

/* Secciones */
section {
    padding: 40px 0;
}

h2 {
    font-family: 'Fira Sans', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 500;
    font-size: 28px;
    margin-bottom: 20px;
}

/* Gallery styles for images */
.gallery {
    display: flex;
    gap: 10px;
}

.gallery img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.1);
}

/* Estilos del Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
}

.modal .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.service-image, .modal-content {
    width: 100%;
    cursor: pointer;
    border-radius: 5px;
}

/*********************** Sección Sobre Nosotros ************************/
#about {
    background-image: url('images/SobreNosotros.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Opacidad de 40% */
    z-index: 1;
}

#about .container {
    z-index: 2;
    text-align: center;
    color: white;
}

#about h2 {
    font-family: 'Fira Sans', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 500;
    font-size: 90px;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    text-shadow: 0.08em 0.08em 0.26em rgba(0, 0, 0, 0.927);
}

#about h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 10px; /* Altura de la línea */
    background-color: #FFD80E; /* Color amarillo */
}

#about p {
    font-family: 'Fira Sans', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 400;
    font-size: 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-shadow: 0.08em 0.08em 0.26em rgba(0, 0, 0, 0.927);
}

/*********************** Sección Servicios ************************/
#services {
    color: white;
    background-color: black;
    padding: 50px 0;
}

.services-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

#services h2 {
    font-size: 50px;
    font-weight: 700;
}

#services p {
    font-family: 'Fira Sans', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 400;
}

.services-list {
    list-style-type: decimal;
    padding-left: 20px;
    font-size: 18px;
    width: 50%;
}

.services-list li {
    margin-bottom: 10px;
}

.image-container {
    width: 40%;
}

/*********************** Sección Servicios ************************/
#experience{
    background-color: #4b4b4b;
    padding: 50px 0;
}

#experience h2 {
    color: white;
    font-size: 50px;
    margin-bottom: 30px;
}

#experience p{
    color: white;
    font-family: 'Fira Sans', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 400;
    font-size: 20px;
}

.experience-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.experience-images {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 23%;
}

.experience-image {
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 5px;
}

/*********************** Sección Nuestros Clientes ************************/
#clients {
    background-color: #f5f5f5; 
    padding: 50px 0;
}

#clients h2 {
    color: #333;
    font-size: 50px;
    margin-bottom: 30px;
}

.clients-gallery {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px; /* Espacio entre las imágenes */
}

.client-image {
    width: 23%;
    height: auto;
}

.client-image img {
    width: 100%;
    height: auto;
    border-radius: 5px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.client-image img:hover {
    transform: scale(1.05);
}

/*********************** Sección Contactos ************************/
#contact {
    background-color: #f5f5f5; 
    padding: 50px 0;
}

#contact h2 {
    font-size: 50px;
    margin-bottom: 30px;
}

#contact p {
    font-family: 'Fira Sans', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #333;
    margin: 10px 0;
}

#contact i {
    margin-right: 10px;
    color: #333;
}

#contact ul {
    list-style: none;
    padding-left: 0;
}

#contact ul li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
}

#contact ul li a:hover {
    color: #007bff;
    text-decoration: underline;
}


/* Responsive */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    /* Mostrar el icono del menú móvil */
    #mobile_nav_bar {
        display: flex;
    }

    .mobile-menu.open {
        display: block;
        transform: translateY(0);
        opacity: 1;
    }

    #about h2 {
        font-weight: 500;
        font-size: 50px;
        margin-bottom: 30px;
        position: relative;
    }

    #about p {
        font-size: 14px;
    }

    #services h2{
    font-size: 25px;
    }

    .services-list {
    font-size: 14px;
    }

    #clients h2{
    font-size: 25px;
    }

    #experience h2{
    font-size: 25px;    
    }

    #experience p{
        font-size: 14px;
    }

    #contact h2{
    font-size: 25px;
    }

    #contact p{
        font-size: 14px;
    }

    #contact ul li a{
        font-size: 14px;
    }

    footer p {
        font-size: 12px;
    }
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 2px 0;
    text-align: center;
}

@font-face {
    font-family: 'Fira Sans';
    src: url('path/to/fira-sans.woff2') format('woff2'),
         url('path/to/fira-sans.woff') format('woff');
}
