/*
* 파일명: style.css
* 위치: /assets/css/
* 기능: 워드프레스 무료제작 서비스 메인 스타일시트
* 작성일: 2025-08-10
*/

/* ===================================
전역 변수 및 기본 설정
=================================== */

/* CSS 변수 정의 */
:root {
    --primary-color: #10a37f;
    --primary-color-light: #1ad1a4;
    --primary-color-dark: #0b755c;
    --secondary-color: #343541;
    --light-bg: #f8f9fa;
    --card-shadow: 0 2px 15px rgba(0,0,0,0.05);
    --card-shadow-hover: 0 15px 30px rgba(0,0,0,0.1);
    --transition-speed: 0.3s;
    --gradient-start: #10a37f;
    --gradient-end: #5664d2;
    --border-color: #e0e0e0;
    --text-muted: #6c757d;
}

/* ===================================
기본 요소 스타일
=================================== */

/* body 기본 설정 */
body {
    font-family: 'Noto Sans KR', 'Malgun Gothic', '맑은 고딕', 'Apple SD Gothic Neo', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    color: var(--secondary-color);
    line-height: 1.6;
}

/* main 영역 */
main {
    flex: 1;
}

/* 제목 태그 스타일 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.3;
}

/* 링크 기본 스타일 */
a {
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

a:hover {
    text-decoration: none;
}

/* ===================================
유틸리티 클래스
=================================== */

/* 텍스트 그라디언트 효과 */
.text-gradient {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* 섹션 헤더 */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* ===================================
버튼 스타일
=================================== */

/* 기본 버튼 스타일 */
.btn {
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Primary 버튼 */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color);
    color: white !important;
    box-shadow: 0 4px 12px rgba(16, 163, 127, 0.15);
}

.btn-primary:hover, 
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-color-dark) !important;
    border-color: var(--primary-color-dark);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 163, 127, 0.25);
}

/* Outline Primary 버튼 */
.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 163, 127, 0.15);
}

/* Outline Light 버튼 */
.btn-outline-light {
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

/* Warning 버튼 (카카오톡 버튼) */
.btn-warning {
    background-color: #FAE100;  /* 카카오톡 공식 노란색 */
    border-color: #FAE100;
    color: #3C1E1E;  /* 카카오톡 텍스트 색상 */
    font-weight: 600;
    transition: all var(--transition-speed) ease;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
    background-color: #F7D600;  /* 더 진한 노란색 */
    border-color: #F7D600;
    color: #3C1E1E;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(250, 225, 0, 0.3);
}

/* 카카오톡 버튼 특별 스타일 (옵션) */
.btn-kakao {
    background-color: #FAE100;
    border-color: #FAE100;
    color: #3C1E1E;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
}

.btn-kakao:hover {
    background-color: #F7D600;
    border-color: #F7D600;
    color: #3C1E1E;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(250, 225, 0, 0.3);
}

.btn-kakao i {
    color: #3C1E1E;
}


/* ===================================
네비게이션 바
=================================== */

/* 네비바 기본 스타일 */
.navbar {
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 1rem 0;
    background-color: #fff;
    transition: all var(--transition-speed) ease;
}

/* 네비바 브랜드 */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    color: var(--secondary-color);
}

.navbar-brand i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.navbar-brand:hover {
    color: var(--primary-color);
}

/* 네비게이션 링크 */
.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all var(--transition-speed) ease;
    border-radius: 6px;
    color: var(--secondary-color);
}

.nav-link:hover {
    background-color: RGB(192, 224, 224);
    color: var(--primary-color-dark);
}

.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(16, 163, 127, 0.1);
}

/* 네비게이션 버튼 */
.navbar .btn-primary {
    color: white !important;
}

.navbar .btn-primary:hover {
    color: white !important;
}

/* ===================================
히어로 섹션
=================================== */

/* 히어로 섹션 컨테이너 */
.hero-section {
    padding: 1rem 0;
    background: linear-gradient(135deg, #0d8c6c 0%, #1a6c8f 100%);
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* 히어로 배경 패턴 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

/* 히어로 컨텐츠 */
.hero-section .container {
    position: relative;
    z-index: 1;
}

/* 히어로 제목 */
.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 히어로 부제목 */
.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

/* 히어로 알림 배너 */
.hero-section .alert {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

/* ===================================
카드 스타일
=================================== */

/* Featured 카드 */
.featured-card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    box-shadow: var(--card-shadow);
    position: relative;
    background-color: white;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-color);
}

/* 카드 이미지 컨테이너 */
.card-img-container {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    overflow: hidden;
    background-color: rgba(16, 163, 127, 0.03);
}

.card-img-container i {
    transition: all var(--transition-speed) ease;
}

.featured-card:hover .card-img-container i {
    transform: scale(1.1);
}

/* 카드 바디 */
.featured-card .card-body {
    padding: 1.5rem;
}

/* 카드 제목 */
.featured-card .card-title {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}

/* 카드 텍스트 */
.featured-card .card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 카드 배지 */
.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
}

