/*
Theme Name: Vibeworks
Theme URI: https://vibeworks.kr
Description: AI 코딩 교육 사이트 전용 테마
Version: 1.0.0
Author: Vibeworks
Author URI: https://vibeworks.kr
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vibeworks
*/

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

/* CSS Variables */
:root {
    --color-bg-dark: #252A34;
    --color-text-light: #EAEAEA;
    --color-bg-card: #2C323E;
    --color-border-card: #1F2937;
    --color-brand-mint: #08D9D6;
    --color-brand-pink: #FF2E63;
    --font-sans: "Pretendard", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style: none;
}

html {
    background: #252A34;
    /* bg-bg-dark - moved from body */
}

html,
body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--color-text-light);
    transition: background-color 0.3s, color 0.3s;
}

body {
    background: transparent;
    /* Allow particles to show through */
}

.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
    padding: 6rem 0 2rem;
}

/* Header / Navbar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(37, 42, 52, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s;
    padding: 1.5rem 0;
}

.site-header.scrolled {
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding img {
    height: 32px;
    width: auto;
    max-width: 150px;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
}

.site-title a {
    color: var(--color-brand-mint);
    text-decoration: none;
    font-weight: 700;
}

.site-description {
    display: none;
}

/* Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--color-text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    display: block;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--color-brand-mint);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Footer */
.site-footer {
    background: var(--color-bg-card);
    color: var(--color-text-light);
    margin-top: auto;
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--color-border-card);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-widget h3 {
    color: var(--color-text-light);
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.footer-widget p {
    margin: 0.5rem 0;
    color: #9CA3AF;
    line-height: 1.8;
}

.footer-widget img {
    height: 32px;
    width: auto;
    max-width: 150px;
    margin-bottom: 1rem;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin: 0.5rem 0;
}

.footer-menu a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: var(--color-brand-mint);
}

.site-info {
    border-top: 1px solid var(--color-border-card);
    padding-top: 2rem;
    text-align: center;
}

.site-info p {
    color: #6B7280;
    font-size: 0.875rem;
    margin: 0.5rem 0;
}

.site-info a {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.3s;
}

.site-info a:hover {
    color: var(--color-brand-mint);
}

.ai-notice {
    color: var(--color-brand-mint);
    font-weight: 700;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Entry Content */
.entry-header {
    margin-bottom: 2rem;
    text-align: center;
}

.entry-title {
    font-size: 2.5rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.entry-content {
    background: var(--color-bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--color-border-card);
}

.entry-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

article {
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .site-main {
        padding: 5rem 0 2rem;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
    }
}