* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.config-icon {
  padding-right: 15px;  /* separa del borde derecho */
  font-size: 20px;      /* tamaño del ícono */
  color: #fff;          /* color blanco */
}

.config-icon {
  margin-left: 20px;   /* separa del último enlace */
  padding-right: 15px; /* espacio con el borde */
}
.config-icon {
  color: white;
  font-size: 20px;
  text-decoration: none;
}

.config-icon:hover {
  color: #ddd; 
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #fecd39;
  color: #4e3300;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 60px;
  background: transparent;
}

.logo {
  width: 90px;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav a {
  text-decoration: none;
  font-weight: bold;
  color: #ffffff;
  font-size: 1rem;
  padding-bottom: 4px;
  position: relative;
  transition: all 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: white;
  transition: width 0.3s;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 60px;
  flex-wrap: wrap;
  background: 
    linear-gradient(to right, rgba(255,255,255,0) 60%, #fecd39 100%),
    #fff9ec;
  background-repeat: no-repeat;
  background-size: cover;
}

.contenido {
  max-width: 50%;
  color: white;
  z-index: 10;
  position: relative;
}

.subtitulo {
  color: #9e1b1b;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1.1rem;
  animation: fadeInUp 1s ease-out;
}

.titulo {
  color: #ffbe0c;
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
  animation: fadeInScale 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s both;
}

.descripcion {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #ffffff;
  animation: fadeInSlide 1s ease-out 0.6s both;
}

.boton {
  background-color: #4e3300;
  color: white;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  animation: bounceIn 1s ease-out 0.9s both;
  display: inline-block;
}

.boton:hover {
  background-color: #361f00;
  transform: translateY(-5px) scale(1.05);
}

/* ===== CAROUSEL STYLES - CARRUSEL INFINITO CON CONTROLES ===== */
.carousel-container {
  position: relative;
  overflow: hidden;
  z-index: 1;
  max-width: 50%;
  animation: zoomInRotate 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s both;
}

.carousel {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.carousel-slide img {
  max-width: 500px;
  width: 100%;
  animation: flotar 3s ease-in-out infinite, pulseGlow 4s ease-in-out infinite;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 2;
}

.carousel-controls button {
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 24px;
  font-weight: bold;
  transition: all 0.3s ease;
  border-radius: 50%;
  margin: 0 15px;
  color: #4e3300;
}

.carousel-controls button:hover {
  background-color: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.carousel-indicators {
  position: absolute;
  bottom: 15px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background-color: white;
  transform: scale(1.2);
}

@keyframes flotar {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes fadeInSlide {
  0% {
    opacity: 0;
    transform: translateX(-30px) translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(20px);
  }
  50% {
    opacity: 1;
    transform: scale(1.1) translateY(-5px);
  }
  70% {
    transform: scale(0.95) translateY(2px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes zoomInRotate {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg) translateX(100px);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg) translateX(0);
  }
}

@keyframes pulseGlow {
  0% {
    filter: drop-shadow(0 0 5px rgba(254, 205, 57, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(254, 205, 57, 0.6));
  }
  100% {
    filter: drop-shadow(0 0 5px rgba(254, 205, 57, 0.3));
  }
}

@media screen and (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 50px 30px;
  }

  .contenido {
    max-width: 100%;
  }

  .carousel-container {
    max-width: 100%;
    margin-top: 40px;
  }

  .carousel-slide img {
    max-width: 300px;
    margin-top: 40px;
  }

  .titulo {
    font-size: 2.5rem;
  }
  
  .carousel-controls button {
    padding: 8px 12px;
    font-size: 18px;
  }
}

@media screen and (max-width: 480px) {
  .navbar {
    padding: 20px 30px;
  }

  .hero {
    padding: 30px 20px;
  }

  .titulo {
    font-size: 2rem;
  }
  
  .carousel-controls button {
    margin: 0 5px;
    padding: 6px 10px;
  }
  
  .carousel-indicator {
    width: 8px;
    height: 8px;
  }
}

/* ===== FOOTER STYLES ===== */
.footer-dark {
  background-color: #0e0e0e;
  color: white;
  font-family: 'Segoe UI', sans-serif;
  padding: 40px 20px 20px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  text-align: center;
  gap: 30px;
  padding-bottom: 20px;
}

.footer-top h3 {
  color: #c84c0c;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.footer-logo img {
  height: 120px;
}

.footer-info p,
.footer-horario p {
  margin: 5px 0;
  font-size: 0.95rem;
}

.footer-divider {
  border: none;
  border-top: 1px solid #cccccc40;
  margin: 20px auto;
  width: 90%;
}

.footer-bottom {
  text-align: center;
  padding-top: 10px;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  color: #b0b0b0;
  margin: 0 12px;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

.footer-copy {
  font-size: 0.85rem;
  color: #c0c0c0;
  margin-bottom: 10px;
}

.footer-copy .firma {
  color: orange;
}

.footer-social a img {
  width: 30px;
  margin: 0 6px;
  transition: transform 0.3s;
}

.footer-social a:hover img {
  transform: scale(1.15);
}
