/* Import component styles */
/* @import "component/banner.css"; */

/* 首頁特定樣式 */

/* 英雄區塊 */
.hero-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-light);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/member/hero-pattern.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

/* 搜尋區塊 */
.search-form {
    padding: 1.5rem;
    border-radius: 10px;
    background: white;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

/* 目的地卡片 */
.destination-card {
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* 目的地篩選按鈕 */
.destination-filter {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
}

.destination-filter .btn-group {
    min-width: 100%;
}

/* 呼叫行動區塊 */
.cta-section {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/member/cta-pattern.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

/* 卡片覆蓋層效果 */
.card-img-overlay {
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: all 0.3s;
}

.card-img-overlay.visible {
    opacity: 1;
}

/* 輪播控制按鈕自定義 */
.carousel-control-next, .carousel-control-prev {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    margin: 0 10px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: var(--primary);
}

/* 響應式調整 */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
        text-align: center;
    }
    
    .search-form {
        padding: 1rem;
    }
    
    .carousel-control-next, .carousel-control-prev {
        display: none;
    }
    
    .destination-filter .btn-group {
        flex-wrap: nowrap;
    }
}

