body, html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  height: 100%; 
  background: url("../imgs/f2.jpg") no-repeat center center fixed;
  background-size: cover;
}

.header-logos {
  display: flex;
  justify-content: space-between; 
  align-items: center;           
  padding: 20px 30px;             
  background-color: #ffffff;
  box-shadow: 0 4px 6px rgba(206, 0, 0, 0.3); 
}


.header-logos .logos {
  display: flex;
  gap: 30px;
}

.logo {
  height: 80px;
}



.header-logos .titulos {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.header-logos .titulos h1 {
  margin: 3px 0;
  font-size: 28px;
  color: #0c2a52;
}


.navbar {
  display: flex;
  justify-content: center; 
  gap: 110px; 
  background-color: #0c2a52e0; 
  padding: 25px 30px;
  align-items: center;
  box-shadow: 
    0 4px 0 0 #ffffff,
    0 8px 0 0 #d52b1e, 
    0 12px 0 0 #ffffff; 
}


.navbar a {
  color: rgb(253, 253, 253);
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  line-height: 1.5;
  white-space: nowrap; 
}


.navbar-select {
  color: rgb(255, 255, 255);
  font-weight: bold;
  background-color: transparent;
  border: none;
  padding: 6px 10px;
  font-size: 16px;
  cursor: pointer;
  height: auto;
  appearance: none;     
  outline: none; 
  min-width: 130px;        
  max-width: 150px;        
  text-align: center;     
  vertical-align: middle;
}


.navbar-select option {
  background-color: #0c2a52e0;   
  color: rgb(255, 255, 255);    
  font-weight: bold;
  padding: 8px 12px;
  line-height: 1.5;
  text-align: left;  
}


.map-container {
  width: 100%;
  max-width: 1400px;  
  min-height: 700px;  
  margin: 30px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgb(0, 0, 0);
  background-color: #0c2a52e0;
  text-align: center;
}


.map-container h2 {
  margin: 0 0 15px 0;
  font-size: 30px;
  font-weight: bold;
  color: rgb(255, 255, 255);
}


.mapaamenazas {
  width: 90%;
  height: 700px;       
  object-fit: cover;   
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.survey-container {
  display: flex;
  justify-content: center; 
  margin: 80px auto;
  gap: 80px; 
  max-width: 2200px; 
  flex-wrap: wrap; 
}

.survey-right {
  flex: 1 1 400px; 
  max-width: 1000px; 
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  background-color: rgba(12, 42, 82, 0.9); 
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.survey-left {
  flex: 1 1 400px; 
  max-width: 1000px; 
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  background-color: rgba(12, 42, 82, 0.9); 
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  }

.survey-right:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgb(0, 0, 0);
}

.survey-left:hover {
  transform: scale(1.02); 
  box-shadow: 0 10px 25px rgb(0, 0, 0);
}

.survey-left h2, .survey-right h2 {
  color: white;
  font-weight: bold;
  margin-bottom: 15px;
}
.survey-img {
  width: 100%;        
  max-width: 850px;  
  height: auto;    
  border-radius: 10px;
  display: block;
  margin: 0 auto;     
}

.survey-extra-img {
  width: 100%;        
  max-width: 850px;
  height: auto;
  border-radius: 8px;
  margin: 15px auto 0 auto; 
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
  display: block;
}

.map-container:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgb(0, 0, 0);
}

.mapaextra {
  max-height: 200px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.training-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background-color: rgba(12, 42, 82, 0.9);
  padding: 20px 20px;      
  width: 90%;               
  max-width: 1600px;        
  margin: 0 auto;
  border-radius: 12px;
}

.training-container h2 {
  color: white;
  font-size: 30px;       
  text-align: center;
  margin-bottom: 20px;
}

.training-container:hover {
  transform: scale(1.02); 
  box-shadow: 0 10px 25px rgb(0, 0, 0);
}

.training-row {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 25px;   
}

.training-img-container {
  width: 100%;              
  max-width: 1200px;       
  height: 650px;           
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
}

.training-img-container2024 {
  width: 100%;              
  max-width: 1500px;       
  height: 1150px;           
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
}

.training-img {
  width: 800%;
  height: 100%;
  object-fit: cover;       
  display: block;
}

.training-img-container:hover {
  transform: scale(1.02); 
  box-shadow: 0 10px 25px rgb(0, 0, 0);
}


.footer {
  background: #0c2a52e0;
  color: #fff;
  padding: 60px 20px 25px;
  font-family: 'Lato', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 150px; 
  max-width: 1800px;
  margin: auto;
}

.footer-col h3 {
  margin-bottom: 18px;
  font-size: 20px;
  color: #ddd;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  color: #ddd;
  margin-bottom: 10px;
}

.footer-col a {
  color: #ddd;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: #aaa;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
}

/* Responsive */
@media (max-width: 950px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
}



.ocean-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background-color: rgba(12, 42, 82, 0.9); 
  padding: 50px 20px;
  width: 90%;
  max-width: 2400px; 
  margin: 0 auto;
  border-radius: 12px;
}

.ocean-title {
  color: white;
  text-align: center;
  margin-bottom: 25px;
  font-size: 32px;
  width: 85%;
}

.ocean-iframe-wrapper {
  width: 100%;
  height: 90vh; 
  overflow: hidden;
  position: relative;
  border-radius: 10px;
}

.ocean-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}



@media (max-width: 1024px) {
   
    .navbar {
        gap: 50px;
        padding: 12px 15px;
        flex-wrap: wrap; 
    }


    .navbar-select {
        min-width: 100px;
        max-width: 130px;
        font-size: 14px;
        padding: 5px 8px;
    }


    .header-logos {
        flex-direction: column;
        align-items: center;
        padding: 10px 15px;
        gap: 10px;
    }

    .header-logos .logos {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-logos .titulos h1 {
        font-size: 22px;
    }


    .map-container {
        width: 95%;
        min-height: 500px;
        padding: 10px;
    }

    .mapaamenazas {
        max-height: 400px;
    }

    .mapaextra {
        max-height: 150px;
    }
}

@media (max-width: 600px) {
 
    .navbar {
        flex-direction: column;
        gap: 20px;
    }


    .header-logos .titulos h1 {
        font-size: 18px;
    }


    .logo {
        height: 40px;
    }

    
    .map-container {
        min-height: 400px;
        padding: 8px;
    }

    .mapaamenazas {
        max-height: 300px;
    }

    .mapaextra {
        max-height: 120px;
    }
}
