/* ===== STICKY HEADER + FILTROS ===== */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ===== ENCABEZADO ===== */
.header {
    background-image: url('/static/fondo_base.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 20%;
    height: 180px;
    width: 100%;
    color: white;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.header .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Contenedor flexible: izquierda - centro - derecha */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Lado izquierdo: teléfono */
.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 14px;
    flex: 0 0 auto;
}
.header-left i {
    font-size: 28px;
    color: #25D366; /* Color verde WhatsApp */
}
.header-left .llamanos {
    font-weight: bold;
    display: block;
    font-size: 14px;
    letter-spacing: 1px;
}
.header-left .telefonos {
    font-size: 13px;
    opacity: 0.9;
}

/* Centro: título y navegación */
.header-center {
    text-align: center;
    flex: 1;
}

.titulo-principal {
  /*  font-family: 'EB Garamond', 'Garamond', serif; */
    font-family: 'Georgia', 'Georgia', serif;



    font-weight: 700;
    font-size: 5rem;
    letter-spacing: 12px;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.subtitulo {
    font-family: 'Futura', 'Century Gothic', 'Trebuchet MS', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    letter-spacing: 4px;
    margin: -5px 0 10px 0;
    opacity: 0.9;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.header .nav-links {
    margin-top: 5px;
    font-size: 15px;
    letter-spacing: 1px;
}
.header .nav-links a {
    color: #ddd;
    text-decoration: none;
    margin: 0 18px;
    font-weight: bold;
    transition: color 0.3s ease;
}
.header .nav-links a:hover {
    color: #ff4444;
}

/* Lado derecho (vacío) */
.header-right {
    flex: 0 0 auto;
    width: 120px; /* Para equilibrio con la izquierda */
}

/* ===== ÍCONOS DE REDES SOCIALES (abajo derecha) ===== */
.social-icons {
    position: absolute;
    bottom: 12px;
    right: 25px;
    z-index: 2;
    display: flex;
    gap: 15px;
}
.social-icons a {
    color: white;
    font-size: 22px;
    transition: transform 0.3s, color 0.3s;
    text-decoration: none;
    opacity: 0.9;
}
.social-icons a:hover {
    transform: scale(1.2);
    color: #ff4444;
    opacity: 1;
}

/* ===== FILTROS ===== */
.filter-section {
    background: #f8f9fa;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}

/* ===== ENLACE VOLVER AL LISTADO ===== */
.volver-link {
    display: inline-block;
    margin: 15px 0 10px 0;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}
.volver-link i {
    margin-right: 8px;
}
.volver-link:hover {
    color: #d32f2f;
    text-decoration: underline;
}

/* ===== BOTÓN FLOTANTE WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

/* ===== PIE DE PÁGINA ===== */
.footer {
    background: #f8f9fa;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #ddd;
    margin-top: 30px;
    font-size: 14px;
    color: #666;
}

/* Estilos para el carrusel */
.carousel-item img {
    max-height: 500px;
    width: 100%;
    object-fit: contain;  /* Muestra la imagen completa sin recortar */
    background: #f8f9fa;
}

/* Flechas más visibles */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.6);
    border-radius: 50%;
    padding: 20px;
    background-size: 50% 50%;
}

/* Puntos indicadores más grandes */
.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    margin: 0 5px;
}
.carousel-indicators .active {
    background-color: #007bff;
    border-color: #007bff;
}