/**
 * 파일명: home.css
 * 파일경로: wp-content/themes/generatepress-child/assets/css/
 * 기능: Travel Korea Now 홈페이지 전용 스타일
 * 작성일: 2026-02-05
 * 수정일: 2026-02-05
 */

/* =================================== 
   Google Fonts
   =================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* =================================== 
   CSS Variables
   =================================== */
:root {
    --tkn-primary: #0f1c2e;
    --tkn-secondary: #1a3a5c;
    --tkn-accent: #d4af37;
    --tkn-accent-light: #f4e4a6;
    --tkn-text: #2d3748;
    --tkn-text-light: #718096;
    --tkn-white: #ffffff;
    --tkn-gray-50: #f7fafc;
    --tkn-gray-100: #edf2f7;
    --tkn-gray-200: #e2e8f0;
    --tkn-radius: 12px;
    --tkn-radius-lg: 20px;
    --tkn-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --tkn-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --tkn-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =================================== 
   Base Styles
   =================================== */
.tkn-main {
    font-family: 'Poppins', sans-serif;
    color: var(--tkn-text);
    overflow-x: hidden;
}

.tkn-main * {
    box-sizing: border-box;
}

.tkn-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.tkn-section {
    padding: 100px 0;
}

/* Section Header */
.tkn-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.tkn-section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--tkn-accent) 0%, #e8c547 100%);
    color: var(--tkn-primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.tkn-section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tkn-primary);
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.tkn-section-header p {
    font-size: 1.125rem;
    color: var(--tkn-text-light);
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.tkn-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--tkn-transition);
    cursor: pointer;
    border: none;
}

.tkn-btn-primary {
    background: var(--tkn-accent);
    color: var(--tkn-primary);
}

.tkn-btn-primary:hover {
    background: #e8c547;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.tkn-btn-outline {
    background: transparent;
    color: var(--tkn-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.tkn-btn-outline:hover {
    background: var(--tkn-white);
    color: var(--tkn-primary);
    border-color: var(--tkn-white);
}

.tkn-btn-secondary {
    background: var(--tkn-primary);
    color: var(--tkn-white);
}

.tkn-btn-secondary:hover {
    background: var(--tkn-secondary);
    transform: translateY(-2px);
    color: var(--tkn-white);
}

.tkn-btn-white {
    background: var(--tkn-white);
    color: var(--tkn-primary);
}

.tkn-btn-white:hover {
    background: var(--tkn-gray-100);
    transform: translateY(-2px);
}

/* =================================== 
   Hero Section
   =================================== */
.tkn-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tkn-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../../images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.tkn-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 28, 46, 0.85) 0%, rgba(26, 58, 92, 0.75) 100%);
}

.tkn-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 900px;
}

.tkn-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--tkn-white);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 12px 28px;
    border-radius: 50px;
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tkn-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--tkn-white);
    margin: 0 0 24px 0;
    line-height: 1.1;
}

.tkn-hero h1 span {
    background: linear-gradient(135deg, var(--tkn-accent) 0%, var(--tkn-accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tkn-hero > .tkn-hero-content > p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 40px 0;
    line-height: 1.7;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.tkn-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.tkn-hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.tkn-hero-scroll span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.tkn-scroll-icon {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(10px); }
    60% { transform: translateY(5px); }
}

/* =================================== 
   Stats Section
   =================================== */
.tkn-stats {
    background: var(--tkn-primary);
    padding: 50px 24px;
}

.tkn-stats-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.tkn-stat-item {
    text-align: center;
}

.tkn-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tkn-accent);
    line-height: 1;
    margin-bottom: 8px;
}

.tkn-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tkn-stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

/* =================================== 
   Categories Section
   =================================== */
.tkn-categories-section {
    background: var(--tkn-gray-50);
}

.tkn-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tkn-category-card {
    position: relative;
    border-radius: var(--tkn-radius-lg);
    overflow: hidden;
    aspect-ratio: 1 / 1.1;
    text-decoration: none;
    display: block;
}

.tkn-category-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.tkn-category-card:hover .tkn-category-bg {
    transform: scale(1.1);
}

