* {
    margin: 0;
    padding: 0;
    
}

@font-face {
    font-family: Poppins;
    src: url(fonts/Poppins/Poppins-Regular.ttf);
}

@font-face {
    font-family: Anton;
    src: url(fonts/Anton/Anton-Regular.ttf);
}

@font-face {
    font-family: Monserrat;
    src: url(fonts/Montserrat/Montserrat-VariableFont_wght.ttf);
}

@font-face {
    font-family: BONN;
    src: url(fonts/BONN/BONN_by_villa/bonn_regular.ttf);
}

header {
    position: fixed;
    top: 0; 
    width: 100%;
    padding: 20px;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: space-between;
}

#menu-toggle{
    opacity: 0;
}

nav {
    display: flex;
    justify-content: flex-start;
}

nav ul {
    display: flex;
    list-style-type: none;
    padding-left: 050px;
}

nav ul li {
    margin-left: 10px;
    padding: 10px;
    font-family: BONN;
    font-size: 5px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-family: Poppins;
    font-size: 20px;
}

main {
    flex: 1;
}

nav ul li:hover {
    transform: scale(1.1); /* Aumenta el tamaño del texto ligeramente al pasar el cursor */
}

nav ul li a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff312;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

nav ul li a:hover::before {
    visibility: visible;
    width: 100%;
}

nav ul li a:hover {
    color: #ffde4d; /* Cambia el color del texto al pasar el cursor */
}

#logo {
    width: auto;
    height: 50px;
    padding-right: 100px;
}






/*termina el menu*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

:root {
  --primary-color: #ffd700;
  --secondary-color: #000000;
  --text-color: #000000;
  --accent-color: #ff6600;
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Roboto', sans-serif;
  background-color: var(--secondary-color);
  color: var(--text-color);
  overflow-x: hidden;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('picture/fondo2.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    max-width: 30%;
    padding: 3rem;
    background-image: url(picture/fondo2.png);
    border-radius: 10px;
    margin-left: 15%;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
}

#text-tarjeta1 {
    color: #ffffff;
}

.hero-content img {
    width:"20%";
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h2 {
  font-size: 2rem;
  font-weight: 300;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.cta-button {
    width: 40%;
  display: flex;
  justify-content: center;
  padding: 12px 30px;
  background-color: rgb(255, 255, 255);
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  background-color: var(--accent-color);
  color: var(--text-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 102, 0, 0.4);
}

#logoverde {
    filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.3));

}

.maquinaria-image {
  position: absolute;
  right: -20%;
  bottom: -20%;
  width: 90%;
  height: auto;
  z-index: 1;
  transition: transform 1s ease, opacity 0.5s ease;
  animation: floatMachine 6s ease-in-out infinite;
  filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes floatMachine {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Estilos responsivos */
@media screen and (max-width: 768spx) {
  .hero-content {
    max-width: 60%;
  }
  h1 { font-size: 3rem; }
  h2 { font-size: 1.8rem; }
  .maquinaria-image { width: 80%; }
}

@media screen and (max-width: 768px) {
  .hero-content {
    max-width: 80%;
    margin: 0 auto;
  }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.5rem; }
  p { font-size: 1rem; }
  .maquinaria-image {
    opacity: 0.3;
    width: 100%;
    right: -50%;
  }
}

@media screen and (max-width: 480px) {
  .hero-content {
    max-width: 90%;
    padding: 2rem;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.2rem; }
  .cta-button {
    padding: 10px 20px;
    font-size: 1rem;
  }
  .maquinaria-image {
    
  }
}

/*V2 Sectino quienes somos*/
.quienes-somos{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: radial-gradient(circle at 50% -3.03%, #efff12 0, #ffe60a 50%, #fff700 100%);
}


.container23 {
    display: flex;
    flex-direction: column;
    align-items: center;
    
   
}
h1 {
    text-align: center;
    color: #000000;
    margin-bottom: 30px;
    font-size: 3.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 20px 0;
    border-bottom: 3px solid #333;
}

#quienessomos {
    margin-top: 7%;
    font-family: Poppins;
}

