/* 
- 파일명: theme5.css
- 위치: /assets/css/theme5.css
- 기능: 웨딩박람회 일정 페이지 테마 5 (프리미엄 다크 매거진 레이아웃) 스타일시트
- 작성일: 2025-03-15
- 수정일: 2025-08-05
*/

/* 색상 변수 */
:root {
  --primary-dark: #2c3e50;
  --secondary-dark: #34495e;
  --accent-gold: #f39c12;
  --accent-gold-light: #f1c40f;
  --dark-navy: #1a252f;
  --light-gold: #ffd700;
  --text-white: #ffffff;
  --text-light: #bdc3c7;
  --text-dark: #2c3e50;
  --card-bg: #ffffff;
  --border-color: #ecf0f1;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  --shadow-heavy: rgba(0, 0, 0, 0.25);
}

/* 공통 스타일 */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  line-height: 1.6;
  color: var(--text-white);
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--primary-dark) 100%);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 헤더 스타일 */
.timeline-header {
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--primary-dark) 100%);
  padding: 5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.timeline-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(243, 156, 18, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(241, 196, 15, 0.1) 0%, transparent 50%);
  z-index: 0;
}

.timeline-header .container {
  position: relative;
  z-index: 1;
}

.main-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--light-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(243, 156, 18, 0.3);
}

.subtitle {
  font-size: 2rem;
  font-weight: 300;
  margin-top: 0.5rem;
  color: var(--accent-gold);
  opacity: 0.9;
}

.header-text {
  margin-top: 2rem;
  max-width: 85%;
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.8;
}

.header-actions {
  margin-top: 2.5rem;
}

.header-actions .btn {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
  color: var(--text-dark);
  border: none;
  border-radius: 30px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.header-actions .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
  color: var(--text-dark);
}

.header-actions .btn-outline-light {
  background: transparent;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
}

.header-actions .btn-outline-light:hover {
  background: var(--accent-gold);
  color: var(--text-dark);
}

.search-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(243, 156, 18, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.search-title {
  color: var(--accent-gold);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.search-box .input-group {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-box .form-control {
  height: 55px;
  font-size: 1.1rem;
  border: none;
  background: var(--card-bg);
  color: var(--text-dark);
}

.search-box .input-group-text {
  background: var(--card-bg);
  color: var(--accent-gold);
  border: none;
  padding: 0 1.2rem;
}

/* 지역 필터 모달 */
.region-filter-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 37, 47, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.region-filter-modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(243, 156, 18, 0.2);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  padding: 2rem;
  border-bottom: 1px solid rgba(243, 156, 18, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  margin: 0;
  font-size: 1.6rem;
  color: var(--accent-gold);
  font-weight: 600;
}

.btn-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
  transition: color 0.3s ease;
}

.btn-close:hover {
  color: var(--accent-gold);
}

.modal-body {
  padding: 2rem;
}

.region-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(243, 156, 18, 0.3);
  border-radius: 25px;
  padding: 0.6rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.filter-btn:hover {
  background: rgba(243, 156, 18, 0.2);
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
  color: var(--text-dark);
  border-color: var(--accent-gold);
  font-weight: 600;
}

/* 메인 콘텐츠 스타일 */
.timeline-main {
  padding: 4rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 37, 47, 0.5) 100%);
}

.page-section {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
  text-align: center;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
  border-radius: 2px;
}

