
/* ==========================================================
   TURN ON LEARNING
   MODERN NAVY BLUE FOOTER
   ========================================================== */


/* ==========================================================
   1. VARIABLES
   ========================================================== */

:root {
    --footer-background: #142b49;
    --footer-background-dark: #10223b;

    --footer-primary: #70c9ff;
    --footer-primary-dark: #a5ddff;

    --footer-text: #ffffff;
    --footer-text-muted: #b9cee7;

    --footer-border: rgba(195, 220, 248, 0.20);
}


/* ==========================================================
   2. MAIN FOOTER
   ========================================================== */

#site-footer {
    position: relative;

    display: block;
    width: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;

    color: var(--footer-text);

    background: linear-gradient(
        115deg,
        #1c3d65 0%,
        #142b49 48%,
        #10223b 100%
    );

    border-top: 3px solid #70c9ff;
}


/* ==========================================================
   3. FOOTER CONTAINER
   ========================================================== */

.footer-container {
    width: 100%;
    max-width: 1600px;

    margin: 0 auto;

    padding:
        72px
        clamp(24px, 5vw, 80px)
        25px;
}


/* ==========================================================
   4. MAIN GRID
   ========================================================== */

.footer-main {
    display: grid;

    grid-template-columns:
        minmax(260px, 1.7fr)
        minmax(150px, 1fr)
        minmax(150px, 1fr)
        minmax(150px, 1fr);

    gap: clamp(30px, 4vw, 65px);

    padding-bottom: 60px;
}


/* ==========================================================
   5. BRAND
   ========================================================== */

.footer-brand {
    max-width: 350px;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;

    max-width: 100%;

    text-decoration: none;
}

.footer-logo {
    display: block;

    width: 185px;
    max-width: 100%;
    height: auto;
    max-height: 85px;

    object-fit: contain;
}

.footer-brand-name {
    color: var(--footer-primary);

    font-size: 27px;
    font-weight: 800;

    letter-spacing: -0.8px;
}


/* ==========================================================
   6. TAGLINE
   ========================================================== */
/* ==========================================================
   6. TAGLINE — SOFT GOLD
   ========================================================== */

.footer-tagline {
    margin: 22px 0 12px;

    color: #F4D58D;

    font-size: 17px;
    font-weight: 650;

    line-height: 1.5;

    letter-spacing: 0.2px;
}


/* ==========================================================
   7. DESCRIPTION
   ========================================================== */

.footer-description {
    margin: 0;

    color: var(--footer-text-muted);

    font-size: 14.5px;
    font-weight: 400;

    line-height: 1.9;
}


/* ==========================================================
   8. FOOTER COLUMNS
   ========================================================== */

.footer-column {
    min-width: 0;
}

.footer-heading {
    position: relative;

    margin: 0 0 25px;
    padding-bottom: 15px;

    color: var(--footer-text);

    font-size: 16px;
    font-weight: 700;

    line-height: 1.4;
}


/* Φωτεινή γαλάζια γραμμή κάτω από τους τίτλους */

.footer-heading::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 35px;
    height: 3px;

    background: var(--footer-primary);

    border-radius: 5px;
}


/* ==========================================================
   9. FOOTER LINKS
   ========================================================== */

.footer-links {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 15px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-links li {
    margin: 0;
    padding: 0;
}


/* ==========================================================
   10. LINKS - ANIMATED BLUE UNDERLINE
   ========================================================== */

.footer-links a {
    position: relative;

    display: inline-block;

    padding-bottom: 5px;

    color: var(--footer-text-muted);

    font-size: 14.5px;
    font-weight: 500;

    line-height: 1.6;

    text-decoration: none;

    /*
       Ομαλή αλλαγή χρώματος.
       Δεν υπάρχει transform.
       Τα γράμματα παραμένουν ακίνητα.
    */

    transition: color 0.2s ease;
}


/* Hover χρώματος */

.footer-links a:hover {
    color: #ffffff;
}


/* Κρυφή φωτεινή γαλάζια γραμμή */

.footer-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--footer-primary);

    border-radius: 4px;

    transition: width 0.25s ease;
}


/* Εμφάνιση γραμμής από αριστερά προς δεξιά */

.footer-links a:hover::after,
.footer-links a:focus-visible::after {
    width: 100%;
}


/* ==========================================================
   11. FOOTER BOTTOM
   ========================================================== */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    padding-top: 25px;

    border-top: 1px solid var(--footer-border);
}


/* ==========================================================
   12. COPYRIGHT
   ========================================================== */

.footer-copyright {
    margin: 0;

    color: var(--footer-text-muted);

    font-size: 13px;
    line-height: 1.7;
}


/* ==========================================================
   13. LANGUAGE INDICATOR
   ========================================================== */

.footer-language-indicator {
    display: inline-flex;
    align-items: center;

    padding: 8px 13px;

    color: #e0f2ff;

    background: rgba(112, 201, 255, 0.12);

    border: 1px solid rgba(112, 201, 255, 0.28);
    border-radius: 9px;

    font-size: 12px;
    font-weight: 600;

    white-space: nowrap;
}


/* ==========================================================
   14. TABLET
   ========================================================== */

@media (max-width: 1100px) {

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 45px;
    }

    .footer-brand {
        max-width: 420px;
    }

    .footer-container {
        padding-top: 60px;
    }
}


/* ==========================================================
   15. MOBILE
   ========================================================== */

@media (max-width: 600px) {

    .footer-container {
        padding: 48px 22px 24px;
    }

    .footer-main {
        grid-template-columns: 1fr;

        gap: 38px;

        padding-bottom: 45px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-logo {
        width: 165px;
    }

    .footer-tagline {
        font-size: 16px;
    }

    .footer-description {
        font-size: 14px;
    }

    .footer-heading {
        margin-bottom: 18px;
    }

    .footer-links {
        gap: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;

        gap: 18px;
    }
}


/* ==========================================================
   16. ACCESSIBILITY
   ========================================================== */

.footer-brand-link:focus-visible,
.footer-links a:focus-visible {
    outline: 3px solid #70c9ff;
    outline-offset: 4px;
    border-radius: 3px;
}


/* ==========================================================
   17. REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    #site-footer *,
    #site-footer *::before,
    #site-footer *::after {
        transition: none !important;
        animation: none !important;
    }
}
