/* ==========================================================================
   Footer Styles
   ========================================================================== */

/**
 * Ta datoteka vsebuje stile za nogo (footer) spletne strani.
 *
 * 1. Glavni kontejner za nogo
 * 2. Vsebina noge (informacije, logotip, socialne ikone)
 * 3. Povezave v nogi
 * 4. Spodnji del noge (copyright, pravne povezave)
 * 5. Stili za nogo na mobilnih napravah
 */

/* 1. Glavni kontejner za nogo */

footer {
    background: #2D738C;
    color: #FFFFFF;
    padding: 64px 0 88px;
}

.footer-container {
    width: 1280px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    margin-bottom: 64px;
}

/* 2. Vsebina noge (informacije, logotip, socialne ikone) */

.footer-info {
    width: 302px;
}

.footer-logo {
    margin-bottom: 48px;
}

.footer-logo img {
    height: auto;
    width: 200px; 
    object-fit: contain;
}

.footer-info p.footer-legal-name {
    margin: -24px 0 20px;
    max-width: 302px;
}

.footer-info p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.footer-info p a {
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.15s ease;
}

.footer-info p a:hover {
    opacity: 0.75;
}

.social-icons {
    display: flex;
    gap: 24px;
}

.social-icons a {
    color: #FFFFFF;
    font-size: 24px;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.social-icons a:hover {
    opacity: 0.75;
}

/* 3. Povezave v nogi */

.footer-links {
    display: flex;
    gap: 32px;
}

.links-column {
    width: 192px;
}

.links-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 24px 0;
}

.links-column a {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 16px;
    transition: opacity 0.15s ease;
}

.links-column a:hover,
.legal-links a:hover {
    opacity: 0.75;
    text-decoration: underline;
}

/* 4. Spodnji del noge (copyright, pravne povezave) */

footer hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    margin: 0 0 24px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a {
    color: #FFFFFF;
    text-decoration: none;
}

/* Website build credit */
.footer-credit {
    margin-top: 20px;
    text-align: center;
    font-size: 12.5px; line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
}
.footer-credit a { color: rgba(255, 255, 255, 0.8); text-decoration: underline; text-underline-offset: 2px; }
.footer-credit a:hover { color: #FFFFFF; }

/* Site-wide informative disclaimer (present on every page's footer) */
.footer-disclaimer {
    max-width: 980px; margin: 26px auto 0; padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 12px; line-height: 18px;
    color: rgba(255, 255, 255, 0.6); text-align: center;
}
.footer-disclaimer a { color: rgba(255, 255, 255, 0.85); text-decoration: underline; text-underline-offset: 2px; }
.footer-disclaimer a:hover { color: #FFFFFF; }


/* ==========================================================================
   Mobile Footer Styles
   ========================================================================== */

@media (max-width: 768px) {
    
    footer {
        padding: 0;
    }

    .footer-container {
        width: 100%;
        padding: 0 24px;
    }

    .footer-main {
        flex-direction: column;
        align-items: flex-start;
        padding: 48px 0;
        gap: 48px;
        margin-bottom: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }

    .footer-info {
        width: 100%;
    }

    .footer-logo img {
        max-width: 161px;
        height: auto;
    }

    .footer-links {
        flex-direction: column;
        gap: 40px;
        width: 100%;
    }

    .links-column {
        width: 100%;
    }

    footer hr {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 32px;
        padding: 40px 0;
        align-items: flex-start;
    }

    .legal-links {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
}