/* assets/css/style.css */

/* Variables de color */
:root {
  --bg-dark:      #001f3f;
  --bg-darker:    #001a35;
  --card-bg:      rgba(0, 31, 63, 0.95);
  --accent:       #F47920;
  --accent-dark:  #d66518;
  --text-light:   #ecf0f1;
  --text-bright:  #ffffff;
  --border-gray:  #234567;
  --input-bg:     #0b1d3a;
}

/* Reset básico */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Layout global */
html, body {
  height: 100%;
  background: var(--bg-dark);
  color: var(--text-bright);
  font-family: 'Open Sans', sans-serif;
  line-height: 1.4;
}

/* Header */
.header {
  background: var(--bg-darker);
  padding: 1.5rem 1rem;
  text-align: center;
}
.header h1 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-bright);
}

/* Contenedor principal */
.container {
  max-width: 600px;
  margin: -1.5rem auto 2rem;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Aviso de construcción */
.notice-construction {
  background: var(--accent);
  color: var(--text-bright);
  padding: 1rem;
  border-radius: 4px;
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Mensajes de resultado */
.message {
  padding: 0.9rem 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  font-size: 0.95rem;
}
.success {
  background: rgba(46,204,113,0.15);
  border-left: 4px solid #2ecc71;
  color: #2f5930;
}
.error {
  background: rgba(231,76,60,0.15);
  border-left: 4px solid #e74c3c;
  color: #7f1d1d;
}

/* Formulario */
form {
  display: grid;
  gap: 1.2rem;
}
label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
}
input,
textarea {
  width: 100%;
  padding: 0.75rem 0.8rem;
  font-size: 1rem;
  color: var(--text-bright);
  background: var(--input-bg);
  border: 1px solid var(--border-gray);
  border-radius: 4px;
  transition: border-color .2s;
}
input:focus,
textarea:focus {
  border-color: var(--accent);
  outline: none;
}
input::placeholder,
textarea::placeholder {
  color: #7f8c8d;
}
button {
  width: 100%;
  padding: 0.9rem;
  background: var(--accent);
  color: var(--text-bright);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s;
}
button:hover {
  background: var(--accent-dark);
}

/* Redes sociales */
.social {
  margin-top: 2rem;
  text-align: center;
}
.social p {
  margin-bottom: 0.6rem;
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 600;
}
.social a {
  margin: 0 0.4rem;
  font-size: 1.5rem;
  color: var(--text-light);
  transition: color .2s;
}
.social a:hover {
  color: var(--accent);
}

/* Responsividad */
@media (max-width: 640px) {
  .header h1 {
    font-size: 1.5rem;
  }
  .container {
    margin: -1.5rem 1rem 2rem;
    padding: 1.5rem;
  }
  button {
    font-size: 0.95rem;
  }
}

/* ===== Hero “En construcción” ===== */
.hero {
  position: relative;
  height: 100vh;
  background: url('/assets/img/bg-construction.jpg') center/cover no-repeat; /* Pon tu imagen aquí */
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 31, 63, 0.85);
  z-index: 0;
}
.hero .overlay {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 500px;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 8px;
}
.hero h1 {
  font-size: 2.5rem;
  color: var(--text-bright);
  margin-bottom: 0.3rem;
  letter-spacing: 0.05em;
}
.hero p.sub {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
.progress-container {
  margin: 0 auto 1.5rem;
  width: 100%;
  max-width: 300px;
}
.progress {
  background: var(--input-bg);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}
.progress-bar {
  background: var(--accent);
  width: 50%; /* puedes animar hasta 100% */
  height: 100%;
  transition: width 0.5s ease;
}
.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.3rem;
}

/* Integramos el formulario dentro del hero */
.hero form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.hero form input,
.hero form textarea {
  background: var(--input-bg);
  border: 1px solid var(--border-gray);
  border-radius: 4px;
  color: var(--text-bright);
}
.hero form button {
  margin-top: 0.5rem;
}

/* Reposicionamos las redes un poco más abajo */
.hero .social {
  margin-top: 2rem;
}
