/* Theme Variables */

/* Light Theme - Default */
:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --text-secondary: #000000;
    --text-muted: #000000;
    --accent-color: #00D7D0;  /* 티파니민트색 */
    --section-spacing: 100px;
    --card-bg: rgba(0, 215, 208, 0.05);
    --card-border: rgba(0, 215, 208, 0.2);
    --footer-bg: #757575;  /* 푸터 배경색 - 야간모드와 동일 */
    --footer-text: #aaa;   /* 푸터 텍스트색 - 야간모드와 동일 */
    --typing-primary: #000000;  /* Hi, I'm 글자색 */
    --typing-accent: #00D7D0;   /* Wooyong Lee 글자색 */
    --typing-cursor-primary: #000000;  /* Hi, I'm 커서색 */
    --typing-cursor-accent: #00D7D0;   /* Wooyong Lee 커서색 */
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-color: #000000;
    --text-color: #000000;  /* 다른 글씨들은 그대로 검은색 유지 */
    --text-secondary: #ffffff;  /* 서브 텍스트는 다크모드에서 흰색 */
    --text-muted: #cccccc;  /* 희미한 텍스트는 회색 */
    --accent-color: #00D7D0;  /* 티파니민트색 동일 */
    --card-bg: rgba(0, 215, 208, 0.05);
    --card-border: rgba(0, 215, 208, 0.2);
    --footer-bg: #757575;  /* 푸터 배경색 유지 */
    --footer-text: #aaa;   /* 푸터 텍스트색 유지 */
    --typing-primary: #ffffff;  /* 타이핑 섹션의 검은 글씨만 흰색으로 */
    --typing-accent: #00D7D0;   /* Wooyong Lee 글자색 */
    --typing-cursor-primary: #ffffff;  /* 타이핑 커서만 흰색으로 */
    --typing-cursor-accent: #00D7D0;   /* Wooyong Lee 커서색 */
}

/* Dark mode section backgrounds - 특정 섹션들만 검은색 배경 */
[data-theme="dark"] .hero,
[data-theme="dark"] #projects,
[data-theme="dark"] #blog {
    background-color: #000000 !important;
}

/* Dark mode: 프로젝트 섹션 텍스트 색상 수정 */
[data-theme="dark"] .project-content h3:hover,
[data-theme="dark"] .project-card:hover .project-content h3 {
    color: #ffffff !important; /* 다크모드에서 프로젝트 제목 마우스오버 시 흰색 */
}

[data-theme="dark"] .project-content p {
    color: #ffffff !important; /* 다크모드에서 프로젝트 설명 텍스트 흰색 */
}

/* Dark mode: 블로그 섹션 텍스트 색상 수정 */
[data-theme="dark"] .blog-date {
    color: #ffffff !important; /* 다크모드에서 블로그 날짜 흰색 */
}

[data-theme="dark"] .blog-content p {
    color: #ffffff !important; /* 다크모드에서 블로그 내용 텍스트 흰색 */
}

/* Dark mode: 네비게이션 메뉴 텍스트 색상 수정 */
[data-theme="dark"] .control-label {
    color: #ffffff !important; /* 다크모드에서 Language, Theme 라벨 흰색 */
}

[data-theme="dark"] .nav-link {
    color: #ffffff !important; /* 다크모드에서 About, Projects, Skills, Blog 링크 흰색 */
}

/* 네비게이션 링크 가운데 정렬 */
.nav-link {
    text-align: center !important; /* About, Projects, Skills, Blog 가운데 정렬 */
}

/* Theme transition for smooth switching */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
}

/* Preserve button animations - override global transition */
.hero .know-more-btn::before,
.about-text .resume-btn::before,
.hero .know-more-btn:not(:hover)::before,
.about-text .resume-btn:not(:hover)::before {
    transition: left 0.4s ease !important;
}

/* Footer always fixed styling - no theme transitions */
.footer, footer {
    background-color: #757575 !important;
    color: #aaa !important;
    transition: none !important;
}

.footer *, footer * {
    transition: none !important;
}

.footer__text {
    color: #aaa !important;
}

.footer__text a {
    color: #00D7D0 !important; /* Wooyong Lee 링크 티파니 민트색 */
}

.footer .back-to-top a, footer .back-to-top a {
    color: #00D7D0 !important;
}

.footer .social-links a, footer .social-links a {
    color: #aaa !important;
}

/* Dark theme button styles are now handled in components.css */

/* Smooth transition for typing animation colors */
.typing-container,
.typing-container span {
    transition: color 0.3s ease, border-color 0.3s ease !important;
}

/* Dark mode specific styles for hero section only */
[data-theme="dark"] .hero h2 {
    color: #ffffff !important;  /* 직무 부제(예: "Data Engineer") 흰색 */
}