body {
  margin: 0;
  font-family: "Quicksand", sans-serif;
  color: #34495e;
  background-color: #f4f9f9;
}

h1,
h2,
h3,
h4 {
  color: #2c3e50;
  text-align: center;
}

a {
  text-decoration: none;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: #3498db;
  padding: 10px 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

.nav-links a:hover {
  text-decoration: underline;
}

.auth-buttons {
  padding: 0px 35px;
}

.btn {
  background: #1abc9c;
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  transition: background 0.3s;
}

.btn:hover {
  background: #16a085;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px;
  height: 100vh;
  color: white;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/img/image9.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  z-index: 1;
}

.hero-content h1 {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  color: #e0ffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  font-size: 1.2rem;
  line-height: 1.8;
}

.btn-secondary {
  background-color: #3498db;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.3s, transform 0.3s;
}

.btn-secondary:hover {
  background-color: #1abc9c;
  transform: scale(1.1);
}

/* Development Areas */
.development-areas {
  padding: 50px 20px;
  background: #e8f8f5;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.area {
  text-align: center;
  background: white;
  padding: 20px;
  border-radius: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid #1abc9c;
}

.area img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 10px;
  transition: transform 0.3s;
}

.area img:hover {
  transform: scale(1.1);
}

.area:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.area h3 {
  color: #2c3e50;
  margin: 10px 0;
}

.area p {
  color: #34495e;
  font-size: 0.9rem;
}

.services {
  background: #d6eaf8;
  padding: 50px 20px;
  text-align: center;
}

.services-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.service-card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  margin: 10px;
  border: 2px solid #1abc9c;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card img {
  width: 120px;
  height: 120px;
  margin-bottom: 15px;
  border-radius: 50%;
  transition: transform 0.3s;
}

.service-card img:hover {
  transform: scale(1.1);
}

.service-card h4 {
  color: #2c3e50;
  margin: 10px 0;
}

.service-card p {
  color: #34495e;
  font-size: 0.9rem;
}

/* Contact */
.contact {
  padding: 40px 20px;
  background: #3498db;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.contact a {
  background: #1abc9c;
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
}

.contact a:hover {
  background: #16a085;
}

footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 20px 0;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
}

form input {
  width: calc(100% - 20px);
  max-width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
}

form button {
  width: 100%;
  background: #1abc9c;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background: #16a085;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.notification {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #f44336; /* Rojo más suave */
  color: white;
  padding: 15px;
  display: flex;
  font-size: 18px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  animation: slideDown 0.5s ease-in-out;
}

.notification-content {
  display: flex;
  flex-direction: column;
}

.icon {
  margin-right: 10px;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  padding: 0px 10px;
  font-size: 28px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.close-btn:hover {
  opacity: 0.7;
}

@keyframes slideDown {
  from {
    top: -100px;
  }
  to {
    top: 0;
  }
}

/* Mejoras específicas para el modal de login */
#login-modal {
  display: none; /* Asegura que empiece oculto */
}

.modal-content {
  position: relative;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilo para el botón de cerrar específico del modal */
#close-login-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #2c3e50;
  cursor: pointer;
  transition: color 0.3s;
}

#close-login-modal:hover {
  color: #e74c3c;
}

/* Evitar scroll cuando el modal está abierto */
.body-no-scroll {
  overflow: hidden;
  height: 100%;
}
