/* Variables CSS para fácil personalización */
:root {
  --bg-color: #0d0d0d;
  --text-color: #f0f0f0;
  --accent-color: #8b8b8b;
  --nav-bg: rgba(13, 13, 13, 0.95);
  --transition-speed: 0.5s;
  --fade-duration: 1.5s;
}

/* Reset básico */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

  /* Estilos base para el body */
  body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
  }

/* Header y navegación */
header {
  height: 80px;
}

nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 10px 15px;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ffd700;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-icons img {
  width: 32px;
  height: 32px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.header-icons a:hover img {
  opacity: 1;
}

header-icons-container {
  max-width: 1000px;
  display: flex;
  justify-content: flex-end;
}

slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

nav ul li a:hover {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

/* Slideshow principal */
.slideshow {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slides-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--fade-duration) ease-in-out;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
}

.slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  width: min(100%, 100vw);
  height: min(100%, 100vh);
  object-fit: contain;
  object-position: center;
}

/* Media queries para dispositivos */
@media (max-width: 768px) {
  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li a {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
  }
  
  :root {
    --fade-duration: 2s;
  }
}

@media (max-width: 480px) {
  nav ul {
    gap: 0.8rem;
  }
  
  nav ul li a {
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
  }
}

/* Sección Acerca de */
.about {
  min-height: 100vh;
  padding: 100px 2rem 6rem;
  display: flex;
  align-items: center;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

  .about-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-align: center;
    opacity: 0.9;
  }

  .about-text {
    font-family: 'Inter', sans-serif;
    opacity: 0.8;
    line-height: 1.8;
  }

.about-text p.intro {
  font-size: 1.1rem;
  text-align: justify;
  margin-bottom: 3rem;
}

.about-text p.intro em {
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
}

.timeline {
  margin-top: 2rem;
  opacity: 0.75;
}

.timeline-item {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--accent-color);
}

  .timeline-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    opacity: 0.9;
  }

.timeline-item ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline-item li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.35rem;
  opacity: 0.85;
}

/* Media queries para Acerca de */
@media (max-width: 768px) {
  .about {
    padding: 80px 1.5rem 4rem;
  }
  
  .about-content {
    padding: 1rem;
  }
  
  .about-content h1 {
    font-size: 2rem;
  }
  
  .about-text p.intro {
    font-size: 1rem;
  }
  
  .timeline-item h3 {
    font-size: 1.2rem;
  }
  
  .timeline-item li {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .about-content h1 {
    font-size: 1.6rem;
  }
  
  .about-text p.intro {
    font-size: 0.95rem;
    text-align: left;
  }
  
  .timeline-item {
    padding-left: 1rem;
  }
  
  .timeline-item h3 {
    font-size: 1.1rem;
  }
  
  .timeline-item li {
    font-size: 0.85rem;
  }
}
