/* 
- 파일명: theme1.css
- 위치: /assets/css/theme1.css
- 기능: 웨딩박람회 일정 페이지 테마 1 (카드형 레이아웃) 스타일시트
- 작성일: 2025-03-14
*/

/* 공통 스타일 */
body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* 헤더 스타일 */
.site-header {
    background-color: #0d6efd;
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.site-header h1 {
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
}

/* 지역 필터 스타일 */
.region-filter {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    position: sticky;
    top: 20px;
    z-index: 1000;
}

.region-filter .btn {
    margin: 0.25rem;
    font-size: 0.9rem;
}

/* 카드 스타일 */
.fair-card {
    height: 100%;
    transition: transform 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.fair-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.fair-card .card-img-top {
    aspect-ratio: 1/1;
    object-fit: cover;
}

.fair-header {
    background-color: #0d6efd;
    color: white;
    padding: 1rem;
    border-radius: 0.5rem 0.5rem 0 0;
}

.fair-header h3 {
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 4px solid white;
}

/* 푸터 스타일 */
.site-footer {
    background-color: #343a40;
    color: rgba(255,255,255,0.7);
    padding: 3rem 0;
}

/* 버튼 스타일 */
.btn-detail {
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s;
}

.btn-detail:hover {
    background-color: #0b5ed7;
    transform: scale(1.05);
}

/* 입력 폼 스타일 */
.input-group-text {
    border-right: none;
    background-color: #fff;
}

.form-control {
    border-left: none;
    padding-left: 0;
}

/* 스크롤 탑 버튼 */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #0d6efd;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
}