/* 
- 파일명: theme7.css
- 위치: /assets/css/theme7.css
- 기능: 웨딩박람회 일정 페이지 테마 7 (벚꽃 웨딩 테마) 스타일시트
- 작성일: 2025-03-15
*/

/* 색상 변수 */
:root {
  --primary-color: #f8c8dc; /* 연한 벚꽃색 */
  --primary-dark: #e99cb1; /* 짙은 벚꽃색 */
  --secondary-color: #ffeef4; /* 매우 연한 핑크 */
  --accent-color: #ff9eb5; /* 밝은 핑크 */
  --text-color: #4a4a4a; /* 진한 회색 */
  --light-text: #777777; /* 연한 회색 */
  --background-color: #fff9fb; /* 매우 연한 분홍 배경 */
  --card-color: #ffffff; /* 흰색 */
  --border-color: #f8d7e3; /* 연한 분홍 테두리 */
  --footer-color: #564156; /* 어두운 보라 */
}

/* 기본 스타일 */
body {
  font-family: 'IBM Plex Sans KR', 'Noto Sans KR', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
  position: relative;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 5;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
}

/* 벚꽃 배경 효과 */
.cherry-blossom-container {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 pointer-events: none;
 z-index: 1;
 overflow: hidden;
}

.blossom {
 position: absolute;
 width: 15px;
 height: 15px;
 background-image: url('/p/wedding/assets/images/cherry-blossom.png');
 background-size: cover;
 opacity: 0.7;
 z-index: 1;
}

.blossom-1, .blossom-3, .blossom-5 {
 width: 20px;
 height: 20px;
 opacity: 0.8;
}

.blossom-2, .blossom-4, .blossom-6 {
 width: 12px;
 height: 12px;
 opacity: 0.6;
}

.blossom.animate {
 animation: falling 10s linear forwards;
}

@keyframes falling {
 0% {
   transform: translateY(0) rotate(0deg);
   opacity: 0.7;
 }
 50% {
   opacity: 0.8;
 }
 100% {
   transform: translateY(100vh) rotate(360deg);
   opacity: 0;
 }
}

/* 헤더 스타일 */
.blossom-header {
 background-color: var(--primary-color);
 background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
 padding: 5rem 0 3rem;
 position: relative;
 overflow: hidden;
}

.blossom-header::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background-image: url('/p/wedding/assets/images/cherry-blossom-pattern.png');
 background-size: 200px;
 opacity: 0.05;
 z-index: 1;
}

.header-content {
 position: relative;
 z-index: 5;
}

