/* 전체 스타일 */
:root {
    --primary-color: #3B7EA1;
    --secondary-color: #F5A623;
    --accent-color: #4CAF50;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --dark-gray: #9E9E9E;
    --text-color: #212121;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans KR', 'Montserrat', sans-serif;
    font-weight: 700;
}

/* 헤더 스타일 */
.site-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.site-header .nav-link {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.site-header .nav-link:hover {
    color: white;
}

.site-header .dropdown-menu {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 히어로 섹션 */
.hero-section {
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 5rem 0;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* 카테고리 섹션 */
.category-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.category-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-card-body {
    padding: 1.5rem;
}

.category-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* 추천 명소 섹션 */
.featured-section {
    padding: 4rem 0;
}

.featured-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin-bottom: 2rem;
}

.featured-card:hover {
    transform: translateY(-5px);
}

.featured-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.featured-card-body {
    padding: 1.5rem;
}

.featured-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.featured-card-region {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.featured-card-category {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* 지역별 섹션 */
.region-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.region-map {
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 계절별 섹션 */
.season-section {
    padding: 4rem 0;
}

.season-tabs .nav-link {
    color: var(--text-color);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 0;
    font-weight: 500;
}

.season-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    background-color: transparent;
}

.season-content {
    padding: 2rem 0;
}

/* 푸터 스타일 */
.site-footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
}

.site-footer h5 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.site-footer ul {
    list-style: none;
    padding-left: 0;
}

.site-footer ul li {
    margin-bottom: 0.5rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: white;
    text-decoration: underline;
}

.copyright {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    margin-top: 2rem;
    text-align: center;
}

/* 상세 페이지 스타일 */
.detail-header {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 8rem 0 4rem;
    position: relative;
}

.detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.detail-header-content {
    position: relative;
    z-index: 1;
}

.detail-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.detail-meta {
    margin-bottom: 1rem;
}

.detail-meta span {
    margin-right: 1rem;
}

.detail-content {
    padding: 3rem 0;
}

.detail-section {
    margin-bottom: 3rem;
}

.detail-section-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--medium-gray);
}

.photo-gallery {
    margin-bottom: 2rem;
}

.photo-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.photo-gallery img:hover {
    transform: scale(1.05);
}

/* 검색 결과 페이지 */
.search-filters {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.search-result-item {
    border-bottom: 1px solid var(--medium-gray);
    padding: 1.5rem 0;
}

.search-result-item:last-child {
    border-bottom: none;
}

/* 최신 업데이트 섹션 스타일 */
.recent-updates-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    height: 180px;
    object-fit: cover;
}

.card-footer {
    background-color: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem;
}

.new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--secondary-color);
    color: white;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 사진작가 인터뷰 섹션 스타일 */
.photographer-section {
    padding: 4rem 0;
}

.photographer-section .card {
    box-shadow: none;
    padding: 1.5rem;
}

.photographer-section .card:hover {
    transform: none;
}

.photographer-section .card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.photographer-section .fas {
    font-size: 1.2rem;
    color: var(--primary-color);
    opacity: 0.7;
}

/* 황금시간 촬영 가이드 섹션 스타일 */
.golden-hour-section {
    background-color: #f8f9fa;
}

.golden-hour-info, 
.golden-hour-tips, 
.golden-hour-locations {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.golden-hour-info h3, 
.golden-hour-tips h3,
.golden-hour-locations h3 {
    color: #d4af37;
    font-weight: 600;
}

.golden-hour-info ul li, 
.golden-hour-tips ol li {
    margin-bottom: 10px;
}

.golden-hour-tips ol {
    padding-left: 1.5rem;
}

.golden-hour-locations .card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.golden-hour-locations .card:hover {
    transform: translateY(-5px);
}

/* 야간 촬영 추천 명소 섹션 스타일 */
.night-photography-section {
    background-color: #1e1e2f;
    color: #fff;
}

.night-photography-section h2 {
    color: #fff;
}

.night-photo-intro, 
.night-photo-technique {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 100%;
}

.night-photo-intro h3, 
.night-photo-technique h3 {
    color: #a3d9ff;
    font-weight: 600;
}

.night-photo-intro ul li {
    margin-bottom: 10px;
}

.settings-table .table {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.settings-table .table-dark th {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.night-spot-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.night-spot-card:hover {
    transform: translateY(-5px);
}

.night-spot-info {
    background-color: rgba(0, 0, 0, 0.4);
}

.night-spot-info h5 {
    color: #a3d9ff;
    margin-bottom: 10px;
}

.night-spot-info p {
    color: #ddd;
    font-size: 0.9rem;
}

/* 반응형 스타일 */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .category-section, .featured-section, .region-section, .season-section {
        padding: 3rem 0;
    }
    
    .detail-header {
        padding: 6rem 0 3rem;
    }
    
    .detail-title {
        font-size: 2rem;
    }
    
    .region-map {
        height: 300px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .category-section, .featured-section, .region-section, .season-section {
        padding: 2rem 0;
    }
    
    .season-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .golden-hour-info, 
    .golden-hour-tips, 
    .night-photo-intro, 
    .night-photo-technique {
        margin-bottom: 20px;
    }
    
    .settings-table {
        font-size: 0.8rem;
    }
    
    .settings-table .table th,
    .settings-table .table td {
        padding: 0.5rem;
    }
}
