/* ============================================
   FOOTER
   ============================================ */

footer {
    background: #000000;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Gradiente animado de fondo */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        45deg,
        #000000 0%,
        #1a1a1a 25%,
        rgba(255, 215, 0, 0.05) 35%,
        #1a1a1a 45%,
        #000000 55%,
        #1a1a1a 65%,
        rgba(255, 165, 0, 0.05) 75%,
        #1a1a1a 85%,
        #000000 100%
    );
    animation: gradientMove 20s ease infinite;
    pointer-events: none;
}

@keyframes gradientMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-25%);
    }
}

/* Partículas flotantes */
footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 165, 0, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 215, 0, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 60% 20%, rgba(255, 165, 0, 0.05) 0%, transparent 45%);
    animation: particleFloat 25s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.6;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.8;
    }
}

/* ============================================
   FOOTER MAIN
   ============================================ */

.footer-main {
    padding: 4rem 4rem 15rem 4rem; /* ← ESTE está pisando al primero */
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 5rem; /* antes: 3rem */
    max-width: 1400px;
    margin: 0 auto;
}
/* ============================================
   COLUMNAS DEL FOOTER
   ============================================ */

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Logo del Footer */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.footer-logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    padding: 3px;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.footer-logo-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

/* Descripción */
.footer-description {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    text-align: justify; /* ← agregar esto */
}
/* Información de Contacto */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ccc;
    font-size: 0.9rem;
    text-align: justify; /* ← agregar esto */
}

.footer-contact-item i {
    color: #FFD700;
    font-size: 1rem;
    min-width: 20px;
}

/* ============================================
   TÍTULOS DE COLUMNAS
   ============================================ */

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #FFD700;
    margin: 0 0 1rem 0;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, transparent);
    border-radius: 2px;
}

/* ============================================
   ENLACES DEL FOOTER
   ============================================ */

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    padding: 0.3rem 0;
}

.footer-links li a i {
    color: #FFD700;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.footer-links li a:hover {
    color: #FFD700;
    transform: translateX(5px);
}

.footer-links li a:hover i {
    transform: translateX(3px);
}

/* ============================================
   HORARIOS
   ============================================ */

.footer-schedule {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 10px;
    border-left: 3px solid #FFD700;
}

.schedule-item i {
    color: #FFD700;
    font-size: 1.3rem;
    min-width: 25px;
    margin-top: 0.2rem;
}

.schedule-item div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.schedule-item strong {
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap; /* ← también para el título */
}

.schedule-item span {
    color: #ccc;
    font-size: 0.85rem;
    white-space: nowrap; /* ← evita que el texto corte a la siguiente línea */
}

/* ============================================
   REDES SOCIALES
   ============================================ */

.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.social-icon.facebook {
    background: linear-gradient(135deg, #1877F2, #0C63D4);
}

.social-icon.facebook:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.5);
}

.social-icon.instagram {
    background: linear-gradient(135deg, #E4405F, #C13584, #833AB4);
}

.social-icon.instagram:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.5);
}

.social-icon.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.social-icon.whatsapp:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.social-icon.tripadvisor {
    background: linear-gradient(135deg, #00AF87, #008C6F);
}

.social-icon.tripadvisor:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 175, 135, 0.5);
}

/* ============================================
   FOOTER BOTTOM - MEJORADO PARA EVITAR DESVANECIMIENTO
   ============================================ */

.footer-bottom {
    background: #000000;
    padding: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
    z-index: 10; /* Asegurar que esté por encima de todos los efectos */
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.copyright {
    color: #999;
    font-size: 0.95rem;
    margin: 0 0 0.5rem 0;
    opacity: 1 !important; /* Forzar opacidad completa */
}

.developer {
    color: #999; /* Cambio de #666 a #999 para mejor visibilidad */
    font-size: 0.9rem;
    margin: 0;
    opacity: 1 !important; /* Forzar opacidad completa */
}

.developer i {
    color: #FF5722;
    animation: heartbeat 1.5s ease-in-out infinite;
    display: inline-block; /* Evitar problemas de renderizado */
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1);
    }
}

.developer a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    opacity: 1 !important; /* Forzar opacidad completa */
}

