/**
 * Reviews Section Styles
 * RiseCreatives Theme - reviews.css
 */

/* ==========================================
   Reviews 區塊
   ========================================== */

.rise-theme-reviews-section {
    width: 100%;
    padding: 120px 0;
    background-color: #FFFEF9;
    position: relative;
    overflow: hidden;
}

.rise-theme-reviews-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

/* ==========================================
   上方：標題與描述（置中）
   ========================================== */

.rise-theme-reviews-left {
    position: relative;
    text-align: center;
    max-width: 800px;
}

/* 標題與裝飾線容器 */
.rise-theme-reviews-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
}

.rise-theme-reviews-title {
    font-size: 42px;
    font-weight: 700;
    color: #3F776F;
    margin: 0;
}

/* 品牌色裝飾線（隱藏） */
.rise-theme-reviews-line {
    display: none;
}

/* 描述文字 */
.rise-theme-reviews-description {
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a4a;
    margin: 0 0 30px 0;
}

/* Google 評分區 */
.rise-theme-reviews-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.rise-theme-reviews-google-logo {
    width: 80px;
    height: auto;
}

.rise-theme-reviews-stars {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rise-theme-reviews-stars-display {
    display: flex;
    gap: 4px;
    font-size: 20px;
    color: #FFC269;
}

.rise-theme-reviews-score {
    font-size: 18px;
    font-weight: 600;
    color: #333333;
}

/* ==========================================
   下方：評論輪播（全寬置中）
   ========================================== */

.rise-theme-reviews-right {
    position: relative;
    overflow: hidden;
    padding-bottom: 100px;
    width: 100%;
}

.rise-theme-reviews-carousel {
    position: relative;
    width: 100%;
}

/* 輪播軌道 */
.rise-theme-reviews-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s ease;
}

/* 評論卡片 */
.rise-theme-review-card {
    flex: 0 0 calc(33.333% - 14px);
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    opacity: 1;
    transition: all 0.4s ease;
    position: relative;
}

.rise-theme-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* 星星評分 */
.rise-theme-review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    font-size: 18px;
    color: #FFC269;
}

/* 評論者名稱 */
.rise-theme-review-author {
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    margin: 0 0 12px 0;
}

/* 評論內容 */
.rise-theme-review-content {
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
    margin: 0 0 16px 0;
}

/* Google 小圖示 */
.rise-theme-review-google-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    opacity: 0.4;
}

/* ==========================================
   輪播控制按鈕
   ========================================== */

.rise-theme-reviews-controls {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.rise-theme-reviews-btn {
    width: 44px;
    height: 44px;
    background-color: transparent;
    border: 2px solid #FFC269;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #FFC269;
}

.rise-theme-reviews-btn:hover {
    background-color: #FFC269;
    border-color: #FFC269;
    color: #ffffff;
}

.rise-theme-reviews-btn:active {
    transform: scale(0.95);
}

.rise-theme-reviews-btn svg {
    width: 20px;
    height: 20px;
}

/* ==========================================
   響應式設計
   ========================================== */

/* 平板版 (768px - 1024px) */
@media (max-width: 1024px) {
    .rise-theme-reviews-container {
        gap: 40px;
        padding: 0 30px;
    }
    
    .rise-theme-reviews-title {
        font-size: 36px;
    }
    
    .rise-theme-review-card {
        flex: 0 0 calc(50% - 10px);
    }
}

/* 手機版 (< 768px) */
@media (max-width: 768px) {
    .rise-theme-reviews-section {
        padding: 60px 0;
    }
    
    .rise-theme-reviews-container {
        gap: 40px;
        padding: 0 20px;
    }
    
    .rise-theme-reviews-title {
        font-size: 28px;
    }
    
    .rise-theme-reviews-header {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .rise-theme-reviews-line {
        width: 60px;
    }
    
    .rise-theme-reviews-description {
        font-size: 14px;
    }
    
    .rise-theme-review-card {
        flex: 0 0 calc(100% - 20px);
    }
    
    .rise-theme-review-content {
        font-size: 14px;
    }
}