/* ============================================
   VOZ & VIENTO — Styles.css
   Estética: Editorial Oscura + Energía de Concierto
   ============================================ */

/* --- Variables & Reset --- */
:root {
    --alto-header: 50px;
  --negro: #0a0a0a;
  --negro-suave: #111111;
  --carbon: #1a1a1a;
  --blanco: #f5f0eb;
  --blanco-apagado: #bfb9b0;
  --acento: #c8a96e;         /* dorado arena */
  --acento-vivo: #e8c47a;
  --rojo-viento: #8b2222;
  --linea: rgba(200, 169, 110, 0.2);
  --fuente-display: 'Josefin Sans', sans-serif;
  --fuente-cuerpo: 'Montserrat', sans-serif;
  --transicion: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--negro);
  color: var(--blanco);
  font-family: var(--fuente-cuerpo);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: default;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--negro); }
::-webkit-scrollbar-thumb { background: var(--acento); border-radius: 2px; }

/* ============================================
   HEADER
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 3rem;
  height: var(--alto-header);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--linea);
  transition: background var(--transicion);
}

.hamburguer {
  display: none;
}

@media (max-width: 768px) {
  .hamburguer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
  }

  .hamburguer span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 3px;
  }

  .Menu {
    font-size: 28px;
    display: none !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #222;
    padding: 1rem 0;
    z-index: 999;
  }

  .Menu.open {
    display: flex !important;
  }

  .Menu li {
    text-align: center;
    padding: 0.05rem 0;
  }
}

header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 3rem;
  right: 3rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--acento), transparent);
  opacity: 0.5;
}

.Icon li a {
  text-decoration: none;
}

/* Logo */
.Title-header {
  height: 40px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(1.1);
  transition: filter var(--transicion);
}

.Title-header:hover {
  filter: brightness(1.4) drop-shadow(0 0 8px var(--acento));
}

/* Nav ocupa el resto */
.Nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-between;
  margin-left: 2rem;
}

/* Menú central */
.Nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.Menu {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.Menu li a {
  font-family: var(--fuente-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blanco-apagado);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transicion);
}

.Menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--acento);
  transition: width var(--transicion);
}

.Menu li a:hover {
  color: var(--acento-vivo);
}

.Menu li a:hover::after {
  width: 100%;
}

/* Redes sociales derecha */
.Nav-right { flex-shrink: 0; }

.Icon {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.Icon li a {
  color: var(--blanco-apagado);
  font-size: 15px;
  transition: color var(--transicion), transform var(--transicion);
  display: flex;
}

.Icon li a:hover {
  color: var(--acento);
  transform: translateY(-2px);
}

/* ============================================
   HERO — Container
   ============================================ */
.Container {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0 8vw;
  padding-top: 75px;
}

/* *** FONDO DE IMAGEN — Solo pon tu imagen aquí *** */
.Background {
  position: absolute;
  inset: 0;
  background-image: url('/assets/imagenes/fondo.png'); /* <-- PON TU RUTA DE IMAGEN AQUÍ */
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transform: scale(1.02);
  transition: transform 8s ease-out;
  z-index: 0;
}

/* Efecto sutil al cargar */
.Background:hover {
  transform: scale(1.06);
}

/* Gradiente sobre la imagen */
.gradiente {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(105deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.65) 50%, rgba(10,10,10,0.15) 100%),
    linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 40%);
  z-index: 1;
  pointer-events: none;
}

/* Línea decorativa vertical */
.Container::before {
  content: '';
  position: absolute;
  left: 6vw;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--acento), transparent);
  opacity: 0.4;
  z-index: 2;
}

/* Contenido Hero */
.Container-content {
  position: relative;
  z-index: 3;
  max-width: 660px;
  padding-left: 3rem;
  animation: fadeSlideUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.Container-content h1 {
  font-family: var(--fuente-display);
  font-size: clamp(3rem, 4vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.0;
  text-transform: uppercase;
  color: var(--blanco);
  margin-bottom: 1.5rem;
}

.Container-content h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--acento);
  margin-top: 1rem;
}

.Container-content p {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--blanco-apagado);
  max-width: 540px;
  line-height: 1.9;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Indicador de scroll */
.Container::after {
  content: 'EL SALVADOR';
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--fuente-display);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  color: var(--acento);
  z-index: 3;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50%       { transform: translateX(-50%) translateY(0px); opacity: 100; }
}

/* ============================================
   SECCIONES — Base compartida
   ============================================ */
