/* Reset básico para eliminar márgenes, rellenos y estilos predeterminados */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}


/* APARTADO DEL MENU */
/*/////////////////////////////////////////////////////////////////////////////////*/
/* NAVBAR TRANSPARENTE SOLO EN DESKTOP */
@media (min-width: 992px) {
    .navbar {
        background-color: transparent !important;
    }
    .navbar-brand,
    #hamburgerIcon {
        color: #f4ac1c !important;
    }
    .sub_titulo {
        padding-top: 229px !important;
      }


.titulo2{
    display: none;
}
#subTitulo{

  width: 400px;
  
}
}

/* NAVBAR CON COLOR EN MÓVIL */
@media (max-width: 991.98px) {
    .navbar {
        background-color: #b93434 !important;
    }
    .portada{
        margin-top: 20.2px;
    }

    #container-portada{
        height: 700px !important;
      }

      .sub_titulo {
        padding-top: 40px !important;
       
      }
      #subTitulo{
        width: 400px;
        
      }

.titulo2{
    display: none;
}
#comercio-img{
  width: 500px !important;
}


      
}
@media (max-width: 480px) {

    #container-portada{
        height: 340px !important;
      }

    #portada-1{
        min-height: 35vh!important;
       

    }
  .display-3{
        font-size: 30px !important;
    }

    #caja_lineas{
        width: 290px !important;
    }

    .titulo1{
        display: none !important;
    }
    
    #contenedor-2{
    padding-top: 325px !important;
}

.titulo2{
    display:inline;
}
#subTitulo{
  width: 290px;
  
}
#form-1{
  margin-right: 0 !important;
}


    }


/* //////////////////////////////////////////////////////////////////////////*/
/* LOGO */
.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    margin-left: 20px;
    z-index: 1100;
    position: relative;
    text-shadow: 1px 1px 0 #0000004d, -1px -1px 0 #0000005b !important;
    
}

/* BOTÓN HAMBURGUESA VISIBLE SIEMPRE */
.navbar-toggler {
    display: flex !important;
    border: none;
    background: transparent !important;
    margin-right: 20px;
    padding: 0.25rem;
    z-index: 1100;
    position: relative;
}

/* ÍCONO HAMBURGUESA/X */
#hamburgerIcon {
    font-size: 1.8rem;
    transition: all 0.3s ease;
    color: #f4ac1c !important;
}

/* MENÚ QUE OCUPA TODA LA PANTALLA */
.navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80vh;
    background-color:  #b93434;
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
    padding: 80px 20px 20px;
    overflow-y: auto;
}

.navbar-collapse.show {
    transform: translateX(0);
}

/* BOTÓN CERRAR (X) DENTRO DEL MENÚ */
.close-menu-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    color: #333;
    background: none;
    border: none;
    z-index: 1100;
}

/* ITEMS DEL MENÚ */

.navbar-nav {
    display: block;
    padding: 0;
    margin-top: 30px;
}

.nav-item {
    margin: 20px 0;
    padding: 30px;
    
    
}
.num{
    font-size: 3rem;
  
}

.nav-link {
    color: #f4ac1c !important;
    font-size: 2.3rem;
    padding: 10px 0;
  /*  border-bottom: 1px solid #eee;*/
    display: block;
}
.nav-link :hover{
    color: #fff;
}

/* OVERLAY OSCURO */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1040;
    display: none;
}

/* EVITAR SCROLL CUANDO EL MENÚ ESTÁ ABIERTO */
body.menu-open {
    overflow: hidden;
}
/* APARTADO DEL HOAME 


.container-fluid{
  /*position: absolute;
}*/

#container-portada{
    height: 900px;
    background-image: url(/assets/img/buque-.webp);
    background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
   }
/*logo*/
.logo{
    width: 90px;
}


   /*titulo*/
   .titulo1{
    color: #f4ac1c;
    text-shadow: -2px -1px 0#745312a1 !important;
   }

