/**
 * Schedule 섹션 - 푸르지오 파크7 스타일
 * 참고: https://www.prugio.com/hb/2025/park7/
 * 완전히 재구현된 디자인
 */

/* ============================================
   메인 컨테이너
   ============================================ */
.main-section-schedule {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #e8ebe9; /* 기본 밝은 배경 */
}

/* 배경 이미지 레이어 */
.schedule-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/imgi_54_schedule-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 1;
}

/* 컨테이너 */
.schedule-container-modern {
    max-width: 1600px;
    width: 100%;
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 80px;
    padding: 60px 80px;
    position: relative;
    z-index: 2;
}

/* ============================================
   좌측 영역 (타이틀 & 네비게이션)
   ============================================ */
.schedule-left-modern {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.schedule-main-title {
    font-size: 100px;
    font-weight: 700;
    color: #004e50;
    line-height: 1;
    margin: 0 0 20px 0;
    letter-spacing: -3px;
    font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
}

.schedule-main-subtitle {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    margin: 0 0 50px 0;
}

.schedule-main-subtitle strong {
    font-weight: 700;
    color: #004e50;
}

/* 탭 네비게이션 */
.schedule-nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 80px;
}

.schedule-tab {
    display: flex;
    align-items: center;
    padding: 0;
    background: none;
    border: none;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 20px;
}

.schedule-tab::before {
    content: '';
    position: absolute;
    left: 0;
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.schedule-tab.active {
    color: #004e50;
    font-weight: 600;
}

.schedule-tab.active::before {
    background: #004e50;
    width: 10px;
    height: 10px;
}

.schedule-tab:hover {
    color: #004e50;
}

/* 스크롤 인디케이터 */
.schedule-scroll-indicator {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
}

.scroll-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #004e50;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* ============================================
   우측 영역 (캘린더 그리드)
   ============================================ */
.schedule-right-modern {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 상단 우측 배지 버튼 */
.schedule-badge-top {
    position: absolute;
    top: -40px;
    right: 0;
    z-index: 10;
}

.badge-circle-btn {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c99d5b 0%, #a67c44 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 10px 30px rgba(201, 157, 91, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.badge-circle-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4a963 0%, #b88a50 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.badge-circle-btn:hover::before {
    opacity: 1;
}

.badge-circle-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(201, 157, 91, 0.6);
}

.badge-text-top,
.badge-text-bottom {
    position: relative;
    z-index: 1;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.badge-text-top {
    margin-bottom: 3px;
}

/* 캘린더 그리드 */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 900px;
}

/* 캘린더 카드 - 원본 웹사이트 스타일 */
.calendar-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.calendar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #004e50;
    transition: width 0.3s ease;
}

.calendar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.calendar-card:hover::before {
    width: 4px;
}

/* 주요 이벤트 카드 */
.calendar-card.card-primary {
    background: #004e50;
    color: #fff;
}

.calendar-card.card-primary::before {
    display: none;
}

.calendar-card.card-primary .card-date,
.calendar-card.card-primary .card-event {
    color: #fff;
}

.calendar-card.card-secondary .card-event {
    font-weight: 700;
    color: #004e50;
}

/* 날짜 - 원본 웹사이트 스타일 */
.card-date {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.1;
    display: flex;
    align-items: baseline;
    gap: 4px;
    letter-spacing: -1.5px;
    font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
}

.card-day {
    font-size: 15px;
    font-weight: 400;
    color: #666;
    font-family: 'Noto Sans KR', sans-serif;
}

.calendar-card.card-primary .card-day {
    color: rgba(255, 255, 255, 0.85);
}

.date-range {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
}

/* 이벤트 이름 - 원본 웹사이트 스타일 */
.card-event {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    line-height: 1.5;
    font-family: 'Noto Sans KR', sans-serif;
}

/* ============================================
   소셜 미디어 아이콘
   ============================================ */
.schedule-social-icons {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #004e50;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 86, 65, 0.3);
}

.social-icon:hover {
    background: #c99d5b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 157, 91, 0.4);
}

/* ============================================
   모바일 대응 (768px 이하)
   ============================================ */
@media (max-width: 992px) {
    .schedule-container-modern {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 50px 30px;
    }
    
    .schedule-left-modern {
        align-items: flex-start;
    }
    
    .schedule-main-title {
        font-size: 48px;
        margin-bottom: 15px;
    }
    
    .schedule-main-subtitle {
        font-size: 15px;
    }
    
    /* 모바일에서도 2열 유지 */
    .calendar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .calendar-card {
        padding: 25px 20px;
    }
    
    .card-date {
        font-size: 28px;
    }
    
    .card-event {
        font-size: 14px;
    }
    
    .schedule-badge-top {
        top: -25px;
        right: 5px;
    }
    
    .badge-circle-btn {
        width: 90px;
        height: 90px;
    }
    
    .badge-text-top,
    .badge-text-bottom {
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .schedule-container-modern {
        padding: 40px 20px;
    }
    
    .schedule-main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .schedule-main-subtitle {
        font-size: 13px;
        margin-bottom: 30px;
    }
    
    .schedule-nav-links {
        margin-bottom: 40px;
    }
    
    .schedule-tab {
        font-size: 13px;
    }
    
    /* 모바일에서도 2열 그리드 유지 (원본 웹사이트와 동일) */
    .calendar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .calendar-card {
        padding: 20px 15px;
    }
    
    .card-date {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .card-day {
        font-size: 13px;
    }
    
    .card-event {
        font-size: 12px;
        line-height: 1.3;
    }
    
    .date-range {
        font-size: 16px;
    }
    
    /* 배지를 우측 상단으로 유지하되 크기 축소 */
    .schedule-badge-top {
        top: -20px;
        right: 0;
    }
    
    .badge-circle-btn {
        width: 80px;
        height: 80px;
    }
    
    .badge-text-top,
    .badge-text-bottom {
        font-size: 10px;
    }
}