#tituoloclientessatisfechos {
    color: #000;
}

h2 {
    font-family: Poppins;
    text-align: center;
    color: #ffffff;
    margin: 30px 0;
    filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.3));
}
.card1 {
    display: flex;
    flex-direction: column;
    font-family: Poppins;
    height: auto;
    width: 70%;
    background-color: rgb(0, 0, 0,0.9);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 50px;
    padding-bottom: 50px;
    margin-bottom: 30px;
    filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.3));
}

.card1 p{
    color: #ddd;
}



.clients {
    display: flex;    
    flex-direction: row;
    align-items: center;
    position: relative;
    justify-content:center;
    gap: 20px;
    
}
.client-card {
    flex: 1;
    height: auto;
    width: 35vh;
    font-family: Poppins;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
}
.client-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 10px;
    background-color: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    color: #666;
}

.client-avatar img {
    width: 100%;
    border-radius: 60%;
}

.logo-bar {
    background-color: #000;
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
}
.logo-container {
    display: inline-block;
    animation: scroll 15s linear infinite;
}
.logo {
    width: 120px;
    height: 40px;
    background-color: #fff;
    display: inline-block;
    margin-right: 20px;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-700px); } /* 5 logos * (120px width + 20px margin) */
}



#img {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content:space-around;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-top: 60px;
    bottom: 50px;
    position: relative;
    background-color: #2c2c2c;
}


#Trabaja {
    font-family: Poppins;
    position: relative;
    margin-top: 70px;

}

.img1 {
    width: 10%;
    bottom: 0;
}


@media (max-width: 768px) {

    .clients {
        display: flex;    
        flex-direction: column;
    }
    .card1{
         background-image: radial-gradient(circle at 50% -3.03%, #ffe545 0, #f9e746 50%, #f3e947 100%);
    }
    .card1 p{
        color: #000000;
    }
}





/*Fin V2 quienes somos*/











/*Comienza otra seccion*/




/*Comienza otra seccion*/



/*Section V2*/





.collage-section {
    background: linear-gradient(to bottom, #ffffff, #f0f0f0);
    padding: 60px 20px;
}
.collage-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 150px;
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}
.collage-item {
    position: relative;
    overflow: visible;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}
.collage-item:hover {
    transform: scale(1.05);
    z-index: 10;
}
.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}
.title-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 1.8em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    transition: opacity 0.3s ease;
    width: 100%;
    padding: 5px;
}
.info-card {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(100%);
    z-index: 20;
}
.collage-item.active .info-card {
    opacity: 1;
    transform: translateY(0);
}
.collage-item:nth-child(1) { grid-area: 1 / 1 / 3 / 3; }
.collage-item:nth-child(2) { grid-area: 1 / 3 / 2 / 5; }
.collage-item:nth-child(3) { grid-area: 1 / 5 / 3 / 7; }
.collage-item:nth-child(4) { grid-area: 2 / 3 / 4 / 5; }
.collage-item:nth-child(5) { grid-area: 3 / 1 / 5 / 3; }
.collage-item:nth-child(6) { grid-area: 3 / 5 / 5 / 7; }
.collage-item:nth-child(7) { grid-area: 4 / 3 / 6 / 5; }
.collage-item:nth-child(8) { grid-area: 5 / 1 / 7 / 3; }
.collage-item:nth-child(9) { grid-area: 5 / 5 / 7 / 7; }
.collage-item:nth-child(10) { grid-area: 6 / 3 / 8 / 5; }
.collage-item:nth-child(11) { grid-area: 7 / 1 / 9 / 3; }
.collage-item:nth-child(12) { grid-area: 7 / 5 / 9 / 7; }
.collage-item:nth-child(13) { grid-area: 8 / 3 / 10 / 5; }