/*subtitulo*/
#subTitulo{
    color: #b93434;
    font-weight: 700;
    background-color: #c4bfb4cf;
    border-radius: 6px;
  

    margin: 0 auto;
    
   
}
.sub_titulo{
padding-top: 300px;

}


   /* lineas*/
  .linea1{
    height: 7px; background-color: #b93434; width: 200px; 
}
.linea2{
    height: 7px; background-color:#f4ac1c; width: 200px; 
}
   .lineas{
    display: flex;
    flex-direction: column;
    align-items: center;
   }

   #caja_lineas{
   width: 500px;
   
   }
   @media  (max-width:420px){
    .linea1{
        height: 7px; background-color: #b93434; width: 70px; 
   flex-direction: initial;
    }
    .linea2{
        height: 7px; background-color:#f4ac1c; width: 70px; 
        flex-direction: initial;
    }
    #comercio-img{
      width: 358px !important;
    }
   }


   /*articulos o sectiones con imagen
   .portada{
   
   }
.articulos{
    background-color: #ffffff;
    
    width: 100%;
    height: 400px;
    display: block;
}
   .art-img-1{

    width: 300px;
   }*/
   .contenedor-texto {
    font-family: 'Times New Roman', serif;
    line-height: 1.8;
    text-align: justify;
    
}

/* Contenedor de imágenes fijo */
.contenedor-imagen-fija {
    width: 100%;
    height: 400px; /* Altura fija igual para ambas */
    overflow: hidden;
}

