/* 主要顏色變數 - 中國風專業配色方案 */
:root {
    --lee-primary: #9E0028;      /* 主色調 - 酒紅色（保持不變） */
    --lee-secondary: #8a7357;    /* 次要色調 - 古銅色 */
    --lee-accent: #24536f;       /* 強調色 - 青藍色 */
    --lee-accent-light: #c8a45e; /* 輔助強調色 - 古金色 */
    --lee-light: #f8f5f0;        /* 淺色背景 - 米白色 */
    --lee-dark: #252525;         /* 深色文字 - 墨黑色 */
    --lee-border: #d9d0c1;       /* 邊框顏色 - 淺棕灰 */
    --lee-success: #517f59;      /* 成功提示色 - 墨綠色 */
    --lee-danger: #9E0028;       /* 錯誤提示色 - 與主色調一致 */
    --lee-primary-rgb: 158, 0, 40;
}

/* 全局樣式 */
body {
    font-family: "微軟正黑體", "Microsoft JhengHei", Arial, sans-serif;
    color: var(--lee-dark);
    line-height: 1.6;
}

a {
    color: var(--lee-primary);
    text-decoration: none;
}

a:hover {
    color: #001f3f;
    text-decoration: underline;
}

/* 頂部導航條 */
.top-bar {
    background-color: var(--lee-primary);
    color: white;
}

.top-bar a {
    color: white;
    text-decoration: none;
}

.top-bar a:hover {
    text-decoration: underline;
}

/* 標題區 */
.logo-container {
    padding: 15px 0;
}

.logo-container img {
    max-height: 60px;
}

/* 主視覺區 */
.hero-section {
    background: linear-gradient(135deg, var(--lee-primary) 0%, #001f3f 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/pattern.png');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* 按鈕樣式 - 更新為新色系 */
.btn-primary {
    background-color: var(--lee-accent);
    border-color: var(--lee-accent);
    color: white;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #7D0021;  /* 暗色調 */
    border-color: #7D0021;
    color: white;
    box-shadow: 0 4px 8px rgba(158, 0, 40, 0.25);
}

/* "更多" 按鈕樣式 */
.btn-more {
    background-color: var(--lee-accent);
    color: white;
    font-size: 16px;
    padding: 8px 15px;
    border-radius: 4px;
    margin: 20px 0;
    font-family: Arial, "微軟正黑體", sans-serif;
    display: inline-block;
    text-align: center;
    min-width: 180px;
    height: 35px;
    line-height: 20px;
    transition: all 0.3s ease;
}

.btn-more:hover {
    background-color: #7D0021;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(158, 0, 40, 0.3);
}

.btn-more > i {
    margin-left: 5px;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(5px);
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* 區段標題 */
.section-title {
    color: var(--lee-primary);
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

/* .section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--lee-accent); /* 更新為新色系 */
} */

/* 表單樣式 */
.form-section {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.form-section h3 {
    color: var(--lee-primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.form-label {
    font-weight: 500;
    color: var(--lee-dark);
}

.required-mark {
    color: var(--lee-accent); /* 更新為新色系 */
    margin-right: 4px;
}

.form-control {
    padding: 0.6rem 0.75rem;
    border-color: var(--lee-border);
    border-radius: 5px;
}

.form-control:focus {
    border-color: var(--lee-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 58, 112, 0.25);
}

.field-help {
    color: var(--lee-secondary);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

/* 餐點選項 */
.meal-options {
    background-color: var(--lee-light);
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
    border-left: 3px solid var(--lee-accent); /* 更新為新色系 */
}

.meal-options p {
    font-weight: 500;
    margin-bottom: 10px;
}

/* 驗證碼 */
.captcha-image {
    border: 1px solid var(--lee-border);
    border-radius: 5px;
    height: 38px;
}

/* 同意書 */
.consent-box {
    background-color: var(--lee-light);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 3px solid var(--lee-accent); /* 更新為新色系 */
}

.consent-check {
    font-weight: 500;
}

/* 送出按鈕 */
.submit-btn {
    background-color: var(--lee-accent); /* 更新為新色系 */
    border-color: var(--lee-accent); /* 更新為新色系 */
    color: white;
    font-weight: 500;
    padding: 10px 30px;
    border-radius: 5px;
    transition: all 0.3s;
}

.submit-btn:hover, .submit-btn:focus {
    background-color: #7D0021; /* 更深的酒紅色 */
    border-color: #7D0021;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(158, 0, 40, 0.25);
}

/* 研討會主題介紹 */
.feedback-section {
    background-color: white;
}

.testimonial-card {
    background-color: var(--lee-light);
    padding: 25px;
    border-radius: 10px;
    height: 100%;
    transition: all 0.3s;
    border-top: 4px solid var(--lee-accent); /* 更新為新色系 */
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-card h4 {
    color: var(--lee-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

/* 卡片標籤 */
.card-tag {
    display: inline-block;
    background-color: rgba(158, 0, 40, 0.1); /* 透明度版本的酒紅色 */
    color: var(--lee-accent);
    padding: 4px 10px;
    font-size: 0.8rem;
    border-radius: 30px;
    margin-bottom: 10px;
}

/* 頁腳 */
footer {
    background-color: var(--lee-dark);
    color: white;
}

footer h5 {
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
}

footer p {
    opacity: 0.8;
}

/* 社群連結 */
.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--lee-accent); /* 更新為新色系 */
    transform: translateY(-3px);
}

/* 響應式調整 */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .col-form-label {
        text-align: left;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .stat-card {
        margin-bottom: 0.5rem;
    }
    
    .form-section {
        padding: 15px;
    }
    
    .submit-btn {
        width: 100%;
    }
    
    .btn-more {
        width: 100%;
    }
}

.input-disabled {
    background-color: #f0f0f0 !important;
    color: #aaa !important;
    cursor: not-allowed !important;
    border-color: #e0e0e0 !important;
    /* 可依需求加上其他提示效果 */
}

body>.modal-backdrop {
    display: block !important;
    /* background-color: rgba(var(--lee-primary-rgb), 0.5) !important; */
    background-color: rgba(0, 0, 0, 0.6) !important;
    z-index: 1040 !important;
}
/* body>.modal-backdrop {
    display: block !important;
    background-color: rgba(158, 0, 40, 0.6) !important;
 
    z-index: 1040 !important;
} */
/* 讓驗證碼圖片與輸入框高度一致 */
#imgcode {
    max-width: 100px;
    height: 40px;
    border: 1px solid #333;
    cursor: pointer;
}

@media (max-width: 767.98px) {
    #imgcode {
        height: 32px;
        max-width: 80px;
    }
}
