@charset "utf-8";
/* CSS Document */
:root {
            --primary: #034A91;      /* 品牌藍 */
            --primary-dark: #02366a;
            --accent: #D4AF37;       /* 專業金 */
            --danger: #c00000;
            --light-bg: #F4F7FA;
            --white: #ffffff;
            --text-main: #2d3436;
            --text-muted: #636e72;
            --header-h: 75px;
        }

        /* 基礎設置 */
        * { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; }
        body {
            font-family: "PingFang TC", "Heiti TC", "Microsoft JhengHei", sans-serif;
            line-height: 1.7;
            color: var(--text-main);
            background-color: var(--white);
            overflow-x: hidden;
        }
        .container { width: 90%; max-width: 1100px; margin: 0 auto; }

        /* --- Header: 導航欄 --- */
        header {
            position: fixed;
            top: 0; left: 0; width: 100%; height: var(--header-h);
            background: var(--primary);
            z-index: 1000;
            display: flex;
            align-items: center;
            box-shadow: 0 2px 15px rgba(0,0,0,0.1);
        }
        nav { display: flex; justify-content: space-between; align-items: center; width: 100%; }
        .logo img { height: 42px; }

        .menu { display: flex; list-style: none; gap: 30px; }
        .menu a {
            text-decoration: none;
            color: #ffffff;
            font-weight: 500;
            font-size: 18px;
            letter-spacing: 1px;
            transition: 0.3s;
        }
        .menu a:hover { color: var(--accent); }

/* 預設狀態 (A 狀態) */
.menu a.register-link {
    color: #d4af37;        /* 設定為你指定的金色 */
    font-weight: bold;     /* 字體加粗 */
    text-decoration: none; /* 移除預設的底線，看起來更乾淨 */
}

/* 滑鼠懸停狀態 (Hover) - 當滑鼠游標移到文字上方時 */
.menu a.register-link:hover {
    color: #b8962e;        /* 顏色稍微變深一點，讓使用者知道這個可以點擊 */
    text-decoration: none; /* <--- 關鍵！這行設定成 none，底線就不會出現了 */
}

        /* --- Hero Section: 主視覺 --- */
        .hero2 {
            position: relative;
            padding: 160px 0 100px;
            text-align: center;
            color: white;
            background: linear-gradient(rgba(72, 10, 30, 0.75), rgba(72, 10, 30, 0.85)), 
                        url('../images/202607-bg.jpg') center/cover no-repeat;
            background-attachment: fixed;
        }
        .hero2 h1 { font-size: 3rem; font-weight: 800; letter-spacing: 1px; margin-bottom: 5px; }
        .hero2 h2 { font-size: 2.5rem; color: var(--accent); font-weight: 400; margin-bottom: 40px; }

        .hero {
            position: relative;
            padding: 160px 0 100px;
            text-align: center;
            color: white;
            background: linear-gradient(rgba(3, 74, 145, 0.75), rgba(3, 74, 145, 0.85)), 
                        url('../images/202606-bg.jpg') center/cover no-repeat;
            background-attachment: fixed;
        }
        .hero h1 { font-size: 3rem; font-weight: 800; letter-spacing: 1px; margin-bottom: 5px; }
        .hero h2 { font-size: 2.5rem; color: var(--accent); font-weight: 400; margin-bottom: 40px; }
        
        .date-badge {
            display: inline-block;
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255,255,255,0.3);
            padding: 15px 35px;
            border-radius: 12px;
            margin-bottom: 40px;
        }
        .date-badge strong { font-size: 38px; color: var(--accent); display: block; line-height: 1.2; }
        .date-badge span { font-size: 13px; letter-spacing: 2px; }

        .btn-cta {
            background: var(--danger);
            color: white;
            padding: 18px 55px;
            font-size: 1.2rem;
            text-decoration: none;
            border-radius: 5px;
            font-weight: bold;
            display: inline-block;
            transition: 0.4s;
            box-shadow: 0 10px 20px rgba(192, 0, 0, 0.3);
        }
        .btn-cta:hover { background: #e60000; transform: translateY(-3px); }

/* --- Speaker Section: 桌機版 (大版) 設定 --- */
.speaker { 
    padding-top: 60px;
    padding-bottom: 0; /* 桌機版讓圖片貼底 */
    position: relative;
    /* 已經為你套上完整的背景圖檔路徑 */
    background: linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)), 
                url('https://www.sfcwinner.com.tw/Yangsir/images/%E8%B3%87%E7%94%A2%2045.png') left/cover repeat-x;		
    background-attachment: fixed; 
    border-bottom: 1px solid #eee;
}

