/* ============================================
   ê¸€ë¡œë²Œ ìŠ¤íƒ€ì¼ ë° CSS ë³€ìˆ˜ (K-ë·°í‹° íŒ”ë ˆíŠ¸)
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ë‰´íŠ¸ëŸ´ ëž© ê°ì„± ì»¬ëŸ¬ (ë³´ë‹¤ ë¯¸ë‹ˆë©€í•œ ë‘ ë²ˆì§¸ ìŠ¤íƒ€ì¼) */
    --primary-blue: #e07a5f;      /* ì†Œí”„íŠ¸ í…Œë¼ì½”íƒ€ í¬ì¸íŠ¸ */
    --primary-purple: #3d405b;    /* ë”¥ ê·¸ë ˆì´ì‹œ ë¸”ë£¨ */
    --accent-pink: #e29578;       /* ëˆ„ë“œ ì½”ëž„ */
    --accent-orange: #f2cc8f;     /* ì›œ ë² ì´ì§€ í•˜ì´ë¼ì´íŠ¸ */
    --accent-teal: #81b29a;       /* ì„¸ì´ì§€ ê·¸ë¦° */

    --text-dark: #232323;
    --text-medium: #555555;
    --text-light: #9a9a9a;

    --bg-white: #f9f7f3;
    --bg-light: #f2ede7;          /* ì¢…ì´ ì§ˆê° ëŠë‚Œì˜ ë² ì´ì§€ */
    --bg-dark: #222222;

    /* ë§¤ìš° ì ˆì œëœ ê·¸ë¼ë°ì´ì…˜ - ë²„íŠ¼/ë°°ì§€ì—ë§Œ ì‚¬ìš© */
    --gradient-1: linear-gradient(135deg, #e07a5f 0%, #e29578 100%);
    --gradient-2: linear-gradient(135deg, #3d405b 0%, #1f2435 100%);
    --gradient-3: linear-gradient(135deg, #81b29a 0%, #a3b9a5 100%);
    --gradient-4: linear-gradient(135deg, #f2cc8f 0%, #f6d7a7 100%);
    --gradient-5: linear-gradient(135deg, #c9ada7 0%, #9a8c98 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.2);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Malgun Gothic', 'ë§‘ì€ ê³ ë”•', 'Apple SD Gothic Neo', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--bg-white);
    overflow-x: hidden;
}

/* ============================================
   í—¤ë” ìŠ¤íƒ€ì¼ - ë¯¸ë‹ˆë©€ ëž© ë°”
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(249, 247, 243, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.main-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-blue);
}

.brand-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    font-weight: 900;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.brand-icon:hover {
    transform: rotate(5deg) scale(1.1);
}

.brand-text {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-item {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary-blue);
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ============================================
   ížˆì–´ë¡œ ì„¹ì…˜ - ë¶„ë¦¬í˜• ì¹´ë“œ ë ˆì´ì•„ì›ƒ
   ============================================ */
.hero-section {
    min-height: 90vh;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-visual {
    position: relative;
    background: #e0d7ce;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    clip-path: circle(75% at 0% 0%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 155, 181, 0.35) 0%, rgba(255, 198, 179, 0.7) 100%);
}

.hero-content {
    padding: 5rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-white);
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    background: var(--gradient-1);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    width: fit-content;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title-line {
    display: block;
    animation: slideInLeft 0.8s ease forwards;
    opacity: 0;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.title-line:nth-child(3) {
    animation-delay: 0.6s;
}

.title-line.accent {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 6rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 3.5rem;
    line-height: 1.9;
    max-width: 550px;
    animation: fadeInUp 1s ease 0.8s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.stat-item:nth-child(1) {
    animation-delay: 1s;
}

.stat-item:nth-child(2) {
    animation-delay: 1.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 1.4s;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-medium);
    font-weight: 600;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   ì‹œê·¸ë‹ˆì²˜ ë¼ì¸ ì„¹ì…˜ - ì‹¤í—˜ì‹¤ ì¹´ë“œ ê·¸ë¦¬ë“œ
   ============================================ */
.popular-section {
    padding: 6rem 0 5rem;
    background: radial-gradient(circle at top left, #f8f3ea 0%, #f2ede7 40%, #f9f7f3 100%);
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    background: var(--gradient-1);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.section-title {
    font-size: 2.6rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.9;
}

.wave-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    grid-auto-rows: 380px;
}

.wave-item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #e6dfd6;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transform: translateY(0);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.wave-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.12);
    z-index: 10;
}

.wave-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(17, 8, 12, 0.9) 0%, rgba(17, 8, 12, 0.2) 60%, transparent 100%);
    opacity: 1;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
}

.wave-content {
    color: white;
}

.wave-title {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.wave-description {
    font-size: 0.95rem;
    opacity: 0.95;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.wave-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.wave-tag {
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ============================================
   í”¼ë¶€ ê³ ë¯¼ë³„ ì„¹ì…˜ - í”Œëž« íƒ€ì¼ ë ˆì´ì•„ì›ƒ
   ============================================ */
.genres-section {
    padding: 6rem 0;
    background: var(--bg-white);
}

.tile-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    grid-auto-rows: 300px;
}

.tile-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #f5eee5;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tile-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(20, 12, 5, 0.25) 0%, rgba(20, 12, 5, 0.55) 100%);
    transition: var(--transition);
}

.tile-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    z-index: 5;
}

.tile-item:hover::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.tile-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
}

.tile-icon {
    font-size: 2.6rem;
    margin-bottom: 1rem;
    display: block;
}

.tile-title {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.tile-count {
    font-size: 1rem;
    opacity: 0.9;
}

/* ============================================
   ì‹ ì œí’ˆ ì„¹ì…˜ - ìˆ˜í‰ íƒ€ìž„ë¼ì¸ ì¹´ë“œ
   ============================================ */
.recent-section {
    padding: 6rem 0;
    background: #f6f2eb;
}

.timeline-container {
    position: relative;
    padding: 2.5rem 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    padding: 1.8rem 2rem;
    border-radius: 18px;
    transition: var(--transition);
}

.timeline-item:nth-child(odd) {
    transform: translateX(-12px);
}

.timeline-item:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12);
}

.timeline-image {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    background: #dfd6cc;
    background-size: cover;
    background-position: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
}

.timeline-item:hover .timeline-image {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.timeline-content {
    padding: 1rem;
}

.timeline-date {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--gradient-4);
    color: white;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.timeline-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.timeline-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.timeline-genre {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-right: 0.5rem;
}

/* ============================================
   í…ìŠ¤ì²˜ ê°¤ëŸ¬ë¦¬ ì„¹ì…˜ - ë§¤ê±°ì§„ + ê²©ìž í˜¼í•©
   ============================================ */
.gallery-section {
    padding: 6rem 0 7rem;
    background: var(--bg-white);
}

.magazine-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    grid-auto-rows: auto;
}

.magazine-item {
    break-inside: avoid;
    margin-bottom: 2rem;
    border-radius: 18px;
    overflow: hidden;
    background: #e4ded6;
    background-size: cover;
    background-position: center;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    min-height: 320px;
}

.magazine-item:nth-child(3n+1) {
    grid-row: span 2;
    min-height: 500px;
}

.magazine-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
    z-index: 8;
}

.magazine-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 75%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.magazine-item:hover .magazine-overlay {
    opacity: 1;
}

.magazine-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ============================================
   í‘¸í„°
   ============================================ */
.site-footer {
    background: var(--bg-dark);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
    font-size: 1rem;
}

.footer-heading {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--primary-blue);
    padding-left: 0.5rem;
}

.footer-contact {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

/* ============================================
   ë°˜ì‘í˜• ë””ìžì¸
   ============================================ */
@media (max-width: 1400px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .title-line.accent {
        font-size: 5rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 1200px) {
    .hero-section {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
        min-height: 500px;
    }
    
    .hero-content {
        padding: 4rem 2rem;
    }
    
    .magazine-layout {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transform: translateX(-100%);
        transition: var(--transition);
        gap: 1.5rem;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .mobile-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .title-line.accent {
        font-size: 3.8rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .wave-grid {
        grid-template-columns: 1fr;
    }
    
    .wave-item:nth-child(odd),
    .wave-item:nth-child(even) {
        transform: translateY(0);
    }
    
    .tile-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline-item:nth-child(odd) {
        direction: ltr;
    }
    
    .magazine-layout {
        grid-template-columns: 1fr;
    }
    
    .magazine-item:nth-child(3n+1) {
        grid-row: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .main-nav {
        padding: 1rem 1.5rem;
    }
    
    .hero-content {
        padding: 3rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .title-line.accent {
        font-size: 2.8rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-container {
        padding: 0 1.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.05rem;
    }
    
    .wave-grid {
        gap: 1.5rem;
    }
    
    .tile-container {
        grid-template-columns: 1fr;
    }
}
