/* footer start */
footer {
    background: #1a1a1a;
    color: white;
    padding: 20px 24px 40px;
}

.container.footer {
    padding: 0;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    justify-content: space-between;
    gap: 26px;
    align-items: center;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.footer-links a {
    color: var(--color-gray-400);
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.separator {
    position: relative;
    width: 24px;
    height: 12px;
    display: flex;
    align-self: center;
    max-height: 24px;
}

.separator:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    height: 12px;
    width: 1px;
    margin: 0 12px;
    background-color: var(--color-gray-400);
}

.separator.white:before {
    background-color: #ffffff;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-social nav {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.footer-info-text>div {
    display: flex;
}

.news-header-title {
    color: var(--color-gray-800);
    white-space: nowrap;
}

.family-site-button {
    padding: 8px 14px;
    padding-right: 40px;
    border: 1px solid white;
    background: transparent;
    background-image: url("/resources/main-new/icons/icon-arrow-down-white.png");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 24px 24px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-width: 200px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.family-site-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.family-site-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.family-site-button:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

.family-site-button option {
    background: #262b32;
    color: white;
    font-size: 14px;
    padding: 8px;
}

.footer-divider {
    height: 1px;
    background: #71717a;
    margin: 20px 0;
}

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

.footer-info {
    display: flex;
    flex-direction: row;
    gap: 40px;
    color: var(--color-gray-400);
}

/* footer end  */

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 32px;
    right: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    z-index: 50;
    opacity: 0;
    transform: translateX(80px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.floating-buttons.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.full-menu.active~main .floating-buttons,
body:has(.full-menu.active) .floating-buttons {
    opacity: 0;
    transform: translateX(80px);
    pointer-events: none;
}

.floating-btn {
    background: white;
    border-radius: 9999px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.floating-btn:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.vr-map-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 4px 10px 4px 4px;
}

.vr-map-icon {
    width: 43px;
    height: 43px;
    background: var(--color-blue-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vr-map-icon img {
    width: 32px;
    height: 32px;
}

.vr-map-text {
    color: var(--color-blue-main);
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
}

.scroll-btn {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-btn svg {
    width: 19px;
    height: 19px;
}

/* media query start */
@media (min-width: 1920px) {
    footer {
        padding: 20px 24px 40px;
    }
}

@media (min-width: 1601px) and (max-width: 1919px) {
    footer {
        padding: 20px 24px 40px;
    }
}

@media (min-width: 1400px) and (max-width: 1600px) {
    footer {
        padding: 20px 24px 40px;
    }
}

@media (max-width: 1399px) {
    footer {
        padding: 20px 24px 40px;
    }
}

@media (max-width: 1199px) {
    footer {
        padding: 20px 24px 40px;
    }

    .footer-top {
        width: 100%;
    }

    .footer-social {
        width: 100%;
        justify-content: space-between;
    }
}

/* Floating Buttons */
@media (max-width: 1023px) {
    .floating-buttons {
        bottom: 24px;
        right: 24px;
    }

    .vr-map-btn {
        width: 130px;
    }

    .vr-map-text {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    footer {
        padding: 32px 16px;
        width: 100%;
    }

    footer div.container {
        padding: 0px;
    }

    .footer-top {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .footer-links {
        flex-direction: row;
        flex-shrink: 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .footer-links a {
        white-space: nowrap;
        font-size: 13px;
    }

    /* .separator {
          display: none;
      } */

    .footer-social {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 26px;
    }

    .footer-social nav {
        gap: 24px;
    }

    .family-site-button {
        display: none;
        /* padding: 10px 16px;
          padding-right: 36px;
          font-size: 12px;
          min-width: 180px;
          background-size: 20px 20px;
          background-position: right 12px center; */
    }

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

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

    .footer-info-text,
    .footer-info-text>div:nth-of-type(2) {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .footer-info-text>div:nth-of-type(2)>.separator {
        display: none;
    }

    .footer-seoul {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer-seoul img {
        width: 102px;
        height: 64px;
    }

    /* Floating Buttons */
    .floating-buttons {
        bottom: 16px;
        right: 16px;
        gap: 10px;
    }

    .vr-map-btn {
        width: 120px;
        height: 44px;
        padding: 0 4px;
    }

    .vr-map-icon {
        width: 36px;
        height: 36px;
    }

    .vr-map-text {
        font-size: 13px;
    }

    .scroll-btn {
        width: 44px;
        height: 44px;
    }

    .scroll-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 32px 16px;
    }

    .floating-buttons {
        bottom: 12px;
        right: 12px;
    }
}

/* media query end */