/**
 * NextBio Website - Footer Styles
 */

/* Footer 기본 스타일 */
#footer.footer {
    background: #1d1d1d;
    padding: 60px 240px 80px 240px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

#footer .txt {
    display: flex;
    flex-direction: row;
    gap: 100px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
}

/* Footer Logo */
#footer .logo {
    flex-shrink: 0;
    width: 130px;
    height: 32px;
    position: relative;
}

#footer .logo2 {
    width: 99.38%;
    height: 100%;
    position: absolute;
    right: 0.62%;
    left: 0%;
    bottom: 0%;
    top: 0%;
    overflow: visible;
}

/* Footer Info List */
#footer .ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
}

#footer .div {
    color: #dfdfdf;
    text-align: left;
    font-family: var(--p-14-m-font-family);
    font-weight: var(--font-weight-medium);
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    position: relative;
}

#footer .li {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
}

#footer .address-text,
#footer .tel-text,
#footer .fax-text,
#footer .email-text {
    color: #dfdfdf;
    text-align: left;
    font-family: var(--p-14-m-font-family);
    font-weight: var(--font-weight-medium);
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    position: relative;
}

#footer .line-5 {
    flex-shrink: 0;
    width: 1px;
    min-width: 1px;
    height: 20px;
    border: none;
    border-left: 1px solid #808284;
    opacity: 0.5;
    align-self: center;
    position: relative;
}

#footer .copyright-text {
    color: #dfdfdf;
    text-align: left;
    font-family: var(--p-14-m-font-family);
    font-weight: var(--font-weight-medium);
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    position: relative;
}

/* Footer Links */
#footer .p {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
}

#footer .div2 {
    color: #dfdfdf;
    text-align: left;
    font-family: var(--p-14-m-font-family);
    font-weight: var(--font-weight-medium);
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    position: relative;
}

#footer .div2 a {
    color: #dfdfdf;
    text-decoration: none;
    transition: color 0.3s ease;
}

#footer .div2 a:hover {
    color: #8dc63f;
}

#footer .line-6 {
    flex-shrink: 0;
    width: 1px;
    min-width: 1px;
    height: 18px;
    border: none;
    border-left: 1px solid #808284;
    opacity: 0.5;
    align-self: center;
    position: relative;
}

/* 반응형 */
@media (max-width: 1440px) {
    #footer.footer {
        padding: 60px 120px 80px 120px;
    }
    
    #footer .txt {
        gap: 80px;
    }
}

@media (max-width: 1024px) {
    #footer.footer {
        padding: 40px 40px 60px 40px;
        flex-direction: column;
        gap: 40px;
    }
    
    #footer .txt {
        gap: 60px;
        flex-direction: column;
    }
    
    #footer .p {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    #footer.footer {
        padding: 40px 20px 60px 20px;
    }
    
    #footer .txt {
        gap: 30px;
    }
    
    #footer .ul {
        gap: 8px;
    }
    
    #footer .li {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    #footer .p {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    #footer .line-6 {
        display: none;
    }
    
    /* 모바일에서 글씨 크기 더 작게 */
    #footer .div,
    #footer .address-text,
    #footer .tel-text,
    #footer .fax-text,
    #footer .email-text,
    #footer .copyright-text,
    #footer .div2 {
        font-size: 14px;
        line-height: 20px;
    }
    
    #footer .line-5 {
        height: 18px;
    }
}
