#section-footer {
    width: 100%;
    background-color: #555;
    position: relative;
}

#section-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/img/figma/images/779f5020719b6d0f4de7fd81a85e791321882a56.webp");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100%;
    opacity: 0.5;
    z-index: 0;
}

#section-footer > * {
    position: relative;
    z-index: 1;
}

.site-footer {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: auto;
    min-height: 380px;
    backdrop-filter: blur(5px);
    overflow: hidden;
    padding: 40px 0 20px;
    box-sizing: border-box;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.bg-texture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    mix-blend-mode: lighten;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
}

.logo-icon {
    width: 28px;
    height: auto;
}

.logo-text {
    width: 88px;
    height: auto;
}

/* ÃÅ¾ÃÂ¡ÃÂÃÅ¾Ãâ€™ÃÂÃÂ«Ãâ€¢ ÃËœÃâ€”ÃÅ“Ãâ€¢ÃÂÃâ€¢ÃÂÃËœÃÂ¯ ÃÂÃÂÃÂ§ÃËœÃÂÃÂÃÂ®ÃÂ¢ÃÂ¡ÃÂ¯ Ãâ€”Ãâ€Ãâ€¢ÃÂ¡ÃÂ¬ */

/* Ãâ€ÃÂ»Ã‘Â ÃÂ¼ÃÂ¾ÃÂ±ÃÂ¸ÃÂ»Ã‘Å’ÃÂ½Ã‘â€¹Ã‘â€¦ Ã‘Æ’Ã‘ÂÃ‘â€šÃ‘â‚¬ÃÂ¾ÃÂ¹Ã‘ÂÃ‘â€šÃÂ² (ÃÂ¿ÃÂ¾ Ã‘Æ’ÃÂ¼ÃÂ¾ÃÂ»Ã‘â€¡ÃÂ°ÃÂ½ÃÂ¸Ã‘Å½) */
.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.footer-left-group {
    display: flex;
    flex-direction: column;
    /* gap: 30px; */
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.nav-col {
    min-width: 130px;
}

.legal-col {
    max-width: 100%;
}

.contact-col {
    min-width: 250px;
    text-align: center;
}

.footer-right-spacer {
    display: none; /* ÃÂÃÂ° ÃÂ¼ÃÂ¾ÃÂ±ÃÂ¸ÃÂ»Ã‘Å’ÃÂ½Ã‘â€¹Ã‘â€¦ ÃÂ½ÃÂµ ÃÂ½Ã‘Æ’ÃÂ¶ÃÂµÃÂ½ */
}

/* ÃÂ¡Ã‘â€šÃÂ¸ÃÂ»ÃÂ¸ ÃÂ´ÃÂ»Ã‘Â Ã‘â€šÃÂµÃÂºÃ‘ÂÃ‘â€šÃÂ¾ÃÂ² ÃÂ¸ Ã‘ÂÃ‘ÂÃ‘â€¹ÃÂ»ÃÂ¾ÃÂº ÃÂ¾Ã‘ÂÃ‘â€šÃÂ°Ã‘Å½Ã‘â€šÃ‘ÂÃ‘Â ÃÂ±ÃÂµÃÂ· ÃÂ¸ÃÂ·ÃÂ¼ÃÂµÃÂ½ÃÂµÃÂ½ÃÂ¸ÃÂ¹ */
.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    font-size: 14px;
    line-height: 1.4;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 0.8;
}

.legal-links li {
    margin-bottom: 12px;
}

