/* FOOTER CON EL COLOR ORIGINAL DE TU CSS (#2c3e50) */
footer {
    background: var(--dark); /* #2c3e50 - El color original de tu CSS */
    color: #ccc;
    text-align: center;
    padding: 40px 20px 25px;
    margin-top: auto;
    position: relative;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* PARTE SUPERIOR: LOGO Y CONTACTO */
.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 30px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-brand img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    border: 2px solid var(--primary); /* #31a1ce de tu CSS */
    padding: 3px;
    background: white;
}

.brand-info h3 {
    color: white;
    font-size: 24px;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.brand-info p {
    color: var(--primary); /* #31a1ce de tu CSS */
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    font-size: 15px;
}

.contact-item i {
    color: #e2a55e; /* Acento dorado, ajusta si tienes otro en tu CSS */
    font-size: 16px;
    width: 20px;
}

/* PARTE MEDIA: REDES SOCIALES */
.footer-social {
    text-align: center;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--primary); /* #31a1ce de tu CSS */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.social-text {
    color: #ccc;
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

/* PARTE INFERIOR: COPYRIGHT */
.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    margin: 8px 0;
    font-size: 14px;
    opacity: 0.9;
}

.footer-bottom strong {
    color: #e2a55e; /* Acento dorado */
    font-weight: 600;
}

.developer-credit {
    font-size: 13px !important;
    margin-top: 10px !important;
}

.developer-link {
    color: var(--primary) !important; /* #31a1ce de tu CSS */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.developer-link:hover {
    color: #e2a55e !important; /* Acento dorado */
}

/* RESPONSIVE - CONSISTENTE CON TU CSS */
@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .footer-brand {
        flex-direction: column;
        text-align: center;
    }
    
    .brand-info h3 {
        font-size: 22px;
    }
    
    .footer-contact {
        align-items: center;
    }
    
    .social-icons {
        gap: 12px;
    }
    
    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
    
    footer {
        padding: 35px 15px 20px;
    }
}

@media (max-width: 480px) {
    .footer-brand img {
        width: 50px;
        height: 50px;
    }
    
    .brand-info h3 {
        font-size: 20px;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .footer-bottom p {
        font-size: 13px;
    }
}

/* OVERLAY - MANTENIENDO TU ESTILO */
.overlay {
    display: none;
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 900;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay.active {
    opacity: 1;
    pointer-events: all;
}