@charset "utf-8";
   :root {
        --brand-red: #ea2635;      /* 品牌紅 */
        --text-dark: #333333;      /* 深色文字 */
        --text-gray: #666666;      /* 灰色說明文字 */
        --font-main: "微軟正黑體", "Noto Sans TC", sans-serif;
    }

  
    a { text-decoration: none; }

    /* 圖片自適應 */
    .img-fluid {
        max-width: 100%;
        height: auto;
    }
/* 1. Hero Section (主視覺) */
.hero-section {
    background: url('../images/contact-title-photo.png');
    background-size: cover;
    background-position: center;
    /* 改用 min-height 以適應不同內容長度 */
    min-height: 300px; 
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    padding: 40px 0;
}
/* 增加黑色遮罩讓文字更清楚 (可選) */
.hero-section::before {
    content: '';
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}
.hero-text {
    position: relative;
    z-index: 2;
}
.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}
.hero-text p {
    color: #e72d2d; /* 原本是紅字，但在深色圖上建議白色，或維持 var(--brand-red) 並加文字陰影 */
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}
    /* =========================================
       2. 共用組件 (標題、按鈕)
       ========================================= */
    
    /* 左側紅線標題 */
    .section-header {
        border-left: 6px solid var(--brand-red);
        padding-left: 15px;
        margin-bottom: 1rem; margin-top: 50px;
		
    }
    .section-header h2 {
        color: var(--brand-red);
        font-weight: 700;
        margin-bottom: 0.2rem;
        text-transform: capitalize;
        font-size: 2rem;
    }
    .section-header span {
        font-size: 1.2rem;
        font-weight: 700;
        color: #000;
        text-transform: uppercase;
    }
/* =========================================
   Contact Page Specific Styles
   ========================================= */

/* 讓主要內容區域有適當的邊距，並限制最大寬度以符合圖片中的視覺集中感 */
.contact-page-container {
    padding-top: 50px; /* 避開固定導覽列 */
    padding-bottom: 80px;
}

.content-wrapper {
    max-width: 800px; /* 限制寬度讓表單看起來像圖片一樣集中 */
    margin: 0 auto;  
}

/* 1. 標題區塊樣式 */
.red-vertical-bar {
    width: 6px;
    height: 45px;
    background-color: #ff0040; /* 圖片中較鮮豔的紅色 */
    display: inline-block;
}

.contact-header h1 {
    color: #ff0040 !important;
    line-height: 1.2;
	
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

/* 2. 聯絡資訊文字 */
.contact-info p {
    font-size: 1.3rem;
    color: #333;
}

/* 3. 社群圖示 (圓形) */
.share-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.2s;
}

.share-icon:hover {
    transform: translateY(-3px);
    color: white;
}

/* 各別顏色設定 */
.share-icon.line {
    background-color: #00c300;
}

.share-icon.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.share-icon.facebook {
    background-color: #1877f2;
}

/* 4. 表單樣式 */
.contact-form-section label {
    font-size: 1.3rem;
    color: #333;
    font-weight: 400;
    letter-spacing: 1px;
}

/* 修正 Mobile 上 Label 的對齊方式 */
@media (max-width: 767px) {
    .contact-form-section label {
        text-align: left !important;
        margin-bottom: 5px;
    }
}

/* 輸入框樣式 */
.form-control, .form-select {
    border: 1px solid #ced4da;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 1.3rem;
    background-color: #fff;
}
.contact-font{font-size: 1.3rem; line-height: 30px;}
.form-control:focus, .form-select:focus {
    border-color: #ff0040;
    box-shadow: 0 0 0 0.25rem rgba(255, 0, 64, 0.1);
}

/* 下拉選單箭頭微調 */
.form-select {
    background-position: right 1rem center;
}

/* 5. 送出按鈕 */
.btn-submit {
    background-color: #ff0040; /* 鮮豔紅 */
    color: white;
    padding: 10px 60px; /* 寬一點的按鈕 */
    border-radius: 50px; /* 圓角膠囊狀 */
    font-size: 1.1rem;
    letter-spacing: 2px;
    border: none;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #d60036; /* 深一點的紅 */
    color: white;
}