/* =========================
   RESET / BASE
========================= */

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* =========================
   HEADER (sobre imagen)
========================= */

.header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1000;
}


.nav ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  padding: 20px;
  margin: 0;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  pointer-events: auto;

}

/* =========================
   HERO (LIMPIO Y CONTROLADO)
========================= */

.hero {
  position: relative;
  height: 90vh;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  padding-right: 10%;

  background:
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('../assets/images/hero/elena-lijo-hero.jpg');

  background-size: cover;
  background-position: center 30%;
  color: white;
}

/* CONTENIDO */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 500px;
  text-align: left;
}

/* TEXTOS */
.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
}

.hero-data {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.hero-tagline {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.hero h1,
.hero p {
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

/* BOTONES */
.hero-buttons {
  display: flex;
  gap: 15px;
}

/* =========================
   IDIOMA (FIJO ARRIBA DERECHA)
========================= */

.lang-hero {
  position: absolute;
  top: 80px;
  right: 30px;
  z-index: 2001;
}

.lang-menu {
  position: absolute;
  right: 20px;
  top: 15px;
}

.lang-menu button {
  margin-left: 5px;
}

.lang-hero button {
  background: rgba(0,0,0,0.4);
  color: white;
  border: 1px solid white;
  margin-left: 5px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 0.8rem;
}

/* =========================
   BOTONES
========================= */

.btn-primary {
  background: #1e88c8;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  border: 1px solid white;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
}

/* =========================
   IDIOMA (arriba derecha)
========================= */

 .lang-hero {
  position: absolute;
  top: 20px;
  right: 30px;
  z-index: 2001;
}

.lang-hero button {
  background: rgba(255,255,255,0.2);
  color: white;
  border: 1px solid white;
  margin-left: 5px;
  padding: 5px 10px;
  cursor: pointer;
}

/* =========================
   VIDEO
========================= */

.video-section {
  padding: 60px 20px;
  text-align: center;
}

.video-section h2 {
  margin-bottom: 20px;
  font-size: 2rem;
}

.video-container {
  position: relative;
  max-width: 800px;
  margin: auto;
  padding-bottom: 56.25%;
  height: 0;
}

.video-container iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

/* =========================
   ACHIEVEMENTS
========================= */

.achievements {
  padding: 60px 20px;
  background: #f5f5f5;
  text-align: center;
}

.achievements h2 {
  margin-bottom: 30px;
}

.achievements-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.achievement {
  max-width: 200px;
}

.achievement h3 {
  font-size: 2rem;
}

.nav a {
  color: white;
  text-shadow: 0 0 5px rgba(0,0,0,0.7);
}

.lang-hero {
  position: absolute;
  top: 20px;
  right: 30px;
  z-index: 20;
}

.lang-hero button {
  background: rgba(0,0,0,0.4);
  color: white;
  border: 1px solid white;
  margin-left: 5px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 0.8rem;
}

.profile {
  padding: 60px 20px;
}

.profile-container {
  display: flex;
  gap: 40px;
  max-width: 1000px;
  margin: auto;
  align-items: center;
}

.profile-image img {
  width: 250px;
  border-radius: 10px;
}

.profile-info {
  flex: 1;
}

.profile-data {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.profile-data li {
  margin-bottom: 8px;
}

.profile-description {
  line-height: 1.5;
}

/* =========================
   FOOTER
========================= */

.footer {
  background: #111;              /* fondo oscuro elegante */
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* =========================
   CAREER PAGE
========================= */

.career-page {
  background: #fff;
  color: #222;
}

.career-hero {
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 60px;
  background: linear-gradient(rgba(10, 30, 60, 0.72), rgba(10, 30, 60, 0.72)),
              url('/assets/images/hero/elena-lijo-hero1.jpg');
  background-size: cover;
  background-position: center;
  color: white;
}

.career-hero-content {
  max-width: 850px;
}

.career-hero-content h1 {
  margin: 0 0 15px;
  font-size: 3rem;
}

.career-hero-content p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.5;
}

.career-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 20px;
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 35px;
  text-align: center;
}

.section-heading h2,
.career-text h2,
.future-text h2 {
  margin: 0 0 15px;
  font-size: 2rem;
  color: #163a63;
}

.section-heading p,
.career-text p,
.future-text p {
  margin: 0;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* infancia */
.childhood-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.childhood-main img,
.childhood-side img,
.career-media img,
.future-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.childhood-main img {
  min-height: 420px;
}

.childhood-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

/* bloques alternos */
.career-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.career-block.reverse {
  grid-template-columns: 1fr 1.1fr;
}

.career-block.reverse .career-media {
  order: 2;
}

.career-block.reverse .career-text {
  order: 1;
}

.career-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.career-media img {
  min-height: 320px;
}

.career-text {
  max-width: 520px;
}

/* futuro */
.future-section {
  padding-bottom: 90px;
}

.future-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.future-image img {
  min-height: 340px;
}

/* responsive */
@media (max-width: 900px) {
  .career-hero-content h1 {
    font-size: 2.4rem;
  }

  .childhood-grid,
  .career-block,
  .career-block.reverse,
  .future-content {
    grid-template-columns: 1fr;
  }

  .career-block.reverse .career-media,
  .career-block.reverse .career-text {
    order: unset;
  }

  .childhood-main img,
  .career-media img,
  .future-image img {
    min-height: auto;
  }

  .career-media {
    grid-template-columns: 1fr;
  }

  .career-text {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .career-hero {
    padding: 110px 18px 50px;
  }

  .career-hero-content h1 {
    font-size: 2rem;
  }

  .section-heading h2,
  .career-text h2,
  .future-text h2 {
    font-size: 1.6rem;
  }
}
.childhood-section {
  background: linear-gradient(to bottom, #f8f9fb, #ffffff);
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.childhood-grid img,
.career-media img,
.future-image img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.childhood-grid img:hover,
.career-media img:hover,
.future-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}
.career-section {
  border-bottom: 1px solid #eee;
}

.career-section:last-child {
  border-bottom: none;
}

.nav a.active {
  border-bottom: 2px solid #4da3d9;
}

/* ===== GALERÍA FOTOS ===== */

.gallery {
  padding: 40px 20px;
  text-align: center;
}

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

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

/* pequeño efecto visual */
.gallery-grid img:hover {
  transform: scale(1.05);
}

/* ===== VIDEO DESCRIPTION ===== */

.video-description {
  margin-top: 15px;
  font-size: 0.95rem;
  color: #555;
}

/* ===== GALLERY PAGE ===== */

.gallery-section {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h1,
.section-header h2 {
  margin-bottom: 0.5rem;
}

.section-header p {
  color: #666;
}

/* VIDEOS */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.video-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* PHOTOS */

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

.photo-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease;
}

.photo-grid img:hover {
  transform: scale(1.02);
}
/* ===== PAGE HERO ===== */

.page-hero {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

/* imagen de fondo específica de galería */
.gallery-hero {
  background: url('/assets/images/gallery/elena-retrato.jpg') center/cover no-repeat;
}

/* overlay oscuro para legibilidad */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

/* contenido encima */
.page-hero .hero-content {
  position: relative;
  z-index: 2;
}
/* ===== CONTACT HERO ===== */

.contact-hero {
  background: url('/assets/images/gallery/elena-retrato.jpg') center 30% / cover no-repeat;
}

/* ===== CONTACT PAGE ===== */

.contact-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.contact-card {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.contact-card h2 {
  margin-bottom: 1rem;
}

.contact-intro {
  max-width: 620px;
  margin: 0 auto 2rem;
  color: #666;
  line-height: 1.6;
}

.contact-info {
  display: grid;
  gap: 1rem;
}

.contact-item {
  padding: 1.25rem;
  border: 1px solid #e9e9e9;
  border-radius: 14px;
  background: #fafafa;
}

.contact-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.contact-item p {
  margin: 0;
}

.contact-item a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, opacity 0.25s ease;
}

.contact-item a:hover {
  border-color: currentColor;
  opacity: 0.85;
}

/* ===== HEADER RESPONSIVE CORRECTO ===== */

@media (max-width: 768px) {

  /* el nav cambia de fila a columna */
  .nav {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* menú centrado */
  .nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
    gap: 14px;
  }

  .nav ul li a {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
  }

  /* idioma abajo y centrado */
  .lang-menu {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }

}

