/**
 * Footer CSS
 * @package SportBreak
 */

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Footer Columns */
.site-footer__col {
    min-width: 0;
}

.site-footer__col h4 {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--yellow);
}

.site-footer__col h4 a {
    color: inherit;
    text-decoration: none;
}

.site-footer__col ul {
    list-style: none;
}

.site-footer__col > ul > li {
    margin-bottom: 10px;
}

.site-footer__col > ul > li > a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.site-footer__col > ul > li > a:hover {
    color: var(--white);
}

/* Sub-columns (Particuliers / Entreprises) */
.site-footer__subcol {
    margin-bottom: 20px;
}

.site-footer__subcol:last-child {
    margin-bottom: 0;
}

.site-footer__subcol h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.site-footer__subcol h5 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer__subcol h5 a:hover {
    color: var(--yellow);
}

.site-footer__subcol ul li {
    margin-bottom: 8px;
}

.site-footer__subcol ul li a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 13px;
    padding-left: 12px;
    position: relative;
    transition: color 0.3s;
}

.site-footer__subcol ul li a:hover {
    color: var(--white);
}

.site-footer__subcol ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: background 0.3s;
}

.site-footer__subcol ul li a:hover::before {
    background: var(--yellow);
}

/* Sub-pages nested list (ex: Anniversaires > enfant, ado, adulte) */
.site-footer__subcol ul ul {
    margin-top: 6px;
    padding-left: 10px;
}

.site-footer__subcol ul ul li {
    margin-bottom: 5px;
}

.site-footer__subcol ul ul li a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* Footer Logo */
.site-footer__logo {
    margin-bottom: 25px;
}

.site-footer__logo a {
    display: inline-block;
}

.site-footer__logo img {
    height: 80px;
    width: auto;
}

.site-footer__description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Contact info */
.site-footer__contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.site-footer__contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    text-decoration: none;
    transition: none;
}

.site-footer__contact-link span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.4;
    transition: color 0.3s;
}

.site-footer__contact-link:hover span {
    color: var(--white);
}

.site-footer__contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.site-footer__contact-icon i {
    color: var(--yellow);
    font-size: 13px;
}

/* Social Links */
.site-footer__social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.site-footer__social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}

.site-footer__social a:hover {
    background: var(--yellow);
    color: var(--dark);
    transform: translateY(-2px);
}

/* CTA Buttons */
.site-footer__ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
}

.site-footer__ctas .btn {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--dark);
    background: var(--yellow);
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.site-footer__ctas .btn:hover {
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 194, 31, 0.4);
}

/* Footer Bottom */
.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.site-footer__bottom a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer__bottom a:hover {
    color: var(--white);
}

.site-footer__legal {
    display: flex;
    gap: 20px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 992px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 50px 0 25px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .site-footer__col--brand {
        text-align: center;
    }

    .site-footer__contact-info {
        grid-template-columns: 1fr 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .site-footer__social {
        justify-content: center;
    }

    .site-footer__ctas {
        flex-direction: row;
        justify-content: center;
    }

    .site-footer__bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .site-footer__legal {
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .site-footer__contact-info {
        grid-template-columns: 1fr;
    }

    .site-footer__contact-link {
        gap: 16px;
    }
}
