/* 푸터 스타일 */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr) 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 20px;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gold-accent);
    border-radius: 2px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gold-accent);
    border-radius: 2px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--gold-accent);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* 스크롤 프로그레스 바 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gold-accent);
    width: 0%;
    z-index: 9999;
    transition: width 0.1s ease;
}

/* 반응형 스타일 - 개선된 버전 */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1.5fr repeat(3, 1fr);
        gap: 25px;
    }
    
    .footer-contact {
        grid-column: span 4;
        margin-top: 20px;
    }
    
    .social-icons {
        justify-content: flex-start;
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-logo {
        grid-column: span 2;
    }
    
    .footer-contact {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 50px 0 25px;
        margin-top: 60px;
    }
    
    .footer-grid {
        gap: 25px;
    }
    
    .footer-logo img {
        height: 45px;
    }
    
    .footer-links h4, .footer-contact h4 {
        font-size: 1.1rem;
        margin-bottom: 18px;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }
    
    .footer-links a, .footer-contact p {
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-logo, .footer-contact {
        grid-column: span 1;
    }
    
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-contact {
        padding-top: 10px;
    }
    
    .social-icons {
        margin-top: 15px;
        justify-content: center;
    }
    
    .footer-bottom {
        padding-top: 20px;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 30px 0 20px;
        margin-top: 40px;
    }
    
    .footer-grid {
        gap: 20px;
    }
    
    .footer-logo img {
        height: 40px;
    }
    
    .footer-logo, .footer-links, .footer-contact {
        text-align: center;
    }
    
    .footer-links h4::after, .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a:hover {
        padding-left: 0;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .social-icons a {
        width: 32px;
        height: 32px;
    }
}

.footer-title {
    color: var(--secondary-color);
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
}

.footer-link:hover {
    color: var(--secondary-color);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

.social-icon {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.social-icon:hover {
    background: var(--gradient-primary);
}

.footer-bottom-link {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-link:hover {
    color: var(--secondary-color);
}

/* 간소화된 푸터를 위한 새로운 스타일 */
.footer-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

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

.footer-info ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    gap: 20px;
}

.footer-info ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info ul li a:hover {
    color: var(--secondary-color);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
    color: var(--gold-accent);
}

@media (max-width: 768px) {
    .footer-simple {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-info ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
    }
} 