/* CERC 2026 Seoul Conference - Main Stylesheet */
/* ============================================== */

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #2C3E50;
    background: #f8f9fa;
    font-size: 14px;  /* 기본 글자 크기 축소 */
}

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

/* 헤더 */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* 네비게이션 */
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #2C3E50;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 5px 10px;
}

nav a:hover,
nav a.active {
    color: #4A90E2;
}

/* 히어로 섹션 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;  /* 패딩 축소 */
    text-align: center;
}

.hero h1 {
    font-size: 2.2em;  /* 축소: 3em → 2.2em */
    margin-bottom: 20px;
    font-weight: 800;
}

.hero p {
    font-size: 1.1em;  /* 축소: 1.3em → 1.1em */
    margin-bottom: 30px;
}

.hero .subtitle {
    font-size: 1em;  /* 축소: 1.1em → 1em */
    opacity: 0.9;
}

/* 섹션 */
section {
    padding: 50px 0;  /* 축소: 60px → 50px */
}

.section-title {
    font-size: 2em;  /* 축소: 2.5em → 2em */
    margin-bottom: 30px;  /* 축소: 40px → 30px */
    text-align: center;
    color: #2C3E50;
}

/* 카드 스타일 */
.card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card h3 {
    color: #4A90E2;
    margin-bottom: 15px;
    font-size: 1.2em;  /* 축소: 1.5em → 1.2em */
}

.card p {
    color: #5A6C7D;
    line-height: 1.8;
}

/* 버튼 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #4A90E2;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background: #357ABD;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #4A90E2;
    color: #4A90E2;
}

.btn-outline:hover {
    background: #4A90E2;
    color: white;
}

/* 그리드 레이아웃 */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* 정보 박스 */
.info-box {
    background: #E8F4FD;
    border-left: 4px solid #4A90E2;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.info-box h3 {
    color: #2C3E50;
    margin-bottom: 10px;
}

.info-box p {
    color: #5A6C7D;
    line-height: 1.8;
}

/* 호텔 카드 스타일 (Accommodation 페이지용) */
.hotel-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.hotel-card h3 {
    color: #2C3E50;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.hotel-card ul {
    list-style: none;
    margin: 15px 0;
}

.hotel-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.hotel-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4A90E2;
    font-weight: bold;
}

.price-tag {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    text-align: center;
}

.price-tag strong {
    color: #4A90E2;
    font-size: 1.2em;
}

/* 아이콘 스타일 */
.icon {
    font-size: 2em;
    margin-bottom: 15px;
}

/* 푸터 */
footer {
    background: #2C3E50;
    color: white;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    margin: 10px 0;
    opacity: 0.8;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
    }
    
    .hero p {
        font-size: 1.1em;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* 모바일 메뉴 */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #2C3E50;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    /* 통일된 모바일 로고 스타일 - Program 페이지 기준 */
    .cerc-logo .seoul {
        font-size: 36px;
    }
    
    .cerc-logo .conference {
        font-size: 8px;
        letter-spacing: 5px;
    }
    
    .cerc-logo .cerc-text,
    .cerc-logo .year {
        font-size: 14px;
    }

    .header-content {
        position: relative;
    }

    /* 모바일 네비게이션 - 통일된 스타일 */
    nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-radius: 8px;
        padding: 15px 20px;
        min-width: 200px;
        z-index: 1000;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav ul li {
        border-bottom: 1px solid #eee;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        display: block;
        padding: 12px 10px;
        font-size: 15px;
        text-align: left;
    }
}

/* 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* 유틸리티 클래스 */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.p-20 {
    padding: 20px;
}