/* Imágenes adaptativas */
.imagen-adaptativa {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Desktop: 60% texto | 40% imagen */
@media (min-width: 992px) {
    .col-lg-texto {
        width: 60%;
        flex: 0 0 60%;
        padding-right: 3rem;
    }
    .col-lg-imagen {
        width: 40%;
        flex: 0 0 40%;
    }
    
    /* Sección 1: Imagen derecha pegada */
    .seccion-1 .contenedor-imagen-fija {
        padding-left: 0;
    }
    
    /* Sección 2: Imagen izquierda pegada */
    .seccion-2 .contenedor-imagen-fija {
        padding-right: 0;
    }
}

/* Móvil: 100% ambos */
@media (max-width: 991px) {
    .contenedor-imagen-fija {
        height: 300px;
        margin: 2rem 0;
        
    }
}

/*secciones*/#s1-2 {
            padding-top: 10rem !important;
            padding-bottom: 10rem !important;
            padding-left: 7rem;
            padding-right: 7rem;
        }
        
        /* Efecto de aparición para todos los elementos */
        .reveal-animation {
           /* opacity: 0;*/
            transform: translateY(30px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }
        
        /* Retrasos escalonados */
        .reveal-animation.delay-1 { transition-delay: 0.2s; }
        .reveal-animation.delay-2 { transition-delay: 0.4s; }
        
        /* Estado final */
        .reveal-visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Sección 1 - Textos */
        #titulo-1 {
            font-family: 'Kanit';
            color: #b93434;
            font-size: 25px;
        }
        
        #texto_1 {
            text-indent: 0rem;
            font-size: clamp(1rem, 1.2vw + 1.3rem, 21px);
        }
        
        /* Sección 2 */
        .seccion-2 {
            background-color: #3b3849;
        }
        
        #sec-texto2 {
            font-family: 'Kanit';
            color: #f4ac1c;
            font-size: clamp(1rem, 1.2vw + 1.3rem, 100px);
            line-height: 1.8;
            text-align: left;
            text-indent: 0rem;
            font-weight: 500;
        }
        
        /* Imágenes */
        .contenedor-imagen-fija {
            height: 400px;
            overflow: hidden;
        }
        
        .imagen-adaptativa {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    #home-img
{
    border-radius: 9px;
}
        
        /* Responsive */
        @media (max-width: 992px) {
            #s1-2 {
                padding-left: 2rem !important;
                padding-right: 2rem !important;
            }
            
            .contenedor-imagen-fija {
                height: 300px;
            }
        }
   /*footer*/
   .page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ocupa al menos toda la altura de la ventana */
  }
  
  /* Estilos específicos para el footer */
  .ifoc-footer {
    font-family: Arial, sans-serif;
    background-color: #222;
    color: #f4ac1c;
    padding: 20px 0;
    border-top: 1px solid #444;
    margin-top: auto; /* Esto empuja el footer hacia abajo */
  }
  
  .ifoc-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .ifoc-contact-info {
    margin-bottom: 20px;
  }
  
  .ifoc-contact-info h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #f4ac1c;
  }
  
  .ifoc-contact-info p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.5;
  }
  
  .ifoc-contact-info a {
    color: #f4ac1c;
    text-decoration: none;
  }
  
  .ifoc-contact-info a:hover {
    text-decoration: underline;
    color: #ffc845;
  }
  
  .ifoc-footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 12px;
    color: #f4ac1c;
  }

   /*SOLUCIONES */

       /* Animaciones personalizadas */
       [data-animation] {
        opacity: 0;
        transition: all 1s ease-out;
    }
    [data-animation="fade-in"] {
        transform: translateY(30px);
    }
    [data-animation].animated {
        opacity: 1;
        transform: translateY(0);
    }
    .section-divider {
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
        margin: 4rem 0;
    }
    .img-scale {
        transition: transform 0.7s;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    .img-scale:hover {
        transform: scale(1.02);
    }


    #que-hacemos{
        background-image: url(/assets/img/img-21.webp);
        background-position: center;
        background-size: cover;
        
    }

    #hero{
        background-color:#605e5ad5;
        padding: 30px;
        border-radius: 5px;
        margin-top:50px ;
    }

    .bg-white{
        background-color: #b93434a8 !important;
    }

    .p-4{
        color: #fff;
    }


    .mb-4{
        color:#f4ac1c;
        font-weight: 500;
    }

    #comercio{
        background-color: #3b3849;
        text-align: justify;
    }

    #comercio-img{
        width:600px;
        border-radius: 7px;
       
    }


    #operaciones{
        background-color: #ffffff !important;
        text-align: justify;
    }


    #riesgos{
        background-color: #3b3849;
        text-align: justify;
    }


    #titulo-op{
        color: #b93434 !important;
    }

    #texto-op{
        color: #b93434a8 !important;
    }


    /*MISION VISISON*/

    .ifoc-vision-mision {
        background-color:  #212529;
        color: white;
        position: relative;
      }
      
      .ifoc-wave-divider {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        overflow: hidden;
        line-height: 0;
      }
      
      .ifoc-wave-divider svg {
        position: relative;
        display: block;
        width: calc(100% + 1.3px);
        height: 150px;
        transform: rotateY(180deg);
      }
      
      .ifoc-wave-divider path {
        fill: #F5F7FA;
      }
      
      .ifoc-divider {
        width: 100px;
        height: 3px;
        background: #D4AF37;
      }
      
      .ifoc-mision-section {
        background-image: url(/assets/img/img-20.webp);
        color: #333;
        background-position: center;
        background-size: cover;
      }
      
      .ifoc-icon-wrapper {
        width: 80px;
        height: 80px;
        margin: 0 auto -40px;
        background: #D4AF37;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 2rem;
        position: relative;
        z-index: 1;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
      }
      
      .ifoc-card {
        background: white;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        transition: all 0.3s ease;
        border: none;
      }
      
      .ifoc-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
      }
      
      .ifoc-card-header {
        background: #b93434;
        color: white;
        padding: 1.5rem;
        text-align: center;
      }
      
      .ifoc-card-header i {
        color: #D4AF37;
      }
      
      .ifoc-card-body {
        padding: 1.5rem;
        text-align: justify;
      }
      
      /* Animaciones */
      [data-aos] {
        transition: all 0.8s ease;
      }
      
      [data-aos="fade-up"] {
        transform: translateY(30px);
        opacity: 0;
      }
      
      [data-aos].aos-animate {
        transform: translateY(0);
        opacity: 1;
      }
      #titulo-principal{
        color: #ffffff !important;
      }