/* GPT 카드 */
.gpt-card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    box-shadow: var(--card-shadow);
    position: relative;
    background-color: white;
}

.gpt-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-color);
}

.gpt-card .card-body {
    padding: 1.5rem;
}

.gpt-card .card-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.gpt-card .card-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===================================
섹션 스타일
=================================== */

/* Featured 섹션 */
.featured-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

/* Category 섹션 */
.category-section {
    padding: 5rem 0;
    background-color: #fff;
}

/* CTA 섹션 */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: white;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.cta-section .btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    background-color: white;
    color: var(--primary-color);
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* ===================================
체크리스트
=================================== */

/* 체크리스트 컨테이너 */
.checklist-container {
    max-width: 100%;
}

/* 체크박스 스타일 */
.form-check {
    padding-left: 2rem;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 0.25rem;
    margin-left: -2rem;
    border: 2px solid var(--border-color);
    transition: all var(--transition-speed) ease;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(16, 163, 127, 0.25);
}

/* 체크박스 라벨 */
.form-check-label {
    cursor: pointer;
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
}

.form-check-input:checked ~ .form-check-label {
    text-decoration: line-through;
    opacity: 0.7;
}

/* ===================================
프로세스 스텝
=================================== */

/* 카드 아이콘 (스텝 번호) */
.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    box-shadow: 0 4px 12px rgba(16, 163, 127, 0.3);
}

/* ===================================
배지 스타일
=================================== */

/* 기본 배지 */
.badge {
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 0.85rem;
    border-radius: 6px;
}

.badge.bg-primary {
    background-color: var(--primary-color) !important;
}

.badge.bg-success {
    background-color: #28a745 !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.badge.bg-danger {
    background-color: #FF8080 !important;
}

/* ===================================
알림 스타일
=================================== */

/* 정보 알림 */
.alert-info {
    background-color: rgba(16, 163, 127, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color-dark);
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    border: 1px solid #ffc107;
    color: #856404;
}

/* ===================================
푸터 스타일
=================================== */

/* 푸터 컨테이너 */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem 0;
    margin-top: auto;
}

/* 푸터 제목 */
footer h5 {
    font-weight: 600;
    color: white;
}

/* 푸터 브랜드 */
.footer-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-brand i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    color: var(--primary-color-light);
}

/* 푸터 텍스트 */
footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* 푸터 링크 */
footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-speed) ease;
}

footer a:hover {
    color: white;
}

/* 푸터 구분선 */
footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}


/* 빠른 링크 */
.quick-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 30px;
    border-radius: 10%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
    text-decoration: none;
}

.quick-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* 소셜 링크 */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all var(--transition-speed) ease;
    margin-right: 0.5rem;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* ===================================
애니메이션
=================================== */

/* 페이드인 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeIn {
    animation: fadeIn 0.5s ease-out;
}

/* 펄스 애니메이션 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 163, 127, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 163, 127, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 163, 127, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ===================================
반응형 디자인
=================================== */

/* 태블릿 (최대 991px) */
@media (max-width: 991.98px) {
    /* 히어로 섹션 */
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    /* 섹션 헤더 */
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* 카드 이미지 컨테이너 */
    .card-img-container {
        height: 180px;
    }
}

/* 모바일 (최대 767px) */
@media (max-width: 767.98px) {
    /* 히어로 섹션 */
    .hero-section {
        padding: 3rem 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    /* CTA 섹션 */
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    /* 네비게이션 */
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-brand i {
        font-size: 1.25rem;
    }
}

/* 소형 모바일 (최대 575px) */
@media (max-width: 575.98px) {
    /* 히어로 섹션 */
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    /* 섹션 헤더 */
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* 섹션 패딩 */
    .featured-section,
    .category-section,
    .cta-section {
        padding: 3rem 0;
    }
    
    /* 카드 */
    .card-img-container {
        height: 150px;
    }
    
    .featured-card .card-title {
        font-size: 1.1rem;
    }
    
    .featured-card .card-text {
        font-size: 0.9rem;
    }
}

/* ===================================
유틸리티 클래스 (추가)
=================================== */

/* 마진 유틸리티 */
.mt-6 { margin-top: 4rem !important; }
.mb-6 { margin-bottom: 4rem !important; }

/* 패딩 유틸리티 */
.pt-6 { padding-top: 4rem !important; }
.pb-6 { padding-bottom: 4rem !important; }

/* 그림자 유틸리티 */
.shadow-soft {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
}

.shadow-medium {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
}

/* 테두리 유틸리티 */
.border-soft {
    border: 1px solid var(--border-color) !important;
}

/* 배경 유틸리티 */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)) !important;
}



/* 샘플 사이트 버튼 스타일 */
.featured-section .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--gradient-end) 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.featured-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}