@media (max-width: 768px) {
    .collage-container {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    .collage-item {
        grid-area: auto !important;
    }
}







/*Otra seccion*/


#Contacto {
    background-color: #ffe41a;
    margin: 0;
    padding: 0;
}

.contacto-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.mapa-container {
   
   
    padding: 20px;
    margin-right: 20px;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    background: #ffffff; /* Fondo blanco para el mapa */
}

.formulario-contacto {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    background-color: #ffffff;
    padding: 40px;
    margin-left: 20px;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.formulario-contacto h1 {
    font-family: Poppins, sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.formulario-contacto p {
    font-family: Poppins, sans-serif;
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.formulario-contacto label {
    font-family: Poppins, sans-serif;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
}

.formulario-contacto input, 
.formulario-contacto textarea {
    font-family: Poppins, sans-serif;
    font-size: 1rem;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.formulario-contacto input:focus, 
.formulario-contacto textarea:focus {
    border-color: #ffcc00;
    outline: none;
}

.formulario-contacto button {
    font-family: Poppins, sans-serif;
    font-size: 1.2rem;
    padding: 10px;
    background-color: #ffcc00;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.formulario-contacto button:hover {
    background-color: #e6b800;
}


/*Otra seccion*/







footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    
    gap: 20px;
}

.footer-info, .footer-social {
    width: 100%;
    max-width: 600px;
}

.footer-info h2, .footer-social h2 {
    font-family: Poppins, sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-info p {
    font-family: Poppins, sans-serif;
    font-size: 1rem;
    margin: 5px 0;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #444;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.footer-social a:hover {
    background-color: #555;
}

.footer-social img {
    width: 24px;
    height: 24px;
}



/* Estilo para el botón de WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 20px; /* Distancia desde el borde inferior */
    right: 20px; /* Distancia desde el borde derecho */
    background-color: #00bb2d; /* Color verde característico de WhatsApp */
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    padding: 10px;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.whatsapp-button img {
    width: 50px; /* Tamaño del ícono */
    height: auto;
}

.whatsapp-button:hover {
    background-color: #ffffff; /* Color verde oscuro cuando el mouse pasa sobre el botón */
}

.whatsapp-button:active {
    background-color: #ebff12; /* Color aún más oscuro cuando se hace clic en el botón */
}













/* Media query para dispositivos móviles */
@media (max-width: 768px) {
    header {
        padding: 15px;
    }

    #menu-toggle{
        opacity: 1;
        
    }



    nav {
        position: absolute;
        top: 80px;
        right: 20px;
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(4px);
        border-radius: 5px;
        display: none; /* Inicialmente oculto */
        flex-direction: column;
        width: 150px;
        padding: 10px;
    }

    nav ul {
        flex-direction: column;
        padding-left: 0;
    }

    nav ul li {
        margin: 10px 0;
    }

    /* Botón para mostrar el menú */
    #menu-toggle {
        position: absolute;
        top: 30%;
        right: 20%;
        cursor: pointer;
        font-size: 24px;
        color: #ffffff;
    }

    /* Mostrar menú al hacer clic en el botón */
    #menu-toggle.active + nav {
        display: flex;
    }


/*Section 1 telefono*/

#Inicio {
    display: flex;
    flex-direction: row;
    color: #000000;
    justify-content: center;
    align-items:center;
    padding: 0;
    background-image: url(picture/fondo2.png);
    right: 0;
    left: 0;
    background-color: #000000;
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 10;
    padding-left: 20%;
    
}

#inicio-p {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    right: 0%;
    left: 0%;
    height: 500px;
    width: 80vh;
    background: rgba(255, 255, 255, 0.8); /* Fondo blanco con opacidad para efecto de tarjeta */
    border-radius: 20px; /* Bordes redondeados */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Sombra para efecto de elevación */
    backdrop-filter: blur(10px); /* Desenfoque de fondo */
    text-align: center; /* Centra el texto */
}

