/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */

.footer-section {
    position: relative;
    font-family: var(--default-serif-font-family), serif;
}

/* ==========================================================================
   MAIN FOOTER
   ========================================================================== */

.footer-main {
    background: var(--palette-blue-2);
    padding: 4rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-heading {
    font-family: var(--default-serif-font-family), serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin: 0;
    letter-spacing: 0.02em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.25s ease, padding-left 0.25s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--palette-yellow-3);
    padding-left: 0.25rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.footer-social a i {
    font-size: 1.125rem;
}

/* ==========================================================================
   BOTTOM FOOTER
   ========================================================================== */

.footer-bottom {
    background: #050b2b;
    height: 60px;
    overflow: hidden;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: 100%;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-brand {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    position: absolute;
    width: 150px;
    height: auto;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.1;
    animation: heartbeat 3s infinite;
}

@keyframes heartbeat {
    0% {
        transform: translateY(-50%) scale(1);
        opacity: 0.1;
    }
    25% {
        transform: translateY(-50%) scale(1.1);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-50%) scale(1);
        opacity: 0.1;
    }
    75% {
        transform: translateY(-50%) scale(1.1);
        opacity: 0.2;
    }
    100% {
        transform: translateY(-50%) scale(1);
        opacity: 0.1;
    }
    
}

.footer-brand-name {
    position: relative;
    font-family: "Inter", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: 0.05em;
    z-index: 1;
}

.footer-divider {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

.footer-quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;    
}

.footer-quick-links li {
    margin: 0;
}

.footer-quick-links a {
    font-size: 0.875rem;
    font-weight: 300;
    color: rgba(144, 159, 168, 0.8);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-quick-links a:hover {
    color: var(--palette-yellow-3);
}

.footer-bottom-right {
    display: flex;
    align-items: center;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(131, 145, 174, 0.7);
    margin: 0;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .footer-main {
        padding: 3rem 0 2.5rem;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }

    .footer-bottom-content {
        flex-wrap: wrap;
    }

    .footer-bottom-left {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 2.5rem 0 2rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-heading {
        font-size: 1rem;
    }

    .footer-links {
        gap: 0.5rem;
    }

    .footer-links a {
        font-size: 0.8125rem;
    }

    .footer-divider {
        display: none;
    }

    .footer-quick-links {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .footer-brand-name {
        font-size: 1.25rem;
    }
}