.legal-links a {
    font-size: 14px;
    line-height: 0;
    opacity: 0.9;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.contact-icon {
    width: 24px;
    height: auto;
    flex-shrink: 0;
}

.contact-text {
    font-size: 16px;
    color: #ffffff;
    white-space: nowrap;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.social-link {
    display: block;
    width: 32px;
    height: 32px;
    transition: transform 0.2s;
}

.social-link:hover {
    transform: scale(1.1);
}

.merged-icon-wrapper {
    position: relative;
}

.merged-icon {
    position: relative;
    width: 32px;
    height: 32px;
}

.footer-copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: auto;
}

.footer-copyright p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Ãâ€Ãâ€ºÃÂ¯ ÃÅ¸Ãâ€ºÃÂÃÂÃÂ¨Ãâ€¢ÃÂ¢ÃÅ¾Ãâ€™ ÃËœ Ãâ€˜ÃÅ¾Ãâ€ºÃÂ¬ÃÂ¨Ãâ€¢ (768px ÃÂ¸ ÃÂ²Ã‘â€¹Ã‘Ë†ÃÂµ) */
@media (min-width: 768px) {
    .footer-content {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        grid-template-areas: "left-group center right-spacer";
        align-items: start;
        gap: 0;
        margin-bottom: 60px;
    }

    .footer-left-group {
        grid-area: left-group;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        /* gap: 50px; */
        padding-right: 50px; /* ÃÅ¾Ã‘â€šÃ‘ÂÃ‘â€šÃ‘Æ’ÃÂ¿ ÃÂ´ÃÂ¾ Ã‘â€ ÃÂµÃÂ½Ã‘â€šÃ‘â‚¬ÃÂ° */
        box-sizing: border-box;
    }

    .nav-col {
        min-width: 130px;
        margin-right: 0;
    }

    .legal-col {
        max-width: 182px;
        margin-right: 0;
    }

    .contact-col {
        grid-area: center;
        position: relative;
        left: 0;
        transform: none;
        margin-left: 0;
        min-width: 250px;
        text-align: center;
        padding: 0 20px;
    }

    .footer-right-spacer {
        grid-area: right-spacer;
        display: block;
        width: 100%;
    }

    /* ÃÂ¦ÃÂµÃÂ½Ã‘â€šÃ‘â‚¬ÃÂ¸Ã‘â‚¬Ã‘Æ’ÃÂµÃÂ¼ ÃÂºÃÂ¾ÃÂ½Ã‘â€šÃÂ°ÃÂºÃ‘â€šÃ‘â€¹ */
    .contact-item {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Ãâ€ÃÂ»Ã‘Â ÃÂ±ÃÂ¾ÃÂ»Ã‘Å’Ã‘Ë†ÃÂ¸Ã‘â€¦ Ã‘ÂÃÂºÃ‘â‚¬ÃÂ°ÃÂ½ÃÂ¾ÃÂ² (992px ÃÂ¸ ÃÂ²Ã‘â€¹Ã‘Ë†ÃÂµ) */
@media (min-width: 992px) {
    .footer-content {
        grid-template-columns: calc(50% - 125px) auto calc(50% - 125px);
        /* 125px = ÃÂ¿ÃÂ¾ÃÂ»ÃÂ¾ÃÂ²ÃÂ¸ÃÂ½ÃÂ° Ã‘Ë†ÃÂ¸Ã‘â‚¬ÃÂ¸ÃÂ½Ã‘â€¹ contact-col (250px/2) */
    }

    .footer-left-group {
        /* justify-content: flex-end; */
        padding-right: 0;
        /* gap: 60px; */
    }

    .contact-col {
        padding: 0;
    }
}

/* Ãâ€ÃÂ»Ã‘Â ÃÂ¾Ã‘â€¡ÃÂµÃÂ½Ã‘Å’ ÃÂ±ÃÂ¾ÃÂ»Ã‘Å’Ã‘Ë†ÃÂ¸Ã‘â€¦ Ã‘ÂÃÂºÃ‘â‚¬ÃÂ°ÃÂ½ÃÂ¾ÃÂ² (1200px ÃÂ¸ ÃÂ²Ã‘â€¹Ã‘Ë†ÃÂµ) */
@media (min-width: 1200px) {
    .container {
        padding: 0;
    }

    .footer-content {
        grid-template-columns: 475px auto 475px;
        /* 575px + 250px + 575px = 1400px (Ã‘Â Ã‘Æ’Ã‘â€¡ÃÂµÃ‘â€šÃÂ¾ÃÂ¼ padding) */
    }

    .footer-left-group {
        /* justify-content: flex-end; */
        /* gap: 80px; */
    }
}

/* Ãâ€ÃÂ»Ã‘Â ÃÂ¼ÃÂ¾ÃÂ±ÃÂ¸ÃÂ»Ã‘Å’ÃÂ½Ã‘â€¹Ã‘â€¦ Ã‘Æ’Ã‘ÂÃ‘â€šÃ‘â‚¬ÃÂ¾ÃÂ¹Ã‘ÂÃ‘â€šÃÂ² (767px ÃÂ¸ ÃÂ¼ÃÂµÃÂ½Ã‘Å’Ã‘Ë†ÃÂµ) */
@media (max-width: 767px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

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

    #section-footer::before{
        background-size: cover;
    }

    .legal-col {
        max-width: 100%;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-copyright {
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }

    .contact-col {
        text-align: left;
    }
}