﻿/* ===== Footer ===== */
.site-footer {
    width: 100%;
    position: relative;
    color: white;
    padding: 0;
    background-color: transparent;
    overflow: hidden;
}

/* ===== Background — tunel ===== */

#tunnel-container {
    position: relative;
    width: 100%;
    min-height: 420px; /* FIX PRINCIPAL */
    overflow: hidden;
}

    #tunnel-container canvas {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        pointer-events: none;
    }

/* ===== Conținut peste fundal ===== */
.footer-content {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
  
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 50px;
    padding: 40px 120px;
    pointer-events: auto;
}

.footer-col {
    padding-right: 30px;
}

/* ===== Stil coloane ===== */
.footer-col h3,
.footer-col h4 {
    margin-bottom: 12px;
    font-size: 20px;
}

.footer-col p,
.footer-col ul li {
    opacity: 0.9;
    margin-bottom: 8px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col a {
    position: relative;
    color: white;
    text-decoration: none;
}

.footer-col a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

.footer-col a:hover::after {
    width: 100%;
}

/* ===== Text final ===== */
.footer-bottom {
    margin-top: 20px;
    text-align: center;
    opacity: 0.8;
    padding-bottom: 20px;
    color: slategrey;
}


@media (max-width: 950px) {



    /* ===== Footer ===== */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        padding: 20px;
        text-align: center;
        height:auto;
    }

    #tunnel-container {
        position: relative;
        width: 100%;
        min-height: 420px; /* IMPORTANT */
        overflow: hidden;
    }


}


    @media (max-width: 650px) {

        /* ===== FOOTER ===== */
        .footer-content {
            grid-template-columns: 1fr;
            padding: 15px;
            gap: 20px;
            height: auto;
        }
    }