/* ====== ESTILOS GENERALES ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  background: #f4f6f9;
  color: #333;
}

/* ====== HEADER ====== */
header {
  background: #0f112b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  position: relative;
  z-index: 1000;
}

.logo-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-header img {
  height: 55px;
}

.logo-header h1 {
  font-size: 1.5rem;
  color: #00c4ff;
}

/* NAV */
nav {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1100;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color .3s;
}

nav ul li a:hover {
  color: #00c3ff;
}

/* SUBMENÚ */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #001a33;
  min-width: 180px;
  display: none;
  flex-direction: column;
  border-radius: 6px;
  padding: 10px 0;
  z-index: 1200;
}

.submenu li a {
  padding: 10px 16px;
}

nav ul li:hover > .submenu {
  display: flex;
}

/* BOTONES */
.nav-buttons {
  display: flex;
  gap: 12px;
}

.btn {
  padding: 8px 15px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-login {
  background: #0095c8;
  color: white;
}

.btn-login:hover {
  background: #007ba3;
}

.btn-register {
  background: #d4a100;
  color: black;
}

.btn-register:hover {
  background: #b78900;
}

.toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

/* ====== HERO ====== */
/* ====== HERO ====== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: #f4f6f9;
}

.hero-center {
  background: #ffffff; /* AHORA BLANCO */
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  color: #333; /* Texto oscuro */
  width: 100%;
  max-width: 450px;
  text-align: center;
}

.hero-center h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #0f112b; /* Título oscuro */
}

.hero-center .slogan {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #555;
}

/* ====== FORMULARIO ====== */
.register-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.input-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.input-group label {
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 0.95rem;
  color: #222;
}

.input-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc; /* borde suave */
  border-radius: 8px;
  outline: none;
  font-size: 1rem;
  background: #fdfdfd;
}

.input-group input:focus {
  border: 2px solid #00c4ff;
  background: #fff;
}

.btn-submit {
  background: #0095c8;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: #0095c8;
}

.form-footer {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #555;
}

.form-footer a {
  color: #00c4ff;
  text-decoration: none;
  font-weight: 600;
}

.form-footer a:hover {
  text-decoration: underline;
}

/* ====== FOOTER ====== */
.footer {
  background:#0a1128;
  color:#fff;
  padding:50px 20px 25px;
  margin-top:40px;
}

.footer-container {
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:40px;
  align-items:flex-start;
}

.footer-logo {
  display:flex;
  flex-direction:column;
  gap:12px;
}

.footer-logo img {
  width:60px;
  filter:brightness(0) invert(1);
}

.footer-logo h3 {
  margin:0;
  font-size:1.3rem;
  color:#fff;
}

.footer-logo p {
  margin:0;
  font-size:0.95rem;
  opacity:0.8;
}

.footer-contact h4,
.footer-admin h4 {
  margin-bottom:12px;
  font-size:1.1rem;
  color:#00c3ff;
}

.footer-contact p {
  margin:6px 0;
  font-size:0.95rem;
}

.footer-contact a {
  color:#000000;
  text-decoration:none;
  font-weight:500;
}

.footer-contact a:hover {
  text-decoration:underline;
}

.btn-whatsapp {
  display:inline-block;
  margin-top:10px;
  background:#25d366;
  color:#fff;
  padding:8px 14px;
  border-radius:8px;
  font-weight:700;
  text-decoration:none;
}

.footer-admin ul {
  list-style:none;
  padding:0;
  margin:0 0 12px 0;
}

.footer-admin li {
  margin-bottom:6px;
  font-size:0.95rem;
}

.phone-box {
  display:inline-block;
  background:#00b4d8;
  color:#fff;
  padding:6px 12px;
  border-radius:8px;
  font-weight:700;
  font-size:0.95rem;
}

.footer hr {
  border:0.5px solid rgba(255,255,255,0.15);
  margin:25px 0;
  width:100%;
}

.footer-bottom {
  text-align:center;
  font-size:0.9rem;
  opacity:0.8;
}

.footer-bottom .highlight {
  color:#f4a300;
  font-weight:700;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #1a1a2e;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 20px;
    border-radius: 8px;
    z-index: 1200;
  }

  nav ul.show {
    display: flex;
  }

  .toggle {
    display: block;
  }

  .hero {
    padding: 50px 20px;
  }

  .hero-center {
    width: 100%;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align:center;
  }

  .footer-logo {
    align-items:center;
  }

  .footer-admin {
    margin-top:20px;
  }
}
/* Botón flotante Crear BDD */
.btn-bdd {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #007bff;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 1000;
}

.btn-bdd:hover {
  background: #0056b3;
  transform: scale(1.05);
}