.ribbon {
 width: 120px;
 height: 30px;
 background-color: var(--accent-color);
 position: relative;
 margin-bottom: 1.5rem;
 text-align: center;
 line-height: 30px;
 color: white;
 font-weight: 500;
 font-size: 0.85rem;
 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.ribbon::before, .ribbon::after {
 content: '';
 position: absolute;
 border: 15px solid var(--accent-color);
}

.ribbon::before {
 border-left-color: transparent;
 left: -15px;
}

.ribbon::after {
 border-right-color: transparent;
 right: -15px;
}

.header-title {
 font-size: 3.5rem;
 font-weight: 900;
 color: var(--text-color);
 margin-bottom: 1rem;
 letter-spacing: -1px;
}

.header-description {
 font-size: 1.3rem;
 color: var(--light-text);
 font-weight: 400;
 margin-bottom: 2rem;
 max-width: 80%;
}

.header-actions {
 display: flex;
 margin-top: 2rem;
}

.btn-cherry {
 display: inline-flex;
 align-items: center;
 padding: 0.8rem 1.5rem;
 background-color: var(--accent-color);
 color: white;
 border-radius: 50px;
 box-shadow: 0 3px 8px rgba(255, 158, 181, 0.3);
 font-weight: 500;
 transition: all 0.3s ease;
}

.btn-cherry:hover {
 background-color: var(--primary-dark);
 transform: translateY(-3px);
 box-shadow: 0 5px 15px rgba(255, 158, 181, 0.4);
 color: white;
}

.btn-cherry i {
 margin-right: 0.5rem;
}

.btn-cherry-outline {
 display: inline-flex;
 align-items: center;
 padding: 0.8rem 1.5rem;
 background-color: transparent;
 color: var(--text-color);
 border: 2px solid var(--accent-color);
 border-radius: 50px;
 font-weight: 500;
 transition: all 0.3s ease;
}

.btn-cherry-outline:hover {
 background-color: var(--accent-color);
 color: white;
 transform: translateY(-3px);
 box-shadow: 0 5px 15px rgba(255, 158, 181, 0.2);
}

.btn-cherry-outline i {
 margin-right: 0.5rem;
}

.search-box {
 background-color: var(--card-color);
 border-radius: 15px;
 padding: 2rem;
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.search-title {
 font-size: 1.3rem;
 margin-bottom: 1.5rem;
 color: var(--text-color);
 position: relative;
 display: inline-block;
}

.search-title::after {
 content: '';
 position: absolute;
 bottom: -8px;
 left: 0;
 width: 80%;
 height: 3px;
 background-color: var(--accent-color);
}

.search-box .input-group {
 box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
 border-radius: 50px;
 overflow: hidden;
}

.search-box .input-group-text {
 background-color: white;
 border-right: none;
 color: var(--accent-color);
 padding-left: 1.5rem;
}

.search-box .form-control {
 border-left: none;
 height: 50px;
 font-size: 1rem;
 padding-left: 0;
}

.search-box .form-control:focus {
 box-shadow: none;
}

/* 필터 섹션 */
.filter-section {
 position: sticky;
 top: 0;
 z-index: 100;
 background-color: var(--background-color);
 padding: 1rem 0;
 margin-bottom: 3rem;
 margin-top: -1.5rem;
}

.filter-card {
 background-color: var(--card-color);
 border-radius: 15px;
 padding: 1.5rem;
 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.section-title {
 font-size: 1.5rem;
 margin-bottom: 1.5rem;
 font-weight: 700;
 color: var(--text-color);
}

.filter-buttons {
 display: flex;
 flex-wrap: wrap;
 gap: 0.75rem;
}

.filter-btn {
 padding: 0.6rem 1.2rem;
 background-color: var(--secondary-color);
 border: none;
 border-radius: 50px;
 color: var(--text-color);
 font-size: 0.9rem;
 cursor: pointer;
 transition: all 0.3s ease;
 font-weight: 500;
}

.filter-btn:hover {
 background-color: var(--primary-color);
 transform: translateY(-2px);
}

.filter-btn.active {
 background-color: var(--accent-color);
 color: white;
 box-shadow: 0 3px 8px rgba(255, 158, 181, 0.3);
}

.filter-btn span {
 position: relative;
 z-index: 2;
}

/* 콘텐츠 섹션 */
.content-section {
 margin-bottom: 3rem;
}

.content-card {
 background-color: var(--card-color);
 border-radius: 15px;
 padding: 2rem;
 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.content-body {
 font-size: 1rem;
 color: var(--light-text);
 line-height: 1.8;
}

/* 지역 섹션 */
.region-section {
 margin-bottom: 4rem;
}

.region-title-container {
 position: relative;
 margin-bottom: 2rem;
 text-align: center;
}

.region-title {
 display: inline-block;
 font-size: 1.8rem;
 font-weight: 700;
 color: var(--text-color);
 padding: 0 2rem 0.5rem;
 position: relative;
}

.region-title::before, .region-title::after {
 content: '❀';
 position: absolute;
 color: var(--accent-color);
 font-size: 1.2rem;
}

.region-title::before {
 left: 0;
}

.region-title::after {
 right: 0;
}

.region-title::before {
 animation: bounce 2s infinite ease-in-out;
}

.region-title::after {
 animation: bounce 2s infinite ease-in-out 0.5s;
}

@keyframes bounce {
 0%, 100% {
   transform: translateY(0);
 }
 50% {
   transform: translateY(-5px);
 }
}

/* 그리드 레이아웃 */
.blossom-grid {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
 gap: 2rem;
}

/* 카드 스타일 */
.blossom-card {
 background-color: var(--card-color);
 border-radius: 15px;
 overflow: hidden;
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
 height: 100%;
 display: flex;
 flex-direction: column;
 border: 1px solid var(--border-color);
}

.blossom-card:hover {
 transform: translateY(-5px);
 box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-image {
 position: relative;
 width: 100%;
 overflow: hidden;
}

.card-image img {
 width: 100%;
 aspect-ratio: 1/1;
 object-fit: cover;
 transition: transform 0.5s ease;
}

.blossom-card:hover .card-image img {
 transform: scale(1.05);
}

.card-badge {
 position: absolute;
 top: 15px;
 right: 15px;
 background-color: var(--accent-color);
 color: white;
 padding: 0.3rem 0.8rem;
 font-size: 0.8rem;
 font-weight: 500;
 border-radius: 50px;
}

.card-content {
 padding: 2rem;
 flex-grow: 1;
 display: flex;
 flex-direction: column;
}

.card-title {
 font-size: 1.3rem;
 font-weight: 700;
 margin-bottom: 1.5rem;
 color: var(--text-color);
 line-height: 1.4;
}

.card-info {
 margin-bottom: 1.5rem;
 flex-grow: 1;
}

.info-item {
 display: flex;
 align-items: flex-start;
 margin-bottom: 1rem;
 color: var(--light-text);
 font-size: 0.95rem;
 line-height: 1.5;
}

.info-item i {
 color: var(--accent-color);
 font-size: 1.1rem;
 margin-right: 0.75rem;
 min-width: 1.5rem;
 margin-top: 0.2rem;
}

.card-action {
 margin-top: auto;
}

.btn-apply {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 100%;
 padding: 0.8rem 1.5rem;
 background-color: var(--primary-color);
 color: var(--text-color);
 border-radius: 50px;
 font-weight: 500;
 transition: all 0.3s ease;
}

.btn-apply:hover {
 background-color: var(--accent-color);
 color: white;
}

.btn-apply span {
 margin-right: 0.5rem;
}

.btn-apply i {
 font-size: 1.1rem;
}

/* CTA 섹션 */
.blossom-cta {
 background-color: var(--primary-color);
 padding: 5rem 0;
 text-align: center;
 position: relative;
 overflow: hidden;
}

.blossom-cta::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background-image: url('/p/wedding/assets/images/cherry-blossom-pattern.png');
 background-size: 200px;
 opacity: 0.05;
 z-index: 1;
}

.cta-inner {
 position: relative;
 z-index: 5;
 max-width: 800px;
 margin: 0 auto;
}

.blossom-cta h2 {
 font-size: 2.5rem;
 font-weight: 700;
 color: var(--text-color);
 margin-bottom: 1.5rem;
}

.blossom-cta p {
 font-size: 1.2rem;
 color: var(--light-text);
 margin-bottom: 2rem;
}

.btn-large {
 display: inline-flex;
 align-items: center;
 padding: 1rem 2.5rem;
 background-color: var(--accent-color);
 color: white;
 border-radius: 50px;
 font-size: 1.1rem;
 font-weight: 500;
 box-shadow: 0 5px 15px rgba(255, 158, 181, 0.3);
 transition: all 0.3s ease;
}

.btn-large:hover {
 background-color: var(--primary-dark);
 transform: translateY(-3px);
 box-shadow: 0 8px 20px rgba(255, 158, 181, 0.4);
 color: white;
}

/* 푸터 스타일 */
.blossom-footer {
 background-color: var(--footer-color);
 color: rgba(255, 255, 255, 0.8);
 padding: 5rem 0 2rem;
}

.footer-title {
 font-size: 1.3rem;
 font-weight: 700;
 color: white;
 margin-bottom: 1.5rem;
 position: relative;
 display: inline-block;
 padding-bottom: 0.5rem;
}

.footer-title::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 width: 50px;
 height: 3px;
 background-color: var(--accent-color);
}

.footer-content {
 margin-bottom: 2rem;
}

.footer-bottom {
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 margin-top: 3rem;
 padding-top: 2rem;
 text-align: center;
 color: rgba(255, 255, 255, 0.6);
 font-size: 0.9rem;
}

/* 스크롤 탑 버튼 */
.scroll-to-top {
 position: fixed;
 bottom: 30px;
 right: 30px;
 width: 50px;
 height: 50px;
 background-color: var(--accent-color);
 color: white;
 border-radius: 50%;
 display: flex;
 justify-content: center;
 align-items: center;
 font-size: 1.5rem;
 cursor: pointer;
 opacity: 0;
 visibility: hidden;
 transition: all 0.3s ease;
 z-index: 100;
 box-shadow: 0 3px 10px rgba(255, 158, 181, 0.3);
}

.scroll-to-top.show {
 opacity: 1;
 visibility: visible;
}

.scroll-to-top:hover {
 background-color: var(--primary-dark);
 transform: translateY(-3px);
 box-shadow: 0 5px 15px rgba(255, 158, 181, 0.4);
}

/* 반응형 스타일 */
@media (max-width: 991px) {
 .blossom-header {
   padding: 4rem 0 2.5rem;
 }
 
 .header-title {
   font-size: 2.8rem;
 }
 
 .header-description {
   max-width: 100%;
 }
 
 .search-box {
   margin-top: 3rem;
 }
 
 .blossom-cta h2 {
   font-size: 2rem;
 }
}

@media (max-width: 767px) {
 .blossom-header {
   padding: 3rem 0 2rem;
 }
 
 .header-title {
   font-size: 2.2rem;
 }
 
 .blossom-grid {
   grid-template-columns: 1fr;
 }
 
 .filter-buttons {
   overflow-x: auto;
   flex-wrap: nowrap;
   padding-bottom: 1rem;
   margin-bottom: -1rem;
 }
 
 .filter-btn {
   flex: 0 0 auto;
   white-space: nowrap;
 }
 
 .blossom-cta {
   padding: 3rem 0;
 }
 
 .blossom-cta h2 {
   font-size: 1.8rem;
 }
 
 .blossom-cta p {
   font-size: 1rem;
 }
 
 .btn-large {
   padding: 0.8rem 2rem;
   font-size: 1rem;
 }
}

@media (max-width: 575px) {
 .header-title {
   font-size: 1.8rem;
 }
 
 .ribbon {
   height: 25px;
   line-height: 25px;
   font-size: 0.8rem;
 }
 
 .ribbon::before, .ribbon::after {
   border-width: 12.5px;
 }
 
 .ribbon::before {
   left: -12.5px;
 }
 
 .ribbon::after {
   right: -12.5px;
 }
 
 .card-content {
   padding: 1.5rem;
 }
 
 .region-title {
   font-size: 1.5rem;
 }
}

/* 벚꽃 대신 CSS로 구현한 원형 요소 */
.blossom {
  position: absolute;
  border-radius: 50%;
  background-color: #ffcad4;
  box-shadow: 0 0 5px #ffc0cb;
}

.blossom::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, white 5%, transparent 40%);
  border-radius: 50%;
}

/* 패턴 대신 CSS 그라데이션 사용 */
.blossom-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
                    radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
                    radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
                    radial-gradient(circle at 70% 90%, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.3;
  z-index: 1;
}