.speaker-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 50px; 
    align-items: center; 
    position: relative; 
    z-index: 2; 
}

.speaker-content {
    background: rgba(255, 255, 255, 0.7);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
	margin-bottom: 50px;
}

.speaker-tag { color: var(--primary); font-weight: bold; font-size: 1.6rem; letter-spacing: 1px; display: block; margin-bottom: 5px; }
.speaker-name { font-size: 3rem; color: var(--primary-dark); font-weight: 900; margin-bottom: 10px; line-height: 1.1; }
.speaker-title { border-left: 4px solid var(--accent); padding-left: 15px; margin-bottom: 25px; font-size: 1.1rem; color: var(--text-muted); }

.speaker-list { list-style: none; padding-left: 0; }
.speaker-list li { margin-bottom: 15px; font-size: 1.05rem; color: var(--text-main); display: flex; align-items: flex-start; gap: 12px; }
.speaker-list li i { color: var(--accent); margin-top: 5px; }

.speaker-img { 
    display: flex; 
    justify-content: flex-end; 
    align-self: end; 
}
.speaker-img img { 
    max-height: 420px; 
    width: auto; 
    filter: drop-shadow(10px 20px 40px rgba(0,0,0,0.15)); 
}


/* ======================================================= */
/* --- Speaker Section: 手機版 (小版) 排版優化 (圖片在上並貼齊框線) --- */
/* ======================================================= */
@media (max-width: 768px) {
    .speaker {
        padding-bottom: 50px; /* 補回手機版底部空白，避免文字框卡死在最邊緣 */
    }
    
    .speaker-grid {
        grid-template-columns: 1fr; /* 改為單欄直排 */
        gap: 0; /* 把網格預設的間距拿掉，讓圖片能碰到下方的框 */
    }

    .speaker-img {
        order: -1; /* 強制把圖片拉到最上面 */
        justify-content: center; 
        align-self: end; 
        z-index: 3; /* 確保圖片層級高於文字框，這樣才能疊上去 */
        margin-bottom: 0px; /* 🌟 關鍵：用負邊距讓圖片往下沉，剛好「坐」在介紹框線上。如果覺得坐得太深或太淺，可以微調這個數字 (-10px 或 -20px) */
    }

    .speaker-img img {
        max-height: 320px; /* 手機版圖片稍微縮小一點比例更好看 */
        display: block;
    }

    .speaker-content {
        text-align: center; /* 手機版文字全面置中 */
        padding: 35px 20px 25px; /* 稍微增加白框上方的內距，以免圖片蓋到文字 */
        position: relative;
        z-index: 2; 
        margin: 0 15px; /* 讓白框左右有點距離，不要完全貼死手機螢幕邊緣 */
    }

    /* 配合置中，微調黃色裝飾線 */
    .speaker-title {
        border-left: none;
        border-bottom: 2px solid var(--accent);
        display: inline-block;
        padding-left: 0;
        padding-bottom: 8px;
        margin-bottom: 20px;
    }

    /* 配合置中，微調勾勾列表 */
    .speaker-list li {
        justify-content: center;
    }
}
       
