/* Estilo General */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #1a1a1a; /* Negro oscuro */
    color: #e0e0e0; /* Gris claro */
}

/* Estilo del encabezado */
/* Estilos generales */
 /* Encabezado */
.lonasycarpas {
    background-color: rgba(255, 255, 255, 0.103); /* ff5100 Fondo naranja */
    color: #faf8f8; /* Texto negro */
    box-shadow: 0 4px 10px rgba(255, 4, 4, 0.5); /* Sombra para destacar */
    width: 100%;
    height: 80px;
}

header{
  height: 45px;
}
header a {
    text-decoration: none;
    color: inherit; /* Mantiene el color de texto */
}

header img {
    height: 70px;
}

header .nav {
    display: flex;
    gap: 20px;
}

header .nav .nav-link {
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

header .nav .nav-link:hover {
    color: #fff; /* Cambia a blanco al pasar el mouse */
}

header .btn {
    border-radius: 5px;
    padding: 8px 15px;
}

/*navbar*/
/* Estilos generales */
.navbar {
    display: flex;
    list-style: none;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px; /* Ajusté el padding para más espacio */
    background-color: rgba(255, 102, 0, 0.8); /* Fondo naranja con un poco de transparencia */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: auto; /* La altura se ajustará al contenido */
}

.navbar a.logo { /* Estilo específico para el logo (si es un enlace) */
    font-size: 1.7em;
    font-weight: bold;
    text-decoration: none;
    color: #f5f5f5;
}
.navbar img.logo-img { /* Estilo para la imagen del logo */
    height: 60px; /* Ajusté la altura de la imagen del logo */
}

.nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0 15px;
}


.volver-atras {
    position: absolute; /* Para poder posicionarla relativamente al contenedor si es necesario */
    top: 20px;
    left: 20px;
}

.volver-atras a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #f8f8f8; /* Color del texto y la flecha */
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.volver-atras a:hover {
    color: #ff8c00; /* Cambia de color al pasar el mouse (naranja vibrante) */
}

.volver-atras svg {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.contact-section {
    position: relative; /* Necesario para posicionar .volver-atras */
    /* Otros estilos que ya tengas para la sección de contacto */
    padding-top: 60px; /* Añade espacio en la parte superior para que no se superponga la flecha */
}

.regreso{
width: 50px;
height: auto;
}
.nav-link {
    color: #f5f5f5; /* Texto blanco para contrastar con el fondo naranja */
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
    font-weight: bold; /* Añadí negrita para destacar */
}

.nav-link:hover {
    color: #ffffff; /* Blanco al pasar el ratón */
}

.nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #ffffff; /* Línea blanca al pasar el ratón */
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
}

.btn {
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    background-color: #ffffff; /* Fondo blanco para el botón */
    color: #ff6600; /* Texto naranja para el botón */
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #f0f0f0; /* Un gris claro al pasar el ratón */
}

.menu-toggle {
    display: none;
    font-size: 1.5em;
    background: none;
    border: none;
    color: #f5f5f5; /* Color del icono del menú */
    cursor: pointer;
}

/* Responsividad */
@media (max-width: 768px) {
    .nav {
        display: none;
        flex-direction: column;
        background-color: rgba(255, 102, 0, 0.9); /* Fondo naranja más oscuro para el menú móvil */
        position: absolute;
        top: 70px; /* Ajustar la posición debajo de la barra */
        right: 0;
        width: 100%;
        padding: 10px;
        text-align: center;
        z-index: 10; /* Asegurar que esté por encima de otros elementos */
    }

    .nav-item {
        margin: 10px 0;
    }

    .nav-link {
        color: #ffffff; /* Texto blanco en el menú móvil */
    }

    .nav-link::before {
        background-color: #ffffff; /* Línea blanca en el menú móvil */
    }

    .menu-toggle {
        display: block;
    }
} 
  
.nav-link:hover {
    color: #000000 !important; /* Color de acento al pasar el ratón */
  }

  .nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #000000; /* Línea de acento al pasar el ratón */
    transition: width 0.3s ease;
  }
  
  .nav-link:hover::before {
    width: 100%;
  }
.btn {
    padding: 5px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
}

.menu-toggle {
    display: none;
    font-size: 1.5em;
    background: none;
    border: none;
    cursor: pointer;
}


/* Diseño de los títulos */
.contact-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff7300;
    margin-bottom: 10px;
}

.contact-section h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #ddd;
}

/* Efecto decorativo: ola debajo */


/* Responsividad: Ajustes para pantallas pequeñas */
@media screen and (max-width: 768px) {
    .contact-section {
        padding: 40px 15px;
    }

    .contact-section h1 {
        font-size: 2rem;
    }

    .contact-section h2 {
        font-size: 1.2rem;
    }

    .navbar-nav {
        text-align: center;
    }
}


