/* Main Setting */
:root {
    --primary-color:#15d4cb ;
    --secondary-color: #4e4e55;
    --bg-color: #f7f7f7;
    --ligth-color: #fff;
    --dark-color: #000;
    --gray-color: #292929;

    --header-title-font: Poppins-bold;
    --section-title-font: Poppins-semibold;
    --text-font: Poppins;
    --menu-font: Poppins-bold;
    --banner-subtitle-font: Poppins-light;
    --banner-title-font: Poppins-regular;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--text-font);
}
@font-face {
    font-family: Poppins;
    src: url('/assets/fonts/Poppins-Regular.ttf');
}
@font-face {
    font-family: Poppins-bold;
    src: url('/assets/fonts/Poppins-Bold.ttf');

}
@font-face {
    font-family: Poppins-extrabold;
    src: url('/assets/fonts/Poppins-ExtraBold.ttf');
}

@font-face {
    font-family: Poppins-semibold;
    src: url('/assets/fonts/Poppins-SemiBold.ttf');
}

@font-face {
    font-family: Poppins-light;
    src: url('/assets/fonts/Poppins-Light.ttf');
}

/* Header Section*/

header {
    background-image: url('/assets/images/banner.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    padding: 30px;
}

nav ul li a {
    color: var(--gray-color);
    text-decoration: none;
    font-family: var(--menu-font);
}

nav ul li a:hover {
    color: red;
}

.selected {
    color:var(--primary-color);
}

.header-img {
    margin: 0px 5px;
    margin-top: -150px;
    transform: translateX(100px);
}

.header-img2 {
  margin: 0px 5px;
  max-width: 400px;
  margin-top: 40px;
}

.header-content {
    display: flex;
    justify-content: center;
    margin-top: 4%;
    margin-bottom: 30px;
}

.header-content-text {
    max-width: 500px;
    color: black;
    display: flex;
    flex-direction: column;
    margin-left: 115px;
      
}

.header-content-btns {
    margin-top: 40px;
}

.header-title {
    font-size: 50px;
    font-family: var(--header-title-font);

}

.header-subtitle {
    font-size: 60px;

}

.btn {
    color: black;
    padding: 15px 40px;
    border: 2px solid black;
    text-decoration: none;
    margin: 5px;
}

.btn:hover {
    background-color: red;
    border: 2px solid red;
}

.menu-screen {
  margin-top: -80px;
}

.menu-toggle, .menu-mobile {
  display: none;
}

html {
    scroll-behavior: smooth;
  }

@media(max-width: 800px) {
    .menu-screen {
        display: none;
    }
    .menu-toggle {
      display: block;
      cursor: pointer;
      margin-left: auto;
    }
    .menu-mobile {
      display: none;
      flex-direction: column;
      background-color: #111;
      padding: 10px;
      position: absolute;
      top: 40px; /* o la altura de tu nav */
      right: 10px;
      z-index: 1000;
      border-radius: 10px;
    }
  
    .menu-mobile.show {
      display: flex;
    }
  
    .menu-mobile li {
      margin: 2px 0;
      padding: 2px 6px;
    }
  
    .menu-mobile a {
      color: white;
      text-decoration: none;
    }
  
    .menu-mobile a:hover {
      text-decoration: underline;
    }
    .header-img {
      transform: translateX(-10px);
    }
}

@media(max-width:1300px) {
    .header-content {
        flex-direction: column;
    }
    .header-content-text {
        margin-left: 25px;
    }
    .header-title {
        font-size: 40px;
    
    }
    
    .header-subtitle {
        font-size: 20px;
        
    }
    .header-content-text p {
        font-size: 14px;
    }
    .btn {
        padding: 10px 30px;
    }
    .header-img {
        margin: 50px 10px;
        width: 100%;
        height: 100%;
        max-width: 600px;
    }
}

/*End Header */
  

/* Card Section */

.cards {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 25px;
    padding-bottom: 60px;
    flex-wrap: wrap;
    min-height: 100vh;
}

.card {
    margin: 5px;
    padding: 30px;
    border: 1px solid var(--secondary-color);
    border-radius: 15px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card h5 {
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.card p {
    text-align: center;
}

/* End Cards Section */

/* Products Section */

.products {
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 50px;
}

.section-title {
    align-items: center;
    text-transform: uppercase;
    font-size: 36px;
    font-family: var(--section-title-font);
    border-bottom: 2px solid white;
    margin-bottom: 25px;
}

.products-container {
    background-color: var(--ligth-color);
    width: 1100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 100px;
    margin-bottom: 100px;
}

.product-card {
    width: 200px;
    display: flex;
    flex-direction: column;
    margin: 50px;
}

.product-card a {
    background-color:var(--dark-color);
    color: var(--ligth-color);
    margin-top: 20px;
    padding: 10px;
    width: 100%;
    text-decoration: none;
    text-align: center;
}

.btn-secondary {
        color:var(--primary-color);
        padding: 15px 40px;
        border: 2px solid var(--primary-color);
        padding-bottom: 25px;
        text-decoration: none;
        margin: 5px;
}

@media(max-width: 1100px) {
    .products-container {
        width: 96%;
    }
}

/* End Product Section */

/* Banner Section */

.banner {
    background-color: #0f1c1f;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 70px;
}

.banner-content {
    display: flex;
    justify-content: center;
}

.banner-content-text {
    max-width: 400px;
    color:var(--ligth-color);
    display: flex;
    flex-direction: column;
}

.banner-title {
    font-size: 50px;
    font-family: var(--banner-subtitle-font);
    line-height: 1.1;
    text-align: center;
    

}

.textodeinfo {
  text-align: center;
}

.banner-subtitle {
    font-size: 20px;
    font-family: var(--banner-title-font);
    text-align: center;
    
}

.btn-primary-full {
    color:var(--ligth-color);
    padding: 10px 20px;
    border: none;
    text-decoration: none;
    margin: 110px;
    background-color: var(--secondary-color);
    border-radius: 15px;
}

.btn-primary-full:hover {
    color:var(--gray-color);
    background-color: var(--primary-color);
    border-radius: 15px;
}

@media(max-width:800px) {
    .banner-content {
        flex-direction: column;
    }
}

/* End Banner Section */

/* Offers Section */

#corte {
  font-size: 16px;
  margin-top: 20px;

}

#serigrafia {
  font-size: 16px;
  margin-top: 25px;
}

#inyeccion {
  font-size: 16px;
  margin-top: 8px;
}

