@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to right, #001F3F, #0077BE);
  color: #f4f4f4;
  line-height: 1.6;
}

.header {
  text-align: center;
  padding: 60px 20px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.header p {
  font-size: 1.1rem;
}

.contact-section {
  padding: 60px 20px;
  background: linear-gradient(to right, #0077be, #00c6ff);
  color: #111;
}

.contact-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #003049;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: #f9f9f9;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

input, textarea {
  width: 100%;
  padding: 14px;
  margin: 12px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
  color: #333;
}

input:focus, textarea:focus {
  border-color: #0077be;
  outline: none;
}

button {
  background-color: #0077be;
  color: white;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
}

button:hover {
  background-color: #005f94;
  transform: translateY(-2px);
}

.ubicacion-section {
  padding: 60px 20px;
  background-color: #e0f7fa;
  color: #004c70;
  text-align: center;
}

.ubicacion-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.ubicacion-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.map-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.map-item {
  width: 100%;
  max-width: 500px;
  background: #ffffff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.map-item h3 {
  margin-bottom: 10px;
  color: #0077be;
}

.footer {
  text-align: center;
  padding: 40px 20px;
  background: #002b45;
  color: #f1f1f1;
  font-size: 0.95rem;
}

.footer a {
  color: #0e7291;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #003f5c;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 5%;
  z-index: 1000;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
}

.logo img {
  height: 35px;
  margin-right: 8px;
}

.logo span {
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.menu {
  display: flex;
  flex-direction: row;
}

.menu ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu li {
  margin-left: 20px;
}

.menu a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.menu a:hover {
  color: #ffd60a;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .menu {
    display: none;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    background: #003f5c;
    flex-direction: column;
    padding: 10px 0;
  }

  #menu-toggle:checked + .hamburger + .menu {
    display: flex;
  }

  .menu ul {
    flex-direction: column;
    width: 100%;
  }

  .menu li {
    text-align: center;
    margin: 10px 0;
  }

  .hamburger {
    display: block;
  }

  .form-container {
    padding: 20px;
  }

  .map-item {
    width: 100%;
  }

  .header h1 {
    font-size: 2rem;
  }

  .header p {
    font-size: 1rem;
  }

  .contact-section h2,
  .ubicacion-section h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .header h1 {
    font-size: 1.6rem;
  }

  .header p {
    font-size: 0.9rem;
  }

  .contact-section h2,
  .ubicacion-section h2 {
    font-size: 1.4rem;
  }

  button {
    font-size: 0.9rem;
    padding: 12px 20px;
  }

  .logo span {
    font-size: 1.2rem;
  }
}
