/* Custom styles to override Bootstrap and maintain theme */
body {
  font-family: 'Inter', sans-serif;
  background-color: #f7f9fb;
  line-height: 1.6;
}

header {
  background: linear-gradient(to right, #00A878, #4AB8A0, #007f66);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .btn-light {
  color: #00A878;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

header .btn-light:hover {
  transform: scale(1.05);
  background-color: #e0e0e0;
}

header .btn-outline-light:hover {
  background-color: rgba(255,255,255,0.1);
}

section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.5s ease forwards;
}

section h2 {
  color: #00A878;
  font-weight: 600;
}

.map-section {
  background: #e9eff2;
}

.map-container {
  width: 100%;
  height: 60vh;
  max-height: 600px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.map-container::before {
  content: 'Cargando mapa...';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #555;
  font-size: 1em;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.cta {
  background: #00A878;
}

.cta .btn-light {
  color: #00A878;
  transition: transform 0.2s ease;
}

.cta .btn-light:hover {
  transform: scale(1.05);
  background-color: #e0e0e0;
}

#equipo .card-img-top:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.fieldwork-img {
  max-width: 700px;
}

@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .map-container {
    height: 400px;
  }
  #equipo .card-img-top {
    width: 120px;
    height: 120px;
  }
}
/* Thermometer chart container */
.thermometer-container {
  position: relative;
  width: 100%;
  height: 400px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .thermometer-container {
    height: 300px;
  }
}