#forma {
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    width: 20%; /* Ocupa el ancho total de la sección */
    height: 100%; /* Ajusta la altura según lo necesites */
    background-color: rgb(0, 0, 0, 0); /* Color y opacidad de la forma */
    position: absolute;
    bottom: 0; /* Posiciona la forma en la parte inferior de la sección */
    right: 0;
    z-index: 15; /* Asegura que la forma esté por debajo del texto */
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 55% 0);
}



#logo-inicio {
    height: auto;
    width: 80%;
    padding: 20px;
}



#flota {
       position: absolute;
       width: 30%;
    }





/*Sección 2 quienes somos*/







#QuienesSomos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 50px;
    background: linear-gradient(135deg, #d0d0d0, #dbdbdb);
    position: relative;
    overflow: visible;
}

#quienes-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px; /* Añade un margen inferior para separar el título del texto */
    color: #333;
    z-index: 5;
    position: relative;
    width: 100%; /* Asegura que el título esté centrado horizontalmente */
}

#quienes {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    max-width: 800px;
    text-align: center;
    margin-bottom: 50px;
    color: #555;
    line-height: 1.6;
    z-index: 5;
    padding: 30px;
    padding-top: 300px;
    background: rgba(255, 232, 22, 0.889);
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

#tituoloclientessatisfechos{ 
    color: #000;
}

#quienes-title {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    color: #333;
    position: absolute;
    top: 10%;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    animation: fadeIn 1.5s ease-in-out;
}

#Trabaja {
    
    margin-top: 30px;
    margin-bottom: 30px;

}


/*nuestros servicios*/


.services-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.circle-container {
    position: relative;
    margin: 15px;
    width: 250px;
    height: 250px;
    transition: transform 0.5s ease;
    z-index: 20;
}

.circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    border: 18px solid #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 60px;
    font-weight: 700;
    color: #333;
    box-shadow: 
        0 15px 30px rgba(0,0,0,0.19), 
        0 9px 9px rgba(0,0,0,0.23),
        inset 0 0 30px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(.25,.8,.25,1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.circle:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    opacity: 0.7;
}

.circle-content {
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 3px 3px 6px rgba(255, 255, 255, 0.1);
    font-family: BONN;
    transition: opacity 0.3s ease;
}

.circle-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease;
}


.info-card.expanded {
    display: flex;
    justify-content: center;
    opacity: 1;
    transform: translateX(-50%) translateY(30px);
}

.expanded-text {
    font-family: Poppins;
    font-size: 18px;
    text-align: center;
    max-width: 100%;
    margin-bottom: 22px;
}

.expanded-title {
    font-family: Poppins;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2c3e50;
}

.cards-container {
    position: absolute;
    width: 100%;
    height: 200%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    animation: slideCardsVertical 30s linear infinite;
    z-index: 10;
}

.cards-container:hover {
    animation-play-state: paused;
}

.card {
    width: 220px;
    height: 140px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Poppins;
    font-size: 18px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: background 0.3s ease;
}

.card:hover::before {
    background: rgba(52, 152, 219, 0.7);
}

.card-content {
    position: relative;
    z-index: 1;
}

.card:hover {
    transform: scale(1.1);
}

@keyframes slideCardsVertical {
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(-50%);
    }
}




/* Tarjeta contacto*/

@media (max-width: 768px) {
    .contacto-container {
        flex-direction: column; /* Cambia la dirección a columna */
        padding: 30px;
        width: 90%;
    }

    .mapa-container {
        margin-right: 0;
        margin-bottom: 20px; /* Añade espacio debajo del mapa */
        width: 100%; /* Asegura que el mapa ocupe el ancho completo */
        order: 1; /* Mueve el mapa antes del formulario */
    }

    .formulario-contacto {
        margin-left: 0;
        width: 100%; /* Asegura que el formulario ocupe el ancho completo */
        order: 2; /* Mueve el formulario después del mapa */
    }
}


/*footer*/




}
