/* Color de fondo general */
body {
  margin: 0;
  background-color: #f5f5dc; /* Color beige claro */
  font-family: Arial, sans-serif;
}

/* Barra de menú */
header {
  background-color: #2e8b57!important; /* Verde tipo bosque */
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
header img {
  height: 50px;
}

/* Menú de navegación */
nav {
  display: flex;
  gap: 15px; /* Espacio entre los enlaces */
}

/* Estilo de los enlaces */
nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
}

/* Efecto al pasar el mouse */
nav a:hover {
  background-color: #3cb371; /* Verde más claro */
  border-radius: 5px;
}

.titulo-bienvenida {
  font-family: 'Georgia', serif;  /* Fuente elegante */
  font-size: 80px;               /* Tamaño grande */
  color: #E4007C;                /* Color rsa mexicano */
  text-align: center;
  margin-top: 50px;
  cursor: pointer;               /* Cambia el cursor para indicar que se puede hacer clic */
  transition: color 0.3s ease, transform 0.5s ease;
  animation: entradaSuave 2s ease;
}

/* Animación de entrada */
@keyframes entradaSuave {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cambia color al hacer clic */
.titulo-bienvenida:active {
  color: #1c1c1c;   /* Cambia a naranja al hacer clic */
  transform: scale(0.95);
}

/* Gran título general */
.titulo-principal {
  font-family: 'Playfair Display', serif;  /* Fuente de revista elegante */
  font-size: 70px;
  text-align: center;
  margin: 40px 0;
  color: #2F4F4F;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Sección tipo periódico */
.seccion-periodico {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Georgia', serif;
}

/* Cada artículo */
.articulo {
  background-color: #f9f9f9;
  padding: 20px;
  border-left: 5px solid #4B0082;  /* Línea morada a la izquierda */
  box-shadow: 2px 2px 10px rgba(0,0,0,0.1);

}

.articulo h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #4B0082;
  margin-bottom: 10px;
}

.articulo p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

/* Footer elegante */
footer {
  text-align: center;
  margin-top: 50px;
  padding: 15px;
  font-size: 14px;
  color: #666;
  border-top: 1px solid #ddd;
}

/* Título exótico */
.titulo-exotico {
  font-family: 'Playfair Display', serif;
  font-size: 65px;
  text-align: center;
  margin: 40px 0;
  color: #D2691E;  /* Color tierra/naranja */
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 2px 2px #8B4513;  /* Sombra para dar fuerza */
}

/* Sección exótica */
.seccion-exotica {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Georgia', serif;
}

/* Cada plato */
.plato-exotico {
  background: linear-gradient(135deg, #FFE4B5, #FFDEAD);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 4px 4px 15px rgba(0,0,0,0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.plato-exotico:hover {
  transform: scale(1.05);
}

.plato-exotico img.imagen-plato {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

.plato-exotico h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: #B22222;  /* Rojo exótico */
  margin-bottom: 10px;
}

.plato-exotico p {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}

/* Footer elegante */
footer {
  text-align: center;
  margin-top: 50px;
  padding: 15px;
  font-size: 14px;
  color: #666;
  border-top: 1px solid #ddd;
}

/* Título moderno */
.titulo-modern {
  font-family: 'Roboto', sans-serif;
  font-size: 55px;
  text-align: center;
  margin: 40px 0;
  color: #1E3A8A;  /* Azul intenso */
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 3px solid #3B82F6;
  display: inline-block;
}

/* Grid de tarjetas */
.grid-infraestructura {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Roboto', sans-serif;
}

/* Tarjeta */
.card {
  background-color: #F3F4F6;  /* Gris claro */
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-content h2 {
  font-size: 24px;
  color: #1E40AF;  /* Azul oscuro */
  margin-bottom: 10px;
}

.card-content p {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  text-align: justify;
}

/* Título timeline */
.titulo-timeline {
  font-family: 'Merriweather', serif;
  font-size: 50px;
  text-align: center;
  margin: 40px 0;
  color: #4B5563; /* Gris oscuro elegante */
  position: relative;
}

.timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin: 0 auto;
  max-width: 1000px;
  padding: 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #9CA3AF; /* Gris suave */
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  width: 100%;
  position: relative;
  margin: 20px 0;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.timeline-content {
  background-color: #F3F4F6; /* Gris claro */
  padding: 20px;
  margin: 0 20px;
  border-radius: 10px;
  width: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.timeline-content h2 {
  font-size: 22px;
  color: #1F2937; /* Gris muy oscuro */
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 15px;
  color: #374151; /* Gris medio */
  line-height: 1.6;
}

footer {
  text-align: center;
  margin-top: 50px;
  padding: 15px;
  font-size: 14px;
  color: #666;
  border-top: 1px solid #ddd;
}

/* Título de oficios */
.titulo-oficios {
  font-family: 'Merriweather', serif;
  font-size: 60px;
  text-align: center;
  margin: 40px 0;
  color: #6B4226; /* Marrón artesanal */
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 3px solid #A0522D;
  display: inline-block;
}

/* Galería de oficios */
.galeria-oficios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Georgia', serif;
}

/* Tarjeta de cada oficio */
.oficio-card {
  background-color: #FFF8F0;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  text-align: center;
}

.oficio-card:hover {
  transform: translateY(-10px);
}

.oficio-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.oficio-card h2 {
  font-size: 24px;
  color: #8B4513;
  margin: 15px 0 10px;
}

.oficio-card p {
  font-size: 15px;
  color: #333;
  padding: 0 15px 20px;
  line-height: 1.6;
}