main > section:not(.Container) {
  padding: 7rem 8vw;
  position: relative;
}



main > section h2:first-child {
  font-family: var(--fuente-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--acento);
  margin-bottom: 1rem;
  font-weight: 600;
}

main > section > p {
  color: var(--blanco-apagado);
  max-width: 680px;
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 3rem;
}

/* ============================================
   GALERÍA
   ============================================ */
#Galley {
  background-color: var(--negro-suave);
  border-top: 1px solid var(--linea);
  border-bottom: 1px solid var(--linea);
}

#Galley h2:first-child {
  position: relative;
  display: inline-block;
}

#Galley h2:first-child::before {
  content: '—';
  color: var(--acento);
  margin-right: 0.8rem;
}

/* Grid de fotos */
#Galley {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 7rem 0;
}

#Galley h2,
#Galley > p {
  grid-column: 1 / -1;
  padding: 0 8vw;
}

#Galley > p { margin-bottom: 3.5rem; }

/* Grid de figuras */
#Galley figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--carbon);
}

#Galley figure:first-of-type {
  grid-column: span 2;
  aspect-ratio: 16/6;
}

#Galley figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
  filter: grayscale(20%) brightness(0.85);
}

#Galley figure:hover img {
  transform: scale(1.06);
  filter: grayscale(0%) brightness(1);
}

#Galley figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.2rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  font-family: var(--fuente-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--acento);
  transform: translateY(6px);
  opacity: 0;
  transition: all var(--transicion);
}

#Galley figure:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* Placeholder cuando no hay imagen */
#Galley figure::before {
  content: '✦';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: rgba(200,169,110,0.15);
  pointer-events: none;
}

/* ============================================
   VIDEOS
   ============================================ */
#Videos {
  background-color: var(--negro);
  padding-bottom: 6rem;
}

#Videos h3:last-of-type {
  font-family: var(--fuente-cuerpo);
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--blanco-apagado);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 3.5rem;
}

/* Grid de videos */
#Videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

#Videos h3, #Videos p {
  grid-column: 1 / -1;
}

#Videos video {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  background: var(--carbon);
  border: 1px solid var(--linea);
  border-radius: 2px;
  transition: border-color var(--transicion), box-shadow var(--transicion);
  cursor: pointer;
}

#Videos video:hover {
  border-color: var(--acento);
  box-shadow: 0 0 30px rgba(200, 169, 110, 0.12);
}

/* ============================================
   HISTORIA
   ============================================ */
#History {
  background-color: var(--negro-suave);
  border-top: 1px solid var(--linea);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 8rem 8vw;
}

#History h3 {
  grid-column: 1 / -1;
  font-family: var(--fuente-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blanco);
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--acento);
}

#History h3::before {
  content: attr(data-num);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8rem;
  font-weight: 700;
  color: rgba(200,169,110,0.05);
  pointer-events: none;
  user-select: none;
}

#History p {
  font-size: 0.95rem;
  color: var(--blanco-apagado);
  line-height: 1.9;
  max-width: 100%;
  margin: 0;
}

#History figure {
  position: relative;
  overflow: hidden;
  border-radius: 1px;
  background: var(--carbon);
}

#History figure::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--linea);
  pointer-events: none;
}

#History figure img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  filter: grayscale(30%);
  transition: transform 0.8s ease, filter 0.5s ease;
}

#History figure:hover img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

/* ============================================
   REDES SOCIALES
   ============================================ */
#\Social\ -Network {
  text-align: center;
  padding: 6rem 8vw;
  background: var(--negro);
  border-top: 1px solid var(--linea);
  border-bottom: 1px solid var(--linea);
}

/* Selector alternativo por si el id con espacio da problemas */
section[id="Social-Network"] {
  text-align: center;
  padding: 6rem 8vw;
  background: var(--negro);
  border-top: 1px solid var(--linea);
  border-bottom: 1px solid var(--linea);
}

section[id="Social-Network"] h3 {
  font-family: var(--fuente-display);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--acento);
  margin-bottom: 0.8rem;
}

section[id="Social-Network"] p {
  color: var(--blanco-apagado);
  font-size: 0.9rem;
  max-width: 460px;
  margin: 0 auto 3rem;
}

section[id="Social-Network"] ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

section[id="Social-Network"] ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--linea);
  border-radius: 50%;
  color: var(--blanco-apagado);
  font-size: 1.2rem;
  text-decoration: none;
  transition: all var(--transicion);
  position: relative;
  overflow: hidden;
}