.developer a:hover {
    color: #FFA500;
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 3.5rem; /* antes: 2.5rem */
    }
    
    .footer-column:last-child {
        grid-column: 1 / -1;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-column:first-child {
        grid-column: 1 / -1;
    }
    
    .footer-column:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 3rem 1.5rem 2rem 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-contact-info {
        align-items: center;
    }
    
    .footer-links li a {
        justify-content: center;
    }
    
    .schedule-item {
        justify-content: center;
        text-align: left;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 2.5rem 1rem 1.5rem 1rem;
    }
    
    .footer-logo h3 {
        font-size: 1.5rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .footer-title {
        font-size: 1.2rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .footer-bottom {
        padding: 1.5rem 1rem;
    }
    
    .copyright,
    .developer {
        font-size: 0.85rem;
    }
}


/* ============================================
   EFECTOS DINÁMICOS DEL FOOTER - CSS
   ============================================ */

/* Container de partículas */
.footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Partículas individuales */
.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: particleFloat 5s ease-in-out infinite;
}

/* Efecto de brillo del mouse */
.footer-mouse-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
    z-index: 1;
}

/* Ondas de fondo */
.footer-waves-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.footer-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: waveMove 15s ease-in-out infinite;
}

.footer-wave:nth-child(1) {
    animation-duration: 20s;
    animation-delay: 0s;
}

.footer-wave:nth-child(2) {
    animation-duration: 15s;
    animation-delay: 2s;
}

@keyframes waveMove {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(-5%) translateY(-10px);
    }
}

/* Grid de puntos */
.footer-dot-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(30, 1fr);
    grid-template-rows: repeat(15, 1fr);
    gap: 0;
    z-index: 0;
    opacity: 0.3;
}

.footer-dot {
    width: 2px;
    height: 2px;
    background: rgba(255, 215, 0, 0.4);
    border-radius: 50%;
    margin: auto;
    animation: dotPulse 3s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.5);
    }
}

/* Canvas de constelación */
.footer-constellation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* Efecto de resplandor pulsante en esquinas */
footer .corner-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(60px);
    animation: cornerPulse 4s ease-in-out infinite;
    pointer-events: none;
}

footer .corner-glow-1 {
    top: -100px;
    left: -100px;
    background: rgba(255, 215, 0, 0.1);
}

footer .corner-glow-2 {
    bottom: -100px;
    right: -100px;
    background: rgba(255, 165, 0, 0.1);
    animation-delay: 2s;
}

@keyframes cornerPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* Líneas decorativas animadas */
.footer-animated-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.5), transparent);
    animation: lineSlide 8s linear infinite;
}

.footer-animated-line-1 {
    top: 20%;
    width: 200px;
    left: -200px;
}

.footer-animated-line-2 {
    top: 60%;
    width: 150px;
    left: -150px;
    animation-delay: 4s;
}

@keyframes lineSlide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(100vw + 200px));
    }
}



/* Optimización para móviles */
@media (max-width: 768px) {
    .footer-mouse-glow,
    .footer-dot-grid,
    .footer-constellation,
    .corner-glow,
    .footer-animated-line,
    .footer-scan-line {
        display: none;
    }
    
    .footer-particles .particle {
        display: none;
    }
    
    /* Mantener solo las ondas en móvil */
    .footer-waves-bg {
        opacity: 0.5;
    }
}

/* Reducir efectos si el usuario prefiere menos movimiento */
@media (prefers-reduced-motion: reduce) {
    .footer-particles .particle,
    .footer-mouse-glow,
    .footer-waves-bg,
    .footer-dot-grid,
    .footer-constellation,
    .corner-glow,
    .footer-animated-line,
    .footer-scan-line {
        animation: none !important;
        opacity: 0.1 !important;
    }
}

/* Efecto de aurora boreal sutil */
.footer-aurora {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(255, 215, 0, 0.05) 0%,
        transparent 30%,
        rgba(255, 165, 0, 0.03) 60%,
        transparent 100%
    );
    animation: auroraMove 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes auroraMove {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateX(20%) rotate(2deg);
        opacity: 0.6;
    }
}

/* Capa de textura sutil */
footer .texture-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M30 30m-1 0a1 1 0 1 0 2 0 1 1 0 1 0-2 0' fill='%23FFD700' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.3;
    animation: textureShift 30s linear infinite;
    z-index: 0;
}

@keyframes textureShift {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 60px 60px;
    }
}