/* 講師職稱與姓名樣式 */
.instructor-title {
	 font-size: 1.2rem;
    letter-spacing: 3px;
    opacity: 0.9;
    margin-bottom: 5px;
    font-weight: 300;
}
/* CTA 報名按鈕內的右側箭頭圖示 */
.cta-icon {
    font-size: 0.9rem;
    margin-left: 8px;
}

        /* --- Course Info: 免費/收費區分 --- */
        .info { padding: 90px 0; background: #f4f7f9; text-align: center; }
        .info h2 { font-size: 2.8rem; color: #034a91; margin-bottom: 40px; font-weight: 800; }
        
        .schedule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
        .schedule-item { background: #fff; padding: 40px; border-radius: 20px; text-align: left; box-shadow: 0 10px 30px rgba(0,0,0,0.05); position: relative; border-top: 6px solid #034a91; }
        
        /* 標籤樣式 */
        .badge { position: absolute; top: 10px; right: 10px; padding: 4px 15px; border-radius: 10px; font-size: 0.9rem; font-weight: bold; }
        .badge-free { background: #e8f5e9; color: #2e7d32; }
        .badge-paid { background: #fff3e0; color: #ef6c00; }

        .date-text { font-size: 1.5rem; color:#034a91; font-weight: 800; margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
        .topic-text { font-size: 1.3rem; font-weight: 700; color: #333; margin-bottom: 20px; }
        .topic-list { list-style: decimal; padding-left: 20px; }
        .topic-list li { margin-bottom: 8px; font-weight: 500; }

        /* --- Process Section: 報名流程 --- */
        .process { padding: 90px 0; background: #fff; text-align: center; }
        .process h2 { font-size: 2.8rem; color: #034a91; margin-bottom: 50px; font-weight: 800; }
        .process-grid { display: flex; justify-content: center; align-items: center; gap: 30px; flex-wrap: wrap; }
        .step { flex: 1; min-width: 200px; max-width: 250px; }
        .step-icon { width: 80px; height: 80px; background: #f4f7f9; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 2rem; color: #034a91; }
        .step h4 { font-size: 1.1rem; color: #e31b23; font-weight: 800; margin-bottom: 10px; }
        .step p { font-size: 0.95rem; color: #666; }
        .step p a:link {
    color: #034a91;        /* 設定為你指定的金色 */
    font-weight: bold;     /* 字體加粗 */
    text-decoration: none; /* 移除預設的底線，看起來更乾淨 */
}

        .arrow { font-size: 1.5rem; color: #ccc; }
        /* --- Form --- */
        .form-area { padding-top:90px; padding-bottom: 100px; background: #f4f7fa; text-align: center; }
        .form-container { max-width: 900px; margin: 40px auto 0; border: 1px solid #eee; border-radius: 10px; overflow: hidden; }

        /* --- Footer --- */
        footer { padding: 70px 0; background: var(--primary-dark); color: white; text-align: center; }
        .footer-social { display: flex; justify-content: center; gap: 20px; margin-bottom: 35px; }
        .footer-social a { 
            color: white; font-size: 22px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,0.2); 
            border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.3s; text-decoration: none;
        }
        .footer-social a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-4px); }
        
        .line-btn { background: #00B900; color: white; text-decoration: none; padding: 14px 40px; border-radius: 50px; display: inline-flex; align-items: center; gap: 10px; font-weight: bold; margin-bottom: 35px; transition: 0.3s; }
        .line-btn:hover { background: #009800; box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

        /* --- Mobile RWD --- */
        .hamburger { display: none; background: none; border: none; font-size: 24px; color: white; cursor: pointer; }

        @media (max-width: 992px) {
            .hamburger { display: block; }
            .menu {
                position: fixed; top: var(--header-h); left: -100%; width: 100%; height: calc(100vh - var(--header-h));
                background: var(--primary-dark); flex-direction: column; align-items: center; padding-top: 50px; transition: 0.4s;
            }
            .menu.active { left: 0; }
            .speaker-grid { grid-template-columns: 1fr; text-align: center; }
            .speaker-img { order: -1; justify-content: center; }
            .speaker-img img { max-height: 320px; }
            .speaker-title { border-left: none; padding-left: 0; }
            .speaker-list li { justify-content: center; text-align: left; }
            .info-row { flex-direction: column; gap: 10px; text-align: center; }
            .info-key { justify-content: center; }
			.schedule-grid { grid-template-columns: 1fr; }
			.process-grid { flex-direction: column; gap: 40px; }
            .arrow { transform: rotate(90deg); }
        }



/* 預約表單區塊的主標題 */
.reservation-heading {
    font-size: 2.3rem;
    color: var(--primary-dark);
}

/* 表單填寫提示說明文字 */
.form-instruction {
    color: var(--text-muted);
    margin-top: 10px;
}
/* 頁尾版權聲明文字 */
.footer-copyright {
    font-size: 13px;
    opacity: 0.5;
    letter-spacing: 1px;
    font-weight: 300;
    margin-top: 20px;
}

.yang-adds {
margin-bottom: 20px;
font-weight: bold;
	}
.yang-ps {
color: #e31b23;
font-weight: 800;
margin-bottom: 40px;
		}