/* Theme variables are now in theme.css */

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Source Code Pro', monospace;
    font-weight: 170;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}



/* Sections */
.section {
    padding: 100px 20px;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--accent-color);
}



/* Colored Sections - 깔끔한 직사각형 */
.section-colored {
    position: relative;
    background: var(--accent-color);
    color: var(--bg-color);
    padding: 100px 30px;
    z-index: 1;
}

.section-colored .section-title {
    color: var(--bg-color);
}

.section-colored .about-text {
    color: var(--bg-color);
}

.section-colored strong {
    color: var(--bg-color);
    font-weight: bold;
}

.section-colored a {
    color: var(--bg-color);
    text-decoration: underline;
}

.section-colored_1 {
    position: relative;
    background: var(--accent-color);
    color: var(--bg-color);
    padding: 100px 30px;
    z-index: 1;
}

.section-colored_1 .section-title {
    color: var(--bg-color);
}

.section-colored_1 .about-text {
    color: var(--bg-color);
}

.section-colored_1 strong {
    color: var(--bg-color);
    font-weight: bold;
}

.section-colored_1 a {
    color: var(--bg-color);
    text-decoration: underline;
}

/* 반응형 패딩 최적화 */
@media (max-width: 768px) {
    .section-colored,
    .section-colored_1 {
        padding: 80px 25px; /* 모바일에서 패딩 줄임 */
    }
}

@media (max-width: 480px) {
    .section-colored,
    .section-colored_1 {
        padding: 60px 20px; /* 매우 작은 화면에서 더 컴팩트 */
    }
}

/* Footer */
.back-to-top {
    text-align: center;
    margin-bottom: 10px;
}

.back-to-top a {
    display: inline-block;
    color: var(--accent-color);
    font-size: 1.5rem;
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.back-to-top a:hover {
    transform: rotate(180deg) scale(1.2);
}

footer {
    padding: 20px 10px;
    background-color: var(--footer-bg);
    color: var(--footer-text);
    text-align: center;
    font-size: 0.9rem;
}

footer a {
    color: #757575;
    margin-top: 20px;
    font-size: 2rem;
}

footer b {
    color: var(--accent-color);
    margin-top: 20px;
    font-size: 0.8rem;
}

footer p {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--footer-text);
}

footer p a {
    color: #00D7D0 !important; /* 티파니 민트색 강제 적용 */
    text-decoration: none;
    font-size: 0.8rem;
}

footer p a:hover {
    text-decoration: underline;
}

/* Social Links Styling */
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 10px 0;
}

.social-links a {
    color: #aaa !important;
    font-size: 2rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

/* Loading States */
.loading-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.language-switching .menu-lang-btn {
    opacity: 0.6;
    pointer-events: none;
}

.blog-section-loading .blog-grid::after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}