.offers {
    background-color: var(--gray-color);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 80px;
    padding-bottom: 400px;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    color: white;
}

.offer-card p {
  text-align: justify;
  margin: 0 520px;
  line-height: 1.6;
}


.offer-card h5 {
    font-size: 30px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
  .offer-card p {
    margin: 0 20px;
    font-size: 16px;
  }

  .volver-btn {
    margin-bottom: 30px;
  }
}

.volver-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #333;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  margin-top: 30px;
}

.volver-btn:hover {
  background-color: #555;
}


/* End Offers Section */

/* Form Section */

.contact {
    width: 100%;
    background-color: #2e302f; /* Fondo gris oscuro */
    padding: 80px 20px;
    border-bottom: 2px solid red; /* Línea blanca que separa del footer */
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 16px;
  }
  
  /* Estilos para el formulario dentro de la sección */
  
  .contact-form {
    width: 100%;
    max-width: 700px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #ffffff;

    /* Aseguramos que el formulario se extienda sin bordes redondeados */

    background-color: transparent;
  }
  
  /* Título del formulario */

  .section-title-white {
    display: inline-block;
    text-transform: uppercase;
    font-size: 28px;
    font-family: var(--section-title-font);
    border-bottom: 2px solid white;
    margin-bottom: 20px;
    padding-bottom: 6px;
    color: #ffffff;
  }

  /* Estilos para las etiquetas */

  .contact-form label {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 5px;
    display: block;
  }
  
  /* Entradas y área de texto */

  .contact-input,
  .contact-textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);

    /* Quitamos el border-radius si lo hubiere para este contenedor */
    border-radius: 0;
    color: #ffffff;
    font-size: 16px;
    transition: 0.3s ease;
    line-height: 16px;
  }
  
  .contact-input::placeholder,
  .contact-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
  }
  
  .contact-textarea {
    height: 80px;
    resize: none;
  }
  
  /* Botón de envío */

  .contact-btn {
    margin-top: 10px;
    padding: 14px 30px;
    font-size: 16px;
    color: #ffffff;
    background-color: var(--secondary-color);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s ease;
    align-self: center;
  }
  
  .contact-btn:hover {
    background-color: transparent;
    color: white;
    border: 2px solid red;
  }
  
  /* Ajustes para dispositivos móviles */

  @media(max-width:800px) {
    .contact-form {
      padding: 40px 25px;
      width: 90%;
    }
  }
  
/* End Form Section*/

/* Footer Section*/

