/* Contenedor principal - Sin body */
body {
  background: #171597; /* Cambia este color por el que prefieras */
}
.historical-container {
  font-family: 'Playfair Display', serif; /* Fuente elegante */
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
  color: #333;
  background: linear-gradient(135deg, #4faac5, #b88e46);
  position: relative;
  overflow: hidden;
}

/* Efecto de pergamino */
.historical-container:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://www.transparenttextures.com/patterns/cream-paper.png');
  opacity: 0.3;
  z-index: -1;
}

/* Cabecera */
.historical-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 2rem;
}

.historical-header:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 3px;
  background: linear-gradient(90deg, #8B5A2B, #D2B48C);
}

.historical-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: #5C3A21;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.historical-subtitle {
  font-size: 1.4rem;
  color: #7A5C44;
  font-style: italic;
  font-weight: 300;
}

/* Contenido histórico */
.historical-content {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.historical-text {
  flex: 2;
}

.historical-image {
  flex: 1;
  position: relative;
}

/* Estilos de texto */
.historical-paragraph {
  font-size: 1.15rem;
  line-height: 1.9;
  margin-bottom: 2rem;
  color: #000000;
  text-align: justify;
  position: relative;
  padding-left: 2rem;
}

.historical-paragraph:first-letter {
  font-size: 3rem;
  float: left;
  line-height: 1;
  margin-right: 0.5rem;
  color: #8B5A2B;
  font-weight: bold;
}

.historical-highlight {
  background: linear-gradient(120deg, rgba(139, 90, 43, 0.1), rgba(210, 180, 140, 0.1));
  padding: 2rem;
  border-radius: 5px;
  margin: 3rem 0;
  border-left: 4px solid #8B5A2B;
  font-style: italic;
  position: relative;
}

.historical-highlight:before, .historical-highlight:after {
  content: '"';
  font-size: 3rem;
  color: #D2B48C;
  position: absolute;
}

.historical-highlight:before {
  top: 0.5rem;
  left: 1rem;
}

.historical-highlight:after {
  bottom: -1.5rem;
  right: 1rem;
}

/* Imagen */
.historical-img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 8px solid white;
  transform: rotate(2deg);
  transition: all 0.5s ease;
  position: sticky;
  top: 2rem;
}

.historical-img:hover {
  transform: rotate(0deg) scale(1.02);
}

/* Línea de tiempo */
.historical-timeline {
  margin-top: 4rem;
  position: relative;
  padding-left: 2rem;
}

.timeline-title {
  font-size: 1.8rem;
  color: #5C3A21;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.timeline-title:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #8B5A2B, transparent);
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2.5rem;
  border-left: 2px solid #D2B48C;
}

.timeline-year {
  position: absolute;
  left: -1.5rem;
  top: 0;
  background: #8B5A2B;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.timeline-event {
  font-weight: bold;
  color: #5C3A21;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.timeline-description {
  color: #7A5C44;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 900px) {
  .historical-content {
    flex-direction: column;
  }
  
  .historical-img {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .historical-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 600px) {
  .historical-container {
    padding: 2rem 1rem;
  }
  
  .historical-title {
    font-size: 2rem;
  }
  
  .historical-paragraph {
    padding-left: 1rem;
  }
}