#text-mv{
  color: #ffffff !important;
  font-weight: 500  !important;
  font-size: 1.25rem  !important;
}
      /*contactanos*/

       /* Estilos para la sección de contacto */
  .ifoc-contact-section {
    background-color: #212529;
    padding: 5rem 0;
  }
  #text-center-contac{
    color: #f4ac1c;
    padding-top: 7rem;
  }
  .ifoc-contact-form {
    background: #b93434;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  }
  
  .ifoc-contact-form .form-control,
  .ifoc-contact-form .form-select {
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
  }
  
  .ifoc-contact-form .input-group-text {
    background-color: #f4ac1c;
    color: white;
    border: none;
  }
  
  .ifoc-contact-form .btn-primary {
    background-color: #f4ac1c;
    border: none;
    padding: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  
  .ifoc-contact-form .btn-primary:hover {
    background-color: #001a4d;
    transform: translateY(-2px);
  }
  
  .ifoc-contact-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .ifoc-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background:#3b3849;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
  }
  
  .ifoc-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  
  .ifoc-contact-icon {
    width: 50px;
    height: 50px;
    background: #b93434;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
  }
  
  .ifoc-social-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .ifoc-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #D4AF37;
    color: #b93434;
    border-radius: 50%;
    margin-right: 0.75rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
  }
  
  .ifoc-social-icon:hover {
    background: #f4ac1c;
    transform: translateY(-3px);
  }
  
  /* Animaciones */
  [data-aos] {
    transition: all 0.8s ease;
  }
  
  [data-aos="fade-right"] {
    transform: translateX(-30px);
    opacity: 0;
  }
  
  [data-aos="fade-left"] {
    transform: translateX(30px);
    opacity: 0;
  }
  
  [data-aos].aos-animate {
    transform: translateX(0);
    opacity: 1;
  }

  .horario{
    color: #f4ac1c;
  }

  /*mantenimiento*/
  .ifoc-maintenance-section {
    background: linear-gradient(135deg, #002366 0%, #004080 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
  }
  
  .ifoc-maintenance-icon {
    font-size: 5rem;
    color: #D4AF37;
    animation: pulse 2s infinite;
  }
  
  .ifoc-divider {
    width: 100px;
    height: 3px;
    background: #D4AF37;
    margin: 1.5rem auto;
  }
  
  .ifoc-countdown {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .ifoc-countdown-item {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1rem;
    min-width: 80px;
  }
  
  .ifoc-countdown-item span {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    color: #D4AF37;
  }
  
  .ifoc-countdown-item small {
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.8;
  }
  
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }
  
  /* Efecto partículas (opcional) */
  #ifoc-particles-js {
    z-index: 0;
  }
  
  .ifoc-maintenance-section > .container {
    position: relative;
    z-index: 1;
  }


  /* ===== BOTONES DE IDIOMA ===== */
  


  .translate-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #e3e3e3;
    border: 1px solid rgba(227, 227, 227, 0.3);
    border-radius: 20px;
    padding: 8px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
    backdrop-filter: blur(5px);
    margin-right: 18px;
  }
  
  .translate-btn-desktop {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.7), rgba(74, 100, 145, 0.7));
  }
  
  .translate-btn-mobile {
    padding: 8px 12px;
    margin-right: 10px; /* Espacio extra en móvil */
  }
  
  .translate-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  .translate-icon {
    margin-right: 6px;
    font-size: 16px;
    transition: transform 0.3s ease;
  }
  
  .translate-btn:hover .translate-icon {
    transform: rotate(15deg);
  }
  
  @keyframes translateClick {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
  }
  
  .translate-click {
    animation: translateClick 0.3s ease;
  }
  
  /* Responsive adjustments */
  @media (max-width: 991px) {
    .translate-container {
      margin-right: 8px;
    }
    
    .translate-btn-mobile {
      padding: 6px 10px;
      margin-right: 18px;
    }
  }   


  #boton-tra{
display: flex;
flex-direction:row ;


  }


  @media (max-width: 992px) {
    .translate-btn-desktop{
      display:none !important;
    }

    .translate-btn-mobile{
display: flex !important;
    }
  }