:root {
    /* Colores primarios */
    --verde-principal: #4CAF2F;
    --verde-oscuro: #1F6A1E;
    --verde-claro: #8BCF4D;
    
    /* Colores secundarios */
    --naranja-energia: #FF7A18;
    --rojo-acentos: #E5391A;
    --amarillo-luz: #FFC947;
    
    /* Colores neutros */
    --negro-profundo: #1C1C1C;
    --gris-oscuro: #3A3A3A;
    --gris-claro: #EDEDED;
    --blanco: #FFFFFF;
    
    /* Utilidades */
    --sombra-suave: 0 2px 4px rgba(0,0,0,0.1);
    --sombra-fuerte: 0 8px 16px rgba(0,0,0,0.15);
}

.body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 20px;
    background-color: var(--blanco);
    color: var(--gris-oscuro);
}

header {
    background: var(--verde-principal);
    padding: 2.5rem 2rem;
    text-align: center;
    color: var(--blanco);
    box-shadow: var(--sombra-fuerte);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--naranja-energia), var(--amarillo-luz));
}
img.logo {
    position: absolute;
    top: 50px;
    left: 50px;
}
img.logo-plaza {
    position: absolute;
    top: 40px;
    right: 40px;
}

section {
    margin-top: 2.5rem;
    padding: 2rem;
    background-color: var(--blanco);
    border-radius: 12px;
    box-shadow: var(--sombra-suave);
    text-align: center;
    border-top: 4px solid var(--verde-principal);
}
h1, h2 {
    color: var(--blanco);
    margin-bottom: 1rem;
    font-weight: 700;
    text-size-adjust: 16px;
}
h1 {
    font-size: 3rem;
}
h2 {
    font-size: 1.5rem;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    background: var(--naranja-energia);
    border-radius: 25px;
    color: var(--blanco);
    cursor: pointer;
    font-weight: 600;
    padding: 0.8rem 2rem;
    text-decoration: none;
    text-shadow: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    box-shadow: var(--sombra-fuerte);
    border: 2px solid transparent;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--rojo-acentos);
    transition: left 0.3s ease;
    z-index: -1;
}

nav ul li a:hover::before {
    left: 0;
}

nav ul li a:hover {
    background: var(--rojo-acentos);
    color: var(--blanco);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(229, 57, 26, 0.4);
    border-color: var(--rojo-acentos);
}

.contenedor {
    background-color: var(--verde-principal);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    font-size: 16px;
    width: 400px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: inline-table;
    margin: 0.5rem;
    height: 180px;
}
.contenedor-alumbrado {
    background-color: var(--verde-principal);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    font-size: 16px;
    width: 700px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: inline-table;
    margin: 0.5rem;
    height: 180px;
}

.contenedor-plaza {
    background-color: var(--verde-principal);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    font-size: 16px;
    width: 700px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: inline-table;
    margin: 0.5rem;
    height: 180px;
}

footer {
    margin-top: 4rem;
    padding: 2rem;
    background: var(--negro-profundo);
    color: var(--blanco);
    border-radius: 20px;
    box-shadow: var(--sombra-fuerte);
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.6;
}
button {
    position: fixed;
    bottom: 90px; /* 60px arriba del botón de ir al inicio */
    right: 30px;
    z-index: 101;
    /* background: linear-gradient(145deg, #25D366, #128C7E); */
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 6px;
    font-weight: bold;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    /* box-shadow: 5px 5px 10px #128C7E,
                -5px -5px 10px #25D366; */
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Estilos para el botón de contacto WhatsApp */
#whatsappBtn {
    position: fixed;
    bottom: 90px; /* 60px arriba del botón de ir al inicio */
    right: 30px;
    z-index: 101;
    background: linear-gradient(145deg, #25D366, #128C7E);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

#whatsappBtn:hover {
    box-shadow: inset 5px 5px 10px #128C7E,
                inset -5px -5px 10px #333;
    transform: translateY(-2px);
}

#inicioBtn {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 101;
    background: linear-gradient(145deg, #2d88ff, #0044ff);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: #333;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    box-shadow: 5px 5px 10px #babecc,
                -5px -5px 10px #ffffff;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

#inicioBtn:hover {
    box-shadow: inset 5px 5px 10px #128C7E,
                inset -5px -5px 10px #333;
    transform: translateY(-2px);
}

#web_evc {
    position: fixed;
    bottom: 160px;
    right: 30px;
    z-index: 101;
    background: linear-gradient(145deg, #cfe4ff, #a6bdd3);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: #333;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    box-shadow: 5px 5px 10px #babecc,
                -5px -5px 10px #ffffff;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

#web_evc:hover {
    box-shadow: inset 5px 5px 10px #128C7E,
                inset -5px -5px 10px #333;
    transform: translateY(-2px);
}

/* Gallery Carousel - Professional UX */
#imagenes {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

#imagenes .carousel {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    margin: 2rem 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--sombra-fuerte);
    background: linear-gradient(135deg, var(--verde-principal), var(--verde-oscuro));
}

