/* =====================================================
   VisEdui.org - Estilos principales
   Profesional, elegante y adaptable
   Autor: ChatGPT para Elba González
===================================================== */

:root {
  --azul: #003366;
  --verde: #00b894;
  --gris-claro: #f8f9fa;
  --gris-oscuro: #2f3640;
  --blanco: #ffffff;
  --fuente: 'Poppins', Arial, sans-serif;
}

/* Reset general */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--fuente);
  color: var(--gris-oscuro);
  background-color: var(--blanco);
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Contenedores */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* -------------------- HEADER -------------------- */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo {
  height: 60px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav a {
  margin-left: 25px;
  text-decoration: none;
  color: var(--azul);
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--verde);
}

/* -------------------- HERO -------------------- */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 51, 102, 0.6);
  z-index: 2;
}

.hero-text {
  position: relative;
  z-index: 3;
  color: var(--blanco);
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  animation: fadeIn 2s ease-in-out;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  background: var(--verde);
  color: var(--blanco);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #009970;
  transform: translateY(-3px);
}

/* Animación */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* -------------------- SECCIONES -------------------- */
.section {
  padding: 100px 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about-img {
  width: 45%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.about-text {
  flex: 1;
}

.about-text h2 {
  color: var(--verde);
  margin-bottom: 20px;
  font-size: 2rem;
}

.about-text p {
  font-size: 1.1rem;
  text-align: justify;
}

/* -------------------- FORMULARIO -------------------- */
.form-section {
  background: var(--gris-claro);
  text-align: center;
}

.form-section h2 {
  color: var(--azul);
  margin-bottom: 15px;
}

.form-section p {
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--gris-oscuro);
}

form {
  max-width: 700px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group label {
  font-weight: 600;
  text-align: left;
  display: block;
  margin-bottom: 5px;
  color: var(--azul);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
}

.ai-suggestions {
  display: none;
  background: var(--blanco);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
}

.form-message {
  color: var(--verde);
  font-weight: 600;
  margin-top: 10px;
}

/* -------------------- FOOTER -------------------- */
.footer {
  background: var(--azul);
  color: var(--blanco);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo img {
  height: 70px;
  margin-bottom: 10px;
}

.footer-socials a img {
  width: 30px;
  margin: 0 10px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-socials a img:hover {
  transform: scale(1.1);
  filter: invert(56%) sepia(91%) saturate(366%) hue-rotate(110deg);
}

.footer-contact a {
  color: var(--verde);
  text-decoration: none;
  font-weight: 500;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
  }
  .about-img {
    width: 100%;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