.tkn-category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15, 28, 46, 0.2) 0%, rgba(15, 28, 46, 0.9) 100%);
    transition: var(--tkn-transition);
}

.tkn-category-card:hover .tkn-category-overlay {
    background: linear-gradient(180deg, rgba(15, 28, 46, 0.3) 0%, rgba(15, 28, 46, 0.95) 100%);
}

.tkn-category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    z-index: 2;
}

.tkn-category-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--tkn-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tkn-category-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--tkn-white);
    margin: 0 0 8px 0;
}

.tkn-category-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.tkn-category-count {
    font-size: 0.75rem;
    color: var(--tkn-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tkn-category-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--tkn-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tkn-primary);
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--tkn-transition);
}

.tkn-category-card:hover .tkn-category-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* =================================== 
   Featured Section
   =================================== */
.tkn-featured-section {
    background: var(--tkn-white);
}

.tkn-featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 220px);
    gap: 24px;
}

.tkn-featured-card {
    position: relative;
    border-radius: var(--tkn-radius-lg);
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.tkn-featured-large {
    grid-row: span 2;
}

.tkn-featured-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--tkn-gray-200);
}

.tkn-featured-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tkn-featured-card:hover .tkn-featured-bg img {
    transform: scale(1.1);
}

.tkn-featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(15, 28, 46, 0.9) 100%);
}

.tkn-featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    z-index: 2;
}

.tkn-featured-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--tkn-white);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.tkn-featured-small .tkn-featured-content h3 {
    font-size: 1.125rem;
}

.tkn-featured-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tkn-accent);
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--tkn-transition);
}

.tkn-featured-card:hover .tkn-featured-more {
    opacity: 1;
    transform: translateY(0);
}

/* =================================== 
   Latest Posts Section
   =================================== */
.tkn-latest-section {
    background: var(--tkn-gray-50);
}

.tkn-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.tkn-post-card {
    background: var(--tkn-white);
    border-radius: var(--tkn-radius-lg);
    overflow: hidden;
    text-decoration: none;
    display: block;
    box-shadow: var(--tkn-shadow);
    transition: var(--tkn-transition);
}

.tkn-post-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--tkn-shadow-lg);
}

.tkn-post-thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--tkn-gray-100);
}

.tkn-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tkn-post-card:hover .tkn-post-thumb img {
    transform: scale(1.1);
}

.tkn-post-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tkn-gray-200);
}

.tkn-post-content {
    padding: 24px;
}

.tkn-post-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--tkn-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    background: rgba(212, 175, 55, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
}

.tkn-post-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--tkn-primary);
    margin: 0 0 16px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tkn-post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tkn-post-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--tkn-text-light);
}

.tkn-view-all {
    text-align: center;
    margin-top: 50px;
}

/* =================================== 
   CTA Section
   =================================== */
.tkn-cta-section {
    position: relative;
    padding: 120px 24px;
    overflow: hidden;
}

.tkn-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../../images/cta-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.tkn-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 28, 46, 0.9) 0%, rgba(26, 58, 92, 0.85) 100%);
}

.tkn-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.tkn-cta-content h2 {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--tkn-white);
    margin: 0 0 20px 0;
}

.tkn-cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 36px 0;
    line-height: 1.7;
}

/* =================================== 
   About Section
   =================================== */
.tkn-about-section {
    background: var(--tkn-white);
}

.tkn-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tkn-about-content {
    padding-right: 40px;
}

.tkn-about-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--tkn-primary);
    margin: 20px 0 24px 0;
    line-height: 1.2;
}

.tkn-about-content p {
    font-size: 1rem;
    color: var(--tkn-text-light);
    line-height: 1.8;
    margin: 0 0 20px 0;
}

.tkn-about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.tkn-about-feature {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tkn-about-feature-icon {
    width: 36px;
    height: 36px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tkn-accent);
    flex-shrink: 0;
}

.tkn-about-feature-icon svg {
    width: 18px;
    height: 18px;
}

.tkn-about-feature span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--tkn-text);
}

