/* Header Styles */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 30px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo-main {
    height: 60px;
    width: auto;
    max-width: 300px;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-main:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.logo-mobile {
    display: none;
    height: 35px;
    width: auto;
    max-width: 150px;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-mobile:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.header h1 {
    font-size: 1.8em;
    margin: 0;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav a.active {
    background: rgba(255, 255, 255, 0.3);
}

.language-selector {
    position: relative;
    min-width: 150px;
}

.language-dropdown {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 10px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    padding-left: 35px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.language-dropdown:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.language-dropdown:focus {
    outline: none;
    background: rgba(255, 255, 255, 1);
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.language-dropdown option {
    background: white;
    color: #333;
    padding: 8px 12px;
    font-weight: 500;
}

.language-dropdown option:checked {
    background: #667eea;
    color: white;
}

.language-selector::before {
    content: '🌐';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    z-index: 1;
    pointer-events: none;
}

.header-title {
    text-align: center;
}

.header-title h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.header-title p {
    font-size: 1.2em;
    opacity: 0.9;
}

/* Footer Styles */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 30px 20px;
    margin-top: 50px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: #ecf0f1;
    font-size: 1.2em;
}

.footer-logo-section {
    margin-bottom: 15px;
}

.footer-logo {
    height: 40px;
    width: auto;
    max-width: 180px;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(1);
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.footer-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #34495e;
    color: #ecf0f1;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
}

.social-link:hover {
    background: #3498db;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: #95a5a6;
}

.footer-bottom p {
    margin: 5px 0;
}

.footer-bottom a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #3498db;
}

/* Responsive Design */
/* 로고 반응형 설정 */
@media (max-width: 1200px) {
    .logo-main {
        height: 50px;
        max-width: 250px;
    }
}

@media (max-width: 992px) {
    .logo-main {
        height: 45px;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-main {
        display: none;
    }
    
    .logo-mobile {
        display: block;
    }
}

@media (max-width: 480px) {
    .logo-mobile {
        height: 30px;
        max-width: 120px;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .nav a {
        padding: 6px 12px;
        font-size: 0.9em;
    }
    
    .header-title h2 {
        font-size: 2em;
    }
    
    .language-selector {
        min-width: 100px;
    }
    
    .language-dropdown {
        font-size: 13px;
        padding: 8px 14px;
        padding-left: 30px;
        padding-right: 35px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .footer-logo {
        height: 35px;
        max-width: 150px;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
} 