/* ===== FUENTE Y FONDO GENERAL ===== */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #fff4e3;
  color: #333;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== HEADER ===== */
header {
  background: linear-gradient(135deg, #ff7a00, #cc4400);
  color: white;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(204, 68, 0, 0.6);
  backdrop-filter: saturate(180%) blur(10px);
}

.logo-titulo {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.logo {
  width: 130px;
  height: auto;
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}
.logo:hover {
  transform: scale(1.05) rotate(3deg);
}

header h1 {
  font-size: 2.6rem;
  margin: 0;
  color: white;
  user-select: none;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
  flex: 1;
    margin-left: 310px; 
  
}

/* ===== MENÚ ===== */
nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 15px 0 0 0;
  flex-wrap: wrap;
  animation: fadeIn 1.2s ease-in-out;
}

nav ul li {
  margin: 10px 18px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 6px rgba(255, 102, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  user-select: none;
  text-shadow: 0 0 2px rgba(0,0,0,0.15);
}
nav ul li a:hover,
nav ul li a:focus {
  background: #e94e00;
  box-shadow: 0 6px 14px rgba(233, 78, 0, 0.7);
  transform: translateY(-3px);
  outline: none;
}

/* ===== BIENVENIDA ===== */
.bienvenida {
  text-align: center;
  padding: 50px 20px 60px;
  animation: fadeInUp 1.3s ease forwards;
}

.bienvenida h2 {
  font-size: 2.8rem;
  color: #cc3300;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.15);
}

/* ===== CARRUSEL ===== */
.carrusel {
  text-align: center;
  margin-top: 40px;
  padding-bottom: 60px;
}

.carrusel h2 {
  font-size: 1.8rem;
  color: #ff3300;
  margin-bottom: 30px;
  font-weight: 700;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.15);
}

.carrusel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 30px;
  padding: 25px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: 0 8px 22px rgba(204, 68, 0, 0.35);
  backdrop-filter: saturate(180%) blur(12px);
}

.carrusel-container img {
  width: 100%;
  max-width: 600px;
  border-radius: 25px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  transition: opacity 0.8s ease-in-out, transform 1.2s ease;
  animation: pulse 6s infinite ease-in-out;
  user-select: none;
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, #441900, #222);
  color: white;
  text-align: center;
  padding: 25px 15px;
  margin-top: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-shadow: 0 0 3px rgba(0,0,0,0.5);
}

footer p {
  margin: 0;
  flex-shrink: 0;
  user-select: none;
}

footer a {
  color: #ffc266;
  text-decoration: none;
  font-weight: 700;
  margin: 0 12px;
  transition: color 0.3s ease;
  text-shadow: 0 0 1px rgba(0,0,0,0.3);
}
footer a:hover,
footer a:focus {
  color: #ff8c00;
  text-decoration: underline;
  outline: none;
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  header h1 {
    font-size: 2rem;
  }
  .logo {
    width: 90px;
  }
  nav ul li a {
    font-size: 1rem;
    padding: 7px 14px;
  }
  .bienvenida h2 {
    font-size: 2.2rem;
  }
  .carrusel h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {
  header h1 {
    font-size: 1.6rem;
    text-align: center;
    flex: 1 1 100%;
  }
  .logo-titulo {
    justify-content: center;
  }
  nav ul {
    flex-direction: column;
    gap: 10px;
    margin: 15px 0 0 0;
  }
  nav ul li {
    margin: 0;
  }
  .bienvenida h2 {
    font-size: 1.8rem;
  }
  .carrusel-container {
    padding: 18px;
    max-width: 90vw;
  }
}


footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 12px;
  position: relative;
  bottom: 0;
  width: 100%;
}




footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 20px 10px;
  margin-top: 60px;
}

footer p {
  margin: 0 0 10px;
  font-size: 1em;
}


.redes-sociales {
  display: flex;
  justify-content: center;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
}

.redes-sociales a img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.redes-sociales a img:hover {
  transform: scale(1.2);
  filter: brightness(1.3);
}