/* Estilo general de la sección */
.contact-section {
    position: relative;
    padding: 20px 20px;
    background-color: #ff6600; /* Fondo naranja */
    text-align: center;
    color: #ffffff; /* Texto blanco */
}

/* Estilo del título principal */
.contact-section h1 {
    font-size: 5rem; /* Tamaño grande */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Contorno sombreado */
    margin-bottom: 20px;
}

/* Estilo del subtítulo */
.contact-section h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: #f2f2f2; /* Gris claro para el subtítulo */
}

/* Línea de onda decorativa */
.wave {
    text-align: center;
    border-top: 1px solid #ff450c;
    padding-top: 50px;
    width: 80%;
    padding-left: 50px;
}

.wave {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    background: url('wave.svg'); /* Agrega una imagen de ola decorativa */
    background-size: cover;
}

/* Estilo del carrusel */
.carousel {
    width: 100%;
    display: flex;
    overflow: hidden;
    height: 300px;
    position: relative; /* Añadido para asegurar que los elementos estén correctamente colocados */
    background-color: #000; /* Fondo negro como base */
}

.carousel-item {
    position: absolute; /* Coloca cada elemento en la misma posición */
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    color: #fff; /* Color blanco para el texto */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    opacity: 0; /* Inicialmente invisible */
    animation: slide 12s infinite; /* Cambia cada 12 segundos */
    transition: opacity 3s ease-in-out; /* Suaviza el cambio de opacidad */
}

/* Estableciendo las imágenes y sus tiempos de animación */
.carousel-item:nth-child(1) {
    background-image: url('..//img/Duraflex800.jpg');
    animation-delay: 0s;
}

.carousel-item:nth-child(2) {
    background-image: url('..//img/Fortoflex680.png');
    animation-delay: 2s;
}

.carousel-item:nth-child(3) {
    background-image: url('..//img/Econofle500.png');
    animation-delay: 4s;
}

.carousel-item:nth-child(4) {
    background-image: url('..//img/duraflex.png');
    animation-delay: 6s;
}
 
/* Keyframes optimizados para el ciclo de visibilidad */
@keyframes slide {
    0%, 25% {
        opacity: 1; /* La imagen es visible */
    }
    33.33%, 100% {
        opacity: 0; /* La imagen se oculta */
    }
}

/* Responsividad */
@media (max-width: 768px) {
    .carousel {
        height: 200px; /* Ajuste para pantallas más pequeñas */
    }

    .carousel-item {
        font-size: 1.5rem; /* Texto más pequeño para dispositivos móviles */
    }
}




 

 /* Organizacion de datos de contacto */

 /* Estilos generales */
 
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Contact Section */
.contact-section {
    position: relative;
    background-color: #222; /* Fondo oscuro */
    color: #fff;
    padding: 30px 0;
    overflow: hidden; /* Evita que los triángulos se desborden */
}

.contact-content::before,
.contact-content::after /* Círculo */
/*.contact-section::before::after, /* Rectángulo */
/*.contact-section::after::before*/
{
    content: "";
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}
.contact-section::before,
.contact-section::after
 { /* Estrella */
    content: "";
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

/* Triángulos abstractos */
.contact-section::before {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, transparent 50%, rgba(255, 69, 12, 0.884) 50%); /* Triángulo blanco transparente */
    top: -100px;
    left: -100px;
    transform: rotate(45deg);
}

.contact-section::after {
    width: 300px;
    height: 300px;
    background-image: url('..//image/fotba3.jpg'); /* Reemplaza con tu imagen abstracta */
    background-size: cover;
    bottom: -50px;
    right: -50px;
    transform: rotate(-20deg);
}
.contact-section::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background-image: url('../image/fotba3.jpg'); /* Ruta de la imagen */
    background-size: cover;
    bottom: -50px;
    right: -50px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%); /* Forma de triángulo */
    animation: rotateTriangle 10s linear infinite; /* Animación de rotación */
}

@keyframes rotateTriangle {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.contact-section1 {
    position: relative;
    background-image: url('../image/glir.png'); /* Imagen de fondo fija */
    background-size: cover;
    /* ... (resto de los estilos) ... */
}

.rotating-triangle1 {
    position: absolute;
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: 150px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%); /* Forma de triángulo */
    background-color: rgba(236, 77, 15, 0.733); /* Color de fondo del triángulo */
    animation: rotateTrianglefo 30s linear infinite; /* Animación de rotación */
}

@keyframes rotateTrianglefo {
    0% {
        transform: rotate(50deg);
    }
    100% {
        transform: rotate(360deg);
    }
}