#imagenes .carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

#imagenes .carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#imagenes .carousel-item.active {
    opacity: 1;
    transform: scale(1);
}

#imagenes .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#imagenes .carousel:hover .carousel-item img {
    transform: scale(1.02);
}

#imagenes .carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(76, 175, 80, 0.8);
    color: var(--blanco);
    border: 2px solid var(--blanco);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

#imagenes .carousel-control:hover {
    background: var(--verde-principal);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

#imagenes .carousel-control.prev {
    left: 20px;
}

#imagenes .carousel-control.next {
    right: 20px;
}

#imagenes .carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

#imagenes .indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

#imagenes .indicator.active,
#imagenes .indicator:hover {
    background: var(--blanco);
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--verde-claro);
}

/* Pausa en hover */
.carousel.paused .carousel-item {
    transition-duration: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    #imagenes .carousel {
        height: 50vh;
        min-height: 300px;
        border-radius: 15px;
        margin: 1.5rem 0;
    }
    
    #imagenes .carousel-control {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    #imagenes .carousel-control.prev {
        left: 15px;
    }
    
    #imagenes .carousel-control.next {
        right: 15px;
    }
}

/* ===== ESTILOS PÁGINA DE CONTACTO ===== */
#contacto-info, #redes-sociales, #horarios {
    background-color: var(--gris-claro);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
    border-radius: 20px;
    box-shadow: var(--sombra-fuerte);
    text-align: center;
}

#contacto-info h2, #redes-sociales h2, #horarios h2 {
    color: var(--verde-principal);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-container, .social-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1rem;
}

.contact-item, .social-link {
    background-color: var(--blanco);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--sombra-suave);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--gris-oscuro);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
}

.contact-item:hover, .social-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-fuerte);
}

.contact-link {
    text-decoration: none;
    color: var(--negro-profundo);
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.contact-link img {
    border-radius: 50%;
    /* border: 3px solid var(--naranja-energia); */
    transition: border-color 0.3s ease;
}

.contact-link:hover img {
    border-color: var(--rojo-acentos);
}

.social-link img {
    border-radius: 10px;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.social-link:hover img {
    transform: scale(1.05);
}

#horarios {
    background: linear-gradient(135deg, var(--verde-principal), var(--verde-oscuro));
    color: var(--blanco);
    padding: 2.5rem;
    border-radius: 25px;
    margin: 2rem auto;
    max-width: 600px;
    box-shadow: 0 12px 24px rgba(76, 175, 80, 0.3);
}

#horarios h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#horarios p {
    margin: 0.8rem 0;
    font-size: 1.15rem;
    line-height: 1.6;
}

/* ===== MEDIA  PÁGINA CONTACTO ===== */
@media (max-width: 768px) {

    .body {
        margin: 10px;
    }

    header {
        padding: 1rem;
    }

    img.logo {
        position: static;
        display: block;
        margin: 0 auto 1rem;
        width: 100px;
        height: auto;
    }

    img.logo-plaza {
        position: static;
        display: block;
        margin: 1rem auto 0;
        width: 100px;
        height: auto;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    nav ul li a {
        display: block;
        text-align: center;
    }

    .contenedor {
        width: 100%;
        max-width: 400px;
        height: auto;
        padding: 1rem;
        margin: 0.5rem auto;
    }

    .contenedor-alumbrado {
        width: 100%;
        max-width: 700px;
        height: auto;
        padding: 1rem;
        margin: 0.5rem auto;
    }

    .contenedor-plaza {
        width: 100%;
        max-width: 700px;
        height: auto;
        padding: 1rem;
        margin: 0.5rem auto;
    }

    .carousel {
        max-width: 100%;
        max-height: none;
    }

    .carousel-item img {
        max-height: 300px;
    }

    button, #whatsappBtn, #inicioBtn, #web {
        width: 40px;
        height: 40px;
        font-size: 18px;
        line-height: 40px;
    }

    #whatsappBtn {
        bottom: 70px;
        right: 20px;
    }

    #inicioBtn {
        bottom: 10px;
        right: 20px;
    }

    #web_evc {
        bottom: 130px;
        right: 20px;
    }
}


