/* index-inline.css - Extracted inline styles from index.html */

/* 浮動按鈕容器 */
.floating-btn-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* AI 對話按鈕 */
.ai-chat-btn {
    /* 基礎樣式 */
    background-color: #007bff;
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.1s ease;

    /* 移除超連結的下劃線，並讓它表現得像一個區塊或按鈕 */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-chat-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.ai-chat-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Hero badge 圖片樣式 */
.hero-badge img {
    /* 設定圖片高度等於當前字體大小 */
    height: 1em;
    /* 讓圖片寬度等比例縮放 */
    width: auto;
    /* 讓圖片與文字垂直置中對齊 */
    vertical-align: middle;
}

/* ===== CSP Compliance: Utility Classes ===== */

/* Hidden utility class - replaces inline style="display: none" */
.hidden {
    display: none !important;
}

/* Footer badge color override - replaces inline style="color:black" */
.footer-badge {
    color: black;
}

/* Carousel slide backgrounds - supports data-bg attribute set by JS */
.carousel-slide[data-bg] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Banner background class for strict CSP */
.bg-banner5 {
    background-image: url('../img/banner5.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}