/* Círculo */
.contact-content::before /* Círculo */
{
    width: 200px;
    height: 200px;
    background-image: url('..//image/fotba3.jpg');
    border-radius: 50%;
    background-size: cover;
    top: -100px;
    right: 550px;
}

/* Rectángulo */
.contact-content::after {
    width: 250px;
    height: 150px;
    background-color: rgba(12, 255, 243, 0.979);
    bottom: 50px;
    left: 50px;
    transform: rotate(10deg);
}

/* Estrella */
.contact-section::after::before {
    width: 100px;
    height: 100px;
    background-color: rgb(255, 23, 23);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    top: 100px;
    right: 100px;
}

.contact-content {
    position: relative;
    z-index: 1; /* Asegura que el contenido esté sobre las formas abstractas */
}

.section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #fff;
}

.contact-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

}

.contact-item {
    text-align: center;
    margin: 20px;
    flex: 1;
    min-width: 200px;
    -webkit-box-shadow: 14px 10px 18px 1px rgba(0,0,0,0.52);
-moz-box-shadow: 14px 10px 18px 1px rgba(0,0,0,0.52);
box-shadow: 14px 10px 18px 1px rgba(0,0,0,0.52);
border-radius: 20px;
}

.contact-icon {
    max-width: 60px;
    height: auto;
    margin-bottom: 10px;
    padding-top: 20px;
    border-radius: 10px;
}

.contact-link {
    color: #ff9800; /* Naranja */
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #e68a00; /* Naranja más oscuro */
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-section::before,
    .contact-section::after {
        width: 200px;
        height: 200px;
    }
}
 /*end contacto */

/** elegante *******/

/* Fondo empresarial elegante */
.elegant-background {
    position: relative;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to bottom, #1a1a1a, #2e2e2e); /* Gradiente negro a gris oscuro */
    overflow: hidden;
}

/* Triángulos abstractos */
.elegant-background::before,
.elegant-background::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    opacity: 0.5; /* Transparencia */
    z-index: 1;
}

/* Primer triángulo */
.elegant-background::before {
    border-width: 150px 200px 0 0;
    border-color: rgba(255, 255, 255, 0.5) transparent transparent transparent;
    top: 20%;
    left: 10%;
}

/* Segundo triángulo */
.elegant-background::after {
    border-width: 0 250px 200px 0;
    border-color: transparent transparent rgba(255, 255, 255, 0.5) transparent;
    bottom: 15%;
    right: 15%;
}

/* Organización de los datos de contacto */
.company-data {
    position: relative;
    z-index: 2;
    background: rgba(255, 19, 19, 0.8); /* Fondo semi-transparente */
    color: #e0e0e0; /* Gris claro */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin: auto;
}

.company-data p, .company-data a {
    color: #ff6600; /* Naranja distintivo */
    font-size: 1rem;
    text-decoration: none;
}

.company-data a:hover {
    color: #e0e0e0; /* Gris claro */
    text-decoration: underline;
}

/* Responsividad */
@media (max-width: 768px) {
    .elegant-background {
        padding: 10px;
    }

    .company-data p, .company-data a {
        font-size: 0.9rem;
    }

    .elegant-background::before {
        border-width: 100px 150px 0 0;
    }

    .elegant-background::after {
        border-width: 0 200px 150px 0;
    }
}



/**fotter*/



footer {
    background-color: #222;
    
    color: #fff;
    padding: 60px 0;
    width: 100%; /* Añadido para ocupar el ancho total */
    box-sizing: border-box; /* Para incluir el padding y el border en el ancho total */
    background-image: url('..//image/union.jpg  ');
    
    background-repeat: repeat-y; 






    height: 80vh; 
	background-size: cover; 
	background-position: right;
	transform: scale(1.0); 
  background-position: center;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 40px;
    width: 100%; /* Añadido para ocupar el ancho total del footer */
    max-width: 1000px; /* Opcional: Limita el ancho máximo del contenido */
    margin-left: auto;
     
    margin-right: auto;
  }
  
  .footer-section {
    flex: 1 1 250px;
    margin-bottom: 30px;
  }
  
  .footer-title {
    color: #ff9900;
    margin-bottom: 20px;
  }
  
  .footer-section p,
  .footer-section ul {
    line-height: 1.8;
  }
  
  .footer-section ul li {
    list-style: none;
    margin-bottom: 10px;
  }
  
  .footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-section a:hover {
    color: #ff9900;
  }
  
  .social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    margin-right: 10px;
    transition: background-color 0.3s ease;
  }
  
  .social-links a:hover {
    background-color: #ff9900;
  }
  
  .footer-bottom {
    text-align: center;
    border-top: 1px solid #ff450c;
    padding-top: 20px;
  }
  