/* movimiento logo */

.bici-container {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden; /* oculta lo que se sale */
  background-color: transparent;
}

.bici-movimiento {
  position: absolute;
  top: 50%;
  left: -300px; 
  transform: translateY(-50%);
  width: 300px; 
  animation: pasarBici 5s linear infinite;
}

@keyframes pasarBici {
  0% {
    left: -350px;
  }
  100% {
    left: 100%;
  }
}
 

/* menu */

.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

/* ===== TARJETAS DE RESTAURANTES ===== */
.restaurante-card {
    background-color: var(--blanco);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    width: 280px;
    box-shadow: var(--sombra-suave);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 4px solid var(--verde-principal);
}

.restaurante-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sombra-fuerte);
}

.restaurante-logo {
    width: 120px;
    height: 120px;
    background-color: var(--gris-claro);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.2rem;
    overflow: hidden;
    border: 3px solid var(--verde-claro);
}

.restaurante-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.restaurante-nombre {
    color: var(--verde-oscuro);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.restaurante-direccion {
    color: var(--gris-oscuro);
    font-size: 0.95rem;
    margin: 0 0 1.5rem 0;
    line-height: 1.4;
}

.btn-ver-menu {
    background: linear-gradient(135deg, var(--verde-principal), var(--verde-oscuro));
    color: var(--blanco);
    text-decoration: none;
    padding: 0.7rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--sombra-suave);
    border: 2px solid transparent;
}

.btn-ver-menu:hover {
    background: var(--naranja-energia);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 122, 24, 0.4);
    border-color: var(--rojo-acentos);
}

/* ===== MEDIA QUERY TARJETAS RESTAURANTES ===== */
@media (max-width: 768px) {
    .restaurante-card {
        width: 90%;
        max-width: 320px;
        padding: 1.5rem;
    }

    .restaurante-logo {
        width: 100px;
        height: 100px;
    }

    .restaurante-nombre {
        font-size: 1.2rem;
    }

    .restaurante-direccion {
        font-size: 0.9rem;
    }

    .btn-ver-menu {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }
}



/* footer */
/* Footer & Redes Sociales */
.site-footer {
  background-color: var(--card-bg, #1e1e1e);
  border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  padding: 2.5rem 1rem;
  margin-top: 4rem;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.footer-text {
  color: var(--text-muted, #a0a0a0);
  font-size: 0.95rem;
  margin: 0;
}

.dev-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.dev-link:hover {
  color: var(--accent-color, #00d2ff);
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

/* Estilos base para los botones del footer */
.btn-dev-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Botón Sitio Web 360Digital */
.btn-web {
  background-color: transparent;
  color: #00d2ff;
  border: 1px solid #00d2ff;
}

.btn-web:hover {
  background-color: #00d2ff;
  color: #000;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.35);
  transform: translateY(-2px);
}

/* Botón Portafolio Samdersson */
.btn-portfolio {
  background-color: transparent;
  color: #a855f7;
  border: 1px solid #a855f7;
}

.btn-portfolio:hover {
  background-color: #a855f7;
  color: #fff;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.35);
  transform: translateY(-2px);
}

/* Botón Instagram */
.btn-instagram {
  background-color: transparent;
  color: #e1306c;
  border: 1px solid #e1306c;
}

.btn-instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.35);
  transform: translateY(-2px);
}

/* Botón WhatsApp */
.btn-whatsapp {
  background-color: transparent;
  color: #25d366;
  border: 1px solid #25d366;
}

.btn-whatsapp:hover {
  background-color: #25d366;
  color: #000;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  transform: translateY(-2px);
}

/* Ajuste responsivo para pantallas medianas/grandes */
@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* 📜 Scroll Vertical para el menú de categorías */
#dropdown-categorias {
  max-height: 300px; /* Altura máxima visible (ajusta este valor a tu gusto) */
  overflow-y: auto;  /* Activa la barra de desplazamiento vertical */
}

/* 🎨 Opcional: Estilo elegante y discreto para la barra de scroll */
#dropdown-categorias::-webkit-scrollbar {
  width: 6px;
}

#dropdown-categorias::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

#dropdown-categorias::-webkit-scrollbar-thumb {
  background: #333333;
  border-radius: 4px;
}

#dropdown-categorias::-webkit-scrollbar-thumb:hover {
  background: #ff0000; /* Resalta con el rojo de tu marca */
}