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

/* --- BASE --- */
body {
  font-family: 'Inter', sans-serif;
  background: #0e0e0e;
  color: #d8d8d8;
  padding: 20px;
}

.container {
  max-width: 1100px;
  margin: auto;
}

/* --- HEADER ELEGANTE --- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.title-container h1 {
  font-size: 2.8rem;
  color: #f5f5f5;
  letter-spacing: 1px;
  font-weight: 600;
}

.apellido {
  color: #989898;
}

.subtitle {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-top: 4px;
  letter-spacing: 2px;
}

/* --- NAV --- */
nav a {
  margin-left: 25px;
  color: #cfcfcf;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: 0.3s;
  padding-bottom: 5px;
  border-bottom: 1px solid transparent;
}

nav a:hover {
  color: #fff;
  border-bottom: 1px solid #fff;
}

/* --- TÍTULOS --- */
h2 {
  font-size: 1.8rem;
  margin: 20px 0 25px 0;
  color: #f5f5f5;
  letter-spacing: 1px;
  font-weight: 500;
}

.tipo-obra {
  font-size: 1rem;
  color: #f0f0f0;
  margin: 50px 0 20px 0;
  letter-spacing: 1px;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  opacity: 0.85;
}

/* --- SECCIÓN BIO --- */
.bio-contenido {
  display: flex;
  gap: 30px;
  margin-top: 0px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap; /* Para que se adapte en móviles */
}

.bio-texto {
  max-width: 600px;
  line-height: 1.5;
    margin-left: 0;   /* reduce el margen izquierdo */
  margin-right: auto;
  font-size: 1rem;
  color: #d8d8d8;
  text-align: justify;
}

.bio-texto p {
  margin-bottom: 0.5em;
}

.bio-foto img {
  max-width: 460px;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* --- RESPONSIVE BIO --- */
@media (max-width: 800px) {
  .bio-contenido {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .bio-foto img {
    max-width: 90%;
  }

  .bio-texto {
    max-width: 90%;
  }
}
/* --- GALERÍA SIMPLE --- */
.galeria {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* espacio entre imágenes */
  justify-content: center; /* centra las imágenes */
}

.galeria img {
  height: 320px; /* altura uniforme */
  width: auto;   /* ancho automático para mantener proporción */
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.galeria img:hover {
  transform: scale(1.03);
filter: brightness(1.1);
  box-shadow: 0 6px 28px rgba(0,0,0,0.45);
}


/* --- DIVISOR --- */
.linea-divisoria {
  border: none;
  height: 1px;
  background: rgba(255,255,255,0.08);
  width: 60%;
  margin: 50px auto;
}

/* --- MODAL ESTILO MUSEO --- */
.modal {
  display: none;
  position: fixed;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  background-color: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-inner {
  display: flex;
  gap: 30px;
  max-width: 90%;
  max-height: 90%;
  padding: 25px;
  background: rgba(20,20,20,0.65);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.modal img {
  max-width: 65vw;
  max-height: 75vh;
  object-fit: contain;
  margin-bottom: 20px;
}
.ficha-tecnica {
  position: relative;
  bottom: auto;
  right: auto;
  font-size: 1rem;
  line-height: 1.6;
  color: #eee;
  padding: 15px 18px;
  background: rgba(0,0,0,0.4);
  border-left: 2px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 6px;
  width: auto; /* ajusta al contenido */
  max-width: 90%; /* evita desbordes */
  text-align: left; /* opcional: alinea texto a la derecha */
}

/* --- CERRAR --- */
.cerrar {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 2.4rem;
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
}

.cerrar:hover {
  transform: scale(1.2);
  opacity: 1;
}

/* --- FOOTER --- */
footer {
  text-align: center;
  padding: 35px 0 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #b7b7b7;
  font-size: 0.9rem;
  margin-top: 60px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .galeria {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .galeria {
    column-count: 1;
  }

  .modal-inner {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .modal img {
    max-width: 90vw;
    max-height: 60vh;
  }

  .ficha-tecnica {
    width: 100%;
  }
}
.timeline {
  margin-top: 30px;
  border-left: 2px solid rgba(255,255,255,0.1);
  padding-left: 25px;
  position: relative;



 border-radius: 10px;


}

.year {
  font-size: 1.4rem;
  color: #f5f5f5;
  margin: 40px 0 20px 0;
  font-weight: 600;
  letter-spacing: 1px;
}

.expo-item {
  position: relative;
  margin-bottom: 35px;
}

.expo-item::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
  position: absolute;
  left: -31px;
  top: 12px;
  box-shadow: 0 0 8px rgba(255,255,255,0.4);
}

/* --- DETAILS / SUMMARY ESTILO --- */
details {
  cursor: pointer;
}

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 0;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "▼";
  font-size: 0.8rem;
  color: #ccc;
  margin-top: 5px;
  transition: transform 0.3s ease;
}

details[open] summary::after {
  transform: rotate(-180deg);
  color: #fff;
}

/* Texto */
.expo-titulo {
  color: #f5f5f5;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

.expo-lugar {
  color: #bfbfbf;
  font-size: 0.95rem;
  opacity: 0.8;
}
.expo-item {
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* --- FOTOS DESPLEGABLES --- */
.expo-fotos {
  margin-top: 15px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  padding-left: 5px;
  animation: fadeIn 0.3s ease;
}

.expo-fotos img {
  height: auto;
  max-height: 300px; /* mantiene armonía */
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  transition: 0.3s ease;
}

.expo-fotos img:hover {
  transform: scale(1.03);
  filter: brightness(1.1);
}

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

/* --- CONTACTO MINIMAL --- */
.contacto-info {
  margin-top: 30px;
  padding: 0;          /* sin caja */
  border: none;        /* sin borde */
  background: none;    /* sin fondo */
}
.contacto-info p span {
  color: #ffffff;      /* ligeramente más brillante */
  font-weight: 500;
}

.contacto-info p {
  margin-bottom: 10px;
  font-size: 1.1rem;
  letter-spacing: 0.6px;
  color: #e0e0e0;
}