section[id="Social-Network"] ul li a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--acento);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

section[id="Social-Network"] ul li a:hover {
  background-color: white;
  color: var(--negro);
  border-color: var(--acento);
}

section[id="Social-Network"] ul li a:hover::before {
  transform: scale(1);
}

/* ============================================
   CONTACTO
   ============================================ */
#Contact {
  background: 
    radial-gradient(ellipse at 80% 50%, rgba(139,34,34,0.07) 0%, transparent 60%),
    var(--negro-suave);
  padding: 8rem 8vw;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem 6rem;
  align-items: start;
}

#Contact h3 {
  grid-column: 1 / -1;
  font-family: var(--fuente-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blanco);
}

#Contact > p {
  color: var(--blanco-apagado);
  font-size: 0.95rem;
  line-height: 1.9;
  max-width: 520px;
  margin: 0;
  align-self: center;
}

/* Info de contacto (email + teléfono al lado derecho) */
#Contact label {
  display: flex;
  font-family: var(--fuente-display);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--acento);
  margin-bottom: 0.2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-self: center;
}

#Contact a {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--blanco);
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: color var(--transicion);
  position: relative;
}

#Contact a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--acento);
  transition: width var(--transicion);
}

#Contact a:hover {
  color: var(--acento-vivo);
}

#Contact a:hover::after {
  width: 100%;
}

#Contact .Formulario {
  justify-self: center;
}

/* ============================================
   FORMULARIO — .Formulario
   ============================================ */
.Formulario {
  grid-column: 1 / -1;
  gap: 1.2rem;
  margin-top: 2rem;
  max-width: 800px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.Formulario form {
   display: flex;
  flex-direction: column;
  gap: 1.4rem;
   width: 100%;
}

.Formulario h3 {
  text-align: center;
  font-family: var(--fuente-display);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--acento);
  margin-bottom: 0.4rem;
}

.Formulario input[type="text"],
.Formulario textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--linea);
  padding: 0.75rem 0;
  font-family: var(--fuente-cuerpo);
  font-size: 15px;
  font-weight: 300;
  color: var(--blanco);
  outline: none;
  transition: border-color var(--transicion);
  resize: none;
  caret-color: var(--acento);
}

.Formulario input[type="text"]::placeholder,
.Formulario textarea::placeholder {
  font-family: var(--fuente-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.785);
}

.Formulario input[type="text"]:focus,
.Formulario textarea:focus {
  border-bottom-color: var(--acento);
}

.Formulario textarea {
  min-height: 100px;
  line-height: 1.8;
}

.Formulario button {
  align-self: center;
  margin-top: 0.5rem;
  background: transparent;
  border: 1px solid var(--acento);
  color: var(--acento);
  font-family: var(--fuente-display);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color var(--transicion);
}

.Formulario button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--acento);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.Formulario button:hover {
  color: white;
}

.Formulario button:hover::before {
  transform: translateX(0);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--negro);
  border-top: 1px solid var(--linea);
  padding: 2.5rem 8vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

footer ul {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}

footer ul li a {
  color: var(--blanco-apagado);
  font-size: 1rem;
  text-decoration: none;
  transition: color var(--transicion);
}

footer ul li a:hover {
  color: var(--acento);
}

footer p {
  font-family: var(--fuente-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(191,185,176,0.4);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  header {
    padding: 0 1.5rem;
    height: 65px;
  }

  .Nav { margin-left: 1rem; }

  .Menu { gap: 1.5rem; }

  #Galley figure:first-of-type { grid-column: span 2; }

  #Videos {
    grid-template-columns: 1fr;
  }

  #History {
    grid-template-columns: 1fr;
    padding: 5rem 6vw;
  }

  #Contact {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  #Contact > p { max-width: 100%; }
}

@media (max-width: 640px) {
  header { padding: 0 1.2rem; height: 60px; }
  .Title-header { height: 36px; }
  .Menu li a { font-size: 0.68rem; }
  .Menu { gap: 1rem; }
  .Icon { gap: 0.8rem; }

  .Container-content { padding-left: 1rem; }
  .Container::before { display: none; }

  #Galley {
    grid-template-columns: 1fr;
    padding: 5rem 0;
  }

  #Galley figure:first-of-type {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }

  #Galley h3, #Galley > p { padding: 0 5vw; }



  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 5vw;
  }
}