footer {
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.copyright {
    width: 1200px;
    color: black;
    border-top: 2px solid red;
    padding: 10px;
    margin: 10px;
    text-align: center;
}

.footer-logo {
    width: 120px;
    height: auto;
    transition: filter 0.3s ease, opacity 0.3s ease;
    filter: grayscale(0%);
    opacity: 1;
    margin-top: 10px;
}

.footer-logo:hover {
  filter: grayscale(100%);
  opacity: 0.7;
}

.footer-content {
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    margin-top: 24px;
    margin-bottom: 21px;
    justify-content: center;
}

.footer-card {
    width: 270px;
    padding: 36px;
    color: black;
    text-align: center;
}

.footer-card h5 {
    font-size: 18px;
}

.footer-card p {
    font-size: 14px;
    margin-top: 20px;
}

.sub-input {
    border-radius: 10px;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 0;
    font-family: var(--section-title-font);
}

.reg-btn {
    color: var(--ligth-color);
    padding: 6px 24px;
    border: 2px solid var(--primary-color);
    background-color: var(--primary-color);
    text-decoration: none;
    border-radius: 10px;
    margin-top: 10px;
    cursor: pointer;
}

.reg-btn:hover {
    color: var(--primary-color);
    background-color: transparent;
}

.social-icons a {
    color:var(--ligth-color);
    font-size: 24px;
    margin: 12px;
}

.download-btn {
    display: inline-block;
    padding: 10px;
    background-color: var(--secondary-color);
    color: #ffffff;
    border-radius: 15px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 15px;
  }
  
  .download-btn:hover {
    background-color: red;
  }

body {
    margin: 0;
    padding: 0;
    background-color: var(--secondary-color); /* mismo fondo que el footer */
  }
  
footer {
    margin: 0;
    padding: 40px 0 20px;
    background-color: #ccc;
    color: black;
    margin-bottom: 0;
  }

  a[href="#fin-footer"] {
    color: inherit; /* hereda el color del texto normal */
    text-decoration: underline; /* subrayado */
  }
  
  
  

@media(max-width:1200px) {
    .footer-content{
        width: 90%;
    }

    .copyright {
        width: 90%;
    }
}

.map-link {
  color: inherit; /* mantiene el mismo color de texto */
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.map-link:hover {
  color: red;
  text-decoration: none;
}

.email-link {
  color: inherit;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s;
}

.email-link:hover {
  color: red;
}

.whatsapp-link {
  color: inherit;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}

.whatsapp-link:hover {
  color: green;
}






/* End Footer Section*/
  
  /* ========== TOAST NOTIFICATIONS ========== */
  #toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .toast {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease, fadeOut 0.5s ease 2.5s forwards;
  }
  
  .toast.success {
    background-color: #28a745;
  }
  
  .toast.error {
    background-color: #dc3545;
  }
  
  @keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
  }
  
  @keyframes fadeOut {
    to { opacity: 0; transform: translateX(100%); }
  }
  
  .logout-link {
    cursor: pointer;
    text-decoration: none;
    font-family: var(--menu-font);
    color: inherit; /* opcional: hereda color del menú */
  }
  
  .logout-link:hover {
    color: var(--primary-color); /* o el color que uses para hover */
  }
  
.logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo {
  width: 100%;
  max-width: 240px;
  height: auto;
}

/* Ajuste responsivo */
@media (max-width: 800px) {
  .logo {
    max-width: 180px;
  }

  nav {
    padding: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .menu-toggle {
    margin-left: 0;
  }
}

/* Contenedor para la imagen */
.section-image {
  display: block;        /* Asegura que el contenedor de la imagen sea un bloque */
  width: 70%;            /* Limita el ancho al 70% del contenedor */
  max-width: 600px;      /* Limita el tamaño máximo de la imagen (ajústalo a tus necesidades) */
  margin: 20px auto;     /* Centra la imagen horizontalmente */
}

/* Estilo de las imágenes dentro del contenedor */
.section-image img {
  width: 100%;           /* La imagen se ajusta al 100% del contenedor */
  height: auto;          /* Mantiene la proporción original de la imagen */
  object-fit: contain;   /* Asegura que la imagen no se recorte ni se estire */
  border-radius: 8px;    /* Opcional, si quieres bordes redondeados */
}





/* Para dispositivos móviles, asegurarse de que las imágenes se mantengan bien */
@media (max-width: 768px) {
  .section-image img {
    width: 100%;
    height: auto;
  }
}




