/*
Theme Name: WeCelebrateBoth Pro
Theme URI: https://wecelebrateboth.com
Author: Celebrate Digital Solutions
Description: 생활 속 위생과 안전을 다루는 현대적이고 전문적인 블로그 테마입니다. 깔끔한 카드 레이아웃과 직관적인 디자인으로 건강한 생활 정보를 효과적으로 전달합니다.
Version: 2.4.7
License: GNU General Public License v2 or later
Text Domain: wcb-theme
*/

/* 기본 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --wcb-dark: #0f172a;
    --wcb-dark-light: #1e293b;
    --wcb-purple: #8b5cf6;
    --wcb-blue: #6366f1;
    --wcb-cyan: #06b6d4;
    --wcb-white: #ffffff;
    --wcb-gray: #94a3b8;
    --wcb-light-bg: #f8fafc;
    --wcb-border: #334155;
    --wcb-gradient: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: var(--wcb-dark);
    color: var(--wcb-white);
    line-height: 1.6;
    font-size: 16px;
}

/* 컨테이너 */
.wcb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.wcb-wide-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 헤더 */
.wcb-header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--wcb-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.wcb-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.wcb-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.wcb-logo {
    font-size: 24px;
    font-weight: 700;
    background: var(--wcb-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.wcb-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.wcb-nav-link {
    color: var(--wcb-gray);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.wcb-nav-link:hover {
    color: var(--wcb-purple);
}

.wcb-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--wcb-gradient);
    transition: width 0.3s ease;
}

.wcb-nav-link:hover::after {
    width: 100%;
}

/* 모바일 메뉴 */
.wcb-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--wcb-white);
    font-size: 24px;
    cursor: pointer;
}

/* 히어로 섹션 */
.wcb-hero {
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.wcb-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.wcb-hero-content {
    position: relative;
    z-index: 1;
}

.wcb-hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.wcb-hero-gradient {
    background: var(--wcb-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wcb-hero-subtitle {
    font-size: 20px;
    color: var(--wcb-gray);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.wcb-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: var(--wcb-gradient);
    color: var(--wcb-white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 16px;
}

.wcb-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

/* 아이콘 그리드 */
.wcb-icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 80px 0;
}

.wcb-icon-card {
    background: var(--wcb-dark-light);
    border: 1px solid var(--wcb-border);
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.wcb-icon-card:hover {
    border-color: var(--wcb-purple);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.wcb-icon-symbol {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
}

.wcb-icon-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.wcb-icon-desc {
    font-size: 15px;
    color: var(--wcb-gray);
    line-height: 1.6;
}

/* 회사 소개 */
.wcb-about-section {
    background: var(--wcb-dark-light);
    border-radius: 24px;
    padding: 80px 60px;
    margin: 100px 0;
    border: 1px solid var(--wcb-border);
    position: relative;
}

.wcb-about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--wcb-gradient);
    border-radius: 24px 24px 0 0;
}

.wcb-about-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--wcb-purple);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    text-align: center;
}

.wcb-about-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 32px;
    text-align: center;
    letter-spacing: -1px;
}

.wcb-about-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--wcb-gray);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* 게시글 섹션 */
.wcb-posts-section {
    padding: 100px 0;
}

.wcb-section-header {
    text-align: center;
    margin-bottom: 80px;
}

.wcb-section-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--wcb-purple);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.wcb-section-title {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
}

.wcb-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.wcb-post-card {
    background: var(--wcb-dark-light);
    border: 1px solid var(--wcb-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.wcb-post-card:hover {
    border-color: var(--wcb-purple);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.wcb-post-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--wcb-dark-light) 0%, var(--wcb-border) 100%);
}

.wcb-post-content {
    padding: 28px;
}

.wcb-post-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--wcb-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.wcb-post-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    color: var(--wcb-white);
}

.wcb-post-excerpt {
    font-size: 15px;
    color: var(--wcb-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.wcb-post-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--wcb-gray);
    padding-top: 20px;
    border-top: 1px solid var(--wcb-border);
}

/* 단일 게시글 */
.wcb-single {
    max-width: 800px;
    margin: 100px auto;
    padding: 0 24px;
}

.wcb-single-header {
    text-align: center;
    margin-bottom: 60px;
}

.wcb-single-category {
    font-size: 13px;
    font-weight: 700;
    color: var(--wcb-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.wcb-single-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.wcb-single-meta {
    font-size: 15px;
    color: var(--wcb-gray);
}

.wcb-single-image {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 60px;
    border-radius: 20px;
    display: block;
}

.wcb-single-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--wcb-gray);
}

.wcb-single-content p {
    margin-bottom: 28px;
}

.wcb-single-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--wcb-white);
    margin: 48px 0 24px;
}

.wcb-single-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--wcb-white);
    margin: 36px 0 20px;
}

.wcb-single-content a {
    color: var(--wcb-purple);
    text-decoration: underline;
}

.wcb-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 32px 0;
}

/* 특징 그리드 */
.wcb-features-section {
    background: var(--wcb-dark-light);
    padding: 100px 0;
    margin-top: 100px;
}

.wcb-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.wcb-feature-card {
    background: var(--wcb-dark);
    border: 1px solid var(--wcb-border);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all 0.3s ease;
}

.wcb-feature-card:hover {
    border-color: var(--wcb-purple);
    transform: translateY(-4px);
}

.wcb-feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.wcb-feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.wcb-feature-desc {
    font-size: 15px;
    color: var(--wcb-gray);
    line-height: 1.6;
}

/* 푸터 */
.wcb-footer {
    background: var(--wcb-dark-light);
    border-top: 1px solid var(--wcb-border);
    padding: 80px 0 40px;
    margin-top: 100px;
}

.wcb-footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.wcb-footer-brand h3 {
    font-size: 24px;
    font-weight: 700;
    background: var(--wcb-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.wcb-footer-desc {
    font-size: 15px;
    color: var(--wcb-gray);
    line-height: 1.7;
}

.wcb-footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--wcb-white);
}

.wcb-footer-links {
    list-style: none;
}

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

.wcb-footer-links a {
    color: var(--wcb-gray);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.wcb-footer-links a:hover {
    color: var(--wcb-purple);
}

.wcb-footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--wcb-border);
    color: var(--wcb-gray);
    font-size: 14px;
}

/* 반응형 */
@media (max-width: 968px) {
    .wcb-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .wcb-icon-grid {
        grid-template-columns: 1fr;
    }
    
    .wcb-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .wcb-nav {
        display: none;
        position: fixed;
        top: 69px;
        left: 0;
        right: 0;
        background: var(--wcb-dark-light);
        flex-direction: column;
        padding: 32px;
        gap: 24px;
        border-bottom: 1px solid var(--wcb-border);
    }
    
    .wcb-nav.active {
        display: flex;
    }
    
    .wcb-menu-toggle {
        display: block;
    }
    
    .wcb-hero-title {
        font-size: 42px;
    }
    
    .wcb-section-title {
        font-size: 36px;
    }
    
    .wcb-single-title {
        font-size: 36px;
    }
    
    .wcb-footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .wcb-about-section {
        padding: 60px 32px;
    }
}

@media (max-width: 480px) {
    .wcb-hero-title {
        font-size: 32px;
    }
    
    .wcb-about-title {
        font-size: 28px;
    }
}