.timeline-title {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.timeline-title i {
  margin-right: 1rem;
  color: var(--accent-gold);
  font-size: 2.2rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(243, 156, 18, 0.1);
  margin-bottom: 3rem;
}

.info-card .section-title {
  color: var(--primary-dark);
  text-align: left;
}

.info-card .section-title::after {
  left: 0;
  transform: none;
}

.section-content {
  color: var(--text-dark);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* 매거진 그리드 스타일 */
.timeline-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-track {
  display: none; /* 타임라인 트랙 숨김 */
}

.timeline-date {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
  color: var(--text-dark);
  padding: 1rem 2rem;
  border-radius: 15px;
  margin: 3rem auto;
  text-align: center;
  max-width: 300px;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.date-badge {
  display: block;
}

.date-number {
  font-size: 2rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.date-month {
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.date-day {
  background: var(--primary-dark);
  color: var(--accent-gold);
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.5rem;
  display: inline-block;
}

/* 이벤트 카드 그리드 */
.timeline-event {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  margin-bottom: 2rem;
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(243, 156, 18, 0.1);
}

.timeline-event:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  border-color: var(--accent-gold);
}

.timeline-event-left,
.timeline-event-right {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.event-dot {
  display: none; /* 이벤트 도트 숨김 */
}

.event-content {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
}

.event-image {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 60%; /* 16:10 Aspect Ratio */
  overflow: hidden;
}

.event-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.timeline-event:hover .event-image img {
  transform: scale(1.08);
}

.region-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
  color: var(--accent-gold);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.event-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
  color: var(--text-dark);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.event-info {
  padding: 2rem;
  color: var(--text-dark);
}

.event-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  color: var(--primary-dark);
}

.event-detail {
  margin-bottom: 1.5rem;
  color: var(--secondary-dark);
}

.event-location, .event-date-range {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.event-location i, .event-date-range i {
  margin-right: 0.8rem;
  color: var(--accent-gold);
  font-size: 1.2rem;
}

.event-description {
  color: var(--secondary-dark);
  margin-bottom: 2rem;
  line-height: 1.7;
  font-size: 1rem;
}

.btn-apply {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
  color: var(--text-dark);
  border: none;
  border-radius: 30px;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
  background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--light-gold) 100%);
}

/* 이벤트 없음 스타일 */
.no-events {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 4rem 2rem;
  margin-top: 3rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(243, 156, 18, 0.1);
}

.no-events-content {
  max-width: 400px;
  margin: 0 auto;
}

.no-events i {
  font-size: 4rem;
  color: var(--accent-gold);
  margin-bottom: 2rem;
  display: block;
}

.no-events p {
  font-size: 1.3rem;
  color: var(--secondary-dark);
  font-weight: 500;
}

/* 푸터 스타일 */
.timeline-footer {
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--primary-dark) 100%);
  color: var(--text-light);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(243, 156, 18, 0.2);
}

.footer-title {
  color: var(--accent-gold);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
  border-radius: 2px;
}

.footer-content {
  margin-bottom: 2rem;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(243, 156, 18, 0.2);
  padding-top: 2rem;
  margin-top: 3rem;
  text-align: center;
  color: var(--text-light);
}

/* 스크롤 탑 버튼 */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

.scroll-to-top.show {
  opacity: 1;
  transform: translateY(0);
}

/* 반응형 스타일 */
@media (max-width: 991px) {
  .main-title {
    font-size: 2.8rem;
  }
  
  .subtitle {
    font-size: 1.6rem;
  }
  
  .timeline-event {
    max-width: 100%;
  }
  
  .search-box {
    margin-top: 2rem;
  }
}

@media (max-width: 767px) {
  .timeline-header {
    padding: 3rem 0 2rem;
  }
  
  .main-title {
    font-size: 2.2rem;
  }
  
  .subtitle {
    font-size: 1.4rem;
  }
  
  .header-text {
    max-width: 100%;
    font-size: 1rem;
  }
  
  .event-title {
    font-size: 1.2rem;
  }
  
  .event-info {
    padding: 1.5rem;
  }
  
  .search-box {
    padding: 2rem 1.5rem;
  }
  
  .info-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 575px) {
  .filter-btn {
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
  }
  
  .timeline-event {
    margin-bottom: 1.5rem;
  }
  
  .event-info {
    padding: 1.2rem;
  }
  
  .region-badge, .event-badge {
    top: 15px;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .region-badge {
    left: 15px;
  }
  
  .event-badge {
    right: 15px;
  }
  
  .no-events {
    padding: 3rem 1.5rem;
  }
  
  .modal-content {
    width: 95%;
  }
  
  .modal-header, .modal-body {
    padding: 1.5rem;
  }
}