@import url('https://fonts.googleapis.com/css2?family=Merriweather&display=swap');

.footer {
    display: flex;
    flex-direction: column; /* Asegura que los elementos se apilen verticalmente */
    background-color: #020013;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3.5rem;
    padding: 80px 13% 70px;
}

.footer-content h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 4px 4px 25px rgba(113, 102, 249, 1), 0px 0px 10px rgba(113, 102, 249, 1);
}

.footer-content li {
    margin-bottom: 16px;
    list-style: none;
}

    .footer-content li a {
        cursor: pointer;
        display: block;
        color: #d6d6d6;
        font-size: 15px;
        font-weight: 400;
        transition: all 0.2s ease;
    }

.footer-bottom {
    text-align: center;
    color: #ffffff;
    padding-bottom: 60px;
}


    .footer-bottom p {
        font-family: "Merriweather", serif;
        font-weight: 300;
        font-style: normal;
        margin-bottom: 0;
        margin: 2px 0;
        padding: 0;
        line-height: 1rem;
        letter-spacing: 0px;
        font-size: 11px;
        color: #e0e0e0;
    }

    .footer-bottom h1 {
        margin-bottom: 0;
        margin: 0px 0px 15px 0px !important;
        padding: 0;
    }


.footer-content li a:hover {
    text-shadow: 5px 5px 40px rgba(162, 82, 129, 1), 0 0 30px rgba(255, 105, 180, 0.9);
    transform: translateY(-2px) translateX(-3px);
    color: #ffffff;
    font-weight: 500;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .footer-grid {
        padding: 50px 8% 40px;
        gap: 2.5rem;
    }

    .footer-content h3 {
        font-size: 1.1rem;
    }

    .footer-content li a {
        font-size: 14px;
    }

    .footer-bottom h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        padding: 60px 8% 50px;
    }

    .footer-content {
        border-bottom: 1px solid #1a2a40;
        padding: 10px 0px;
    }

    .footer-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        color: #fff;
        font-size: 1.1rem;
        position: relative;
    }

        .footer-title::after {
            content: "+";
            font-size: 1.2rem;
            transition: transform 0.3s ease;
        }

        .footer-title.open::after {
            content: "-";
            transform: rotate(180deg);
        }

    .footer-links {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

        .footer-links.open {
            max-height: 500px;
            padding: 20px;
        }
}