.tkn-about-image {
    position: relative;
    border-radius: var(--tkn-radius-lg);
    overflow: hidden;
    box-shadow: var(--tkn-shadow-lg);
}

.tkn-about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--tkn-accent);
    border-radius: 50%;
    opacity: 0.2;
    z-index: -1;
}

.tkn-about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* =================================== 
   Responsive - Tablet
   =================================== */
@media (max-width: 1024px) {
    .tkn-section {
        padding: 80px 0;
    }
    
    .tkn-section-header h2 {
        font-size: 2rem;
    }
    
    .tkn-hero h1 {
        font-size: 3rem;
    }
    
    .tkn-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tkn-featured-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .tkn-featured-large {
        grid-row: span 1;
        aspect-ratio: 16 / 9;
    }
    
    .tkn-featured-small {
        aspect-ratio: 16 / 9;
    }
    
    .tkn-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tkn-about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .tkn-about-content {
        padding-right: 0;
        order: 2;
    }
    
    .tkn-about-image {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* =================================== 
   Responsive - Mobile
   =================================== */
@media (max-width: 768px) {
    .tkn-section {
        padding: 60px 0;
    }
    
    .tkn-container {
        padding: 0 16px;
    }
    
    .tkn-section-header {
        margin-bottom: 40px;
    }
    
    .tkn-section-header h2 {
        font-size: 1.75rem;
    }
    
    .tkn-section-header p {
        font-size: 1rem;
    }
    
    .tkn-btn {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
    
    /* Hero */
    .tkn-hero {
        min-height: 100vh;
        min-height: 100dvh;
    }
    
    .tkn-hero h1 {
        font-size: 2.25rem;
    }
    
    .tkn-hero > .tkn-hero-content > p {
        font-size: 1rem;
    }
    
    .tkn-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tkn-hero-buttons .tkn-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .tkn-hero-scroll {
        display: none;
    }
    
    /* Stats */
    .tkn-stats {
        padding: 40px 16px;
    }
    
    .tkn-stats-inner {
        gap: 30px;
    }
    
    .tkn-stat-number {
        font-size: 2rem;
    }
    
    .tkn-stat-divider {
        display: none;
    }
    
    .tkn-stat-item {
        flex: 1 1 40%;
    }
    
    /* Categories */
    .tkn-category-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .tkn-category-card {
        aspect-ratio: 16 / 9;
    }
    
    .tkn-category-content {
        padding: 20px;
    }
    
    .tkn-category-icon {
        width: 44px;
        height: 44px;
    }
    
    .tkn-category-card h3 {
        font-size: 1.125rem;
    }
    
    .tkn-category-arrow {
        opacity: 1;
        transform: translateX(0);
        width: 36px;
        height: 36px;
    }
    
    /* Featured */
    .tkn-featured-card {
        aspect-ratio: 16 / 10;
    }
    
    .tkn-featured-content {
        padding: 24px;
    }
    
    .tkn-featured-content h3 {
        font-size: 1.125rem;
    }
    
    .tkn-featured-more {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Posts */
    .tkn-posts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .tkn-post-content {
        padding: 20px;
    }
    
    /* CTA */
    .tkn-cta-section {
        padding: 80px 16px;
    }
    
    .tkn-cta-bg {
        background-attachment: scroll;
    }
    
    .tkn-cta-content h2 {
        font-size: 1.875rem;
    }
    
    .tkn-cta-content p {
        font-size: 1rem;
    }
    
    /* About */
    .tkn-about-content h2 {
        font-size: 1.75rem;
    }
    
    .tkn-about-features {
        gap: 12px;
    }
}

/* =================================== 
   Responsive - Small Mobile
   =================================== */
@media (max-width: 480px) {
    .tkn-hero h1 {
        font-size: 1.875rem;
    }
    
    .tkn-hero-badge {
        font-size: 0.7rem;
        padding: 10px 20px;
        letter-spacing: 2px;
    }
    
    .tkn-stat-item {
        flex: 1 1 100%;
    }
    
    .tkn-section-header h2 {
        font-size: 1.5rem;
    }
}