/* ========================== */
/* 🌍 全局樣式重置 (適用於整個頁面) */
/* ========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========================== */
/* 🎨 設定全站的基本樣式 */
/* ========================== */
body {
    margin: 0;
    /* 確保背景可以從頂端開始鋪滿 */
    font-family: 'Poppins', sans-serif;
    background: #fff;
    color: #333;
    line-height: 1.8;
    overflow-y: auto !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    text-align: center;
    /* 將所有文字內容居中 */
    position: relative;
}

/* 頁面頂部背景模糊 */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: -1;
}


/* ========================== */
/* 📌 Navbar（導航列） */
/* ========================== */
nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: fixed;
    /* 固定在頁面上 */
    top: 0;
    /* 將導航列固定在頁面頂部 */
    left: 0;
    width: 100%;
    /* 讓導航列寬度填滿整個螢幕 */
    background-color: rgba(0, 0, 0, 0.5);
    /* 半透明背景 */
    padding: 10px 0;
    /* 設置適當的內邊距 */
    z-index: 9999;
    /* 確保導航列在最上層 */
}

/* 導航連結 */
nav a {
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 30px;
    transition: all 0.3s ease-in-out;
}

nav a:hover {
    background-color: #f1e5d7ae;
    color: #1a1a1a;
    transform: scale(1.1);
}

/* ========================== */
/* 🔝 Header（頁面頂部區塊） */
/* ========================== */
header {
    background-image: url('../images/fashion-bg.png');
    background-size: cover;
    background-position: 50% 20%;
    background-repeat: no-repeat;
    color: white;
    padding: 230px 30px;
    width: 100%;
    text-align: center;
    position: relative;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.4);
    min-height: 500px;
}

/* 預設隱藏手機專用標題 */
.site-title {
    display: none;
}


/* 文字樣式設計 */
header h1 {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
    /* 文字陰影增強可讀性 */
}


/* ========================== */
/* 📌 Main Content區域樣式 */
/* ========================== */
main {
    flex: 1;
    width: 100%;
    max-width: 800px;
    margin: 30px auto 40px;
    /* 設置 margin-top 讓內文區距離橫幅 200px */
    padding: 30px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ========================== */
/* 🎯 Hero Section */
/* ========================== */
.hero {
    margin-bottom: 50px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.hero .btn-primary {
    background-color: #f1e5d7ae;
    color: #1a1a1a;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.hero .btn-primary:hover {
    background-color: #644e41;
    color: #f1e5d7ae;
    transform: scale(1.1);
}

/* ========================== */
/* 🎯 Feature Section */
/* ========================== */
#features {
    margin-top: 50px;
}

.feature-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    width: 100%;
}

.feature-card h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 1.1rem;
}

/* ========================== */
/* newbie-friendly */
/* ========================== */
#newbie-friendly {
    margin-top: 50px;
}

#real-user ul {
    list-style: none;
    margin-top: 20px;
}

#real-user ul li {
    font-size: 1.1rem;
    margin-bottom: 10px;
}


/* ========================== */
/* 🎯 用戶案例 Section */
/* ========================== */
#real-user {
    margin-top: 50px;
}

#real-user ul {
    list-style: none;
}

#real-user ul li {
    font-size: 1.1rem;
}

/* ========================== */
/* 🎯 團隊 Section */
/* ========================== */
#team {
    margin-top: 50px;
}

#team p {
    font-size: 1.1rem;
}

/* ========================== */
/* 🎯 呼籲行動區 (CTA) Section */
/* ========================== */
#cta {
    margin-top: 50px;
    /* 增加 #cta 區塊內部的上邊距 */
    text-align: center;
}

#cta h3 {
    margin-bottom: 20px;
    /* 增加標題和按鈕之間的距離 */
}

#cta .btn-primary {
    background-color: #f1e5d7ae;
    color: #1a1a1a;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 10px;
    /* 增加按鈕與上方區塊的間距 */
}

#cta .btn-primary:hover {
    background-color: #644e41;
    color: #f1e5d7ae;
    transform: scale(1.1);
}

/* ========================== */
/* 🎯 Footer (頁腳) */
/* ========================== */
footer {
    background: rgba(249, 243, 243, 0.6);
    /* 設定頁腳背景顏色 */
    color: rgb(0, 0, 0);
    /* 設定文字顏色為白色，與黑色背景形成高對比，提高可讀性 */
    text-align: center;
    /* 讓頁腳內的文字內容置中對齊 */
    padding: 20px 0;
    /* 設定上下內邊距 20px，讓頁腳不會過於擠壓 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    transition: background 0.3s ease-in-out;
    /*position: relative;*/
    /* 設定為相對定位，讓頁腳可以根據內容的高度進行調整 */
    bottom: 0;
    /* 讓頁腳固定在內容的最下方（但不會強制黏在畫面底部） */
    width: 100%;
    /* 讓頁腳寬度佔滿整個畫面 */
    margin-top: auto;
}

footer.scrolled {
    background: rgba(255, 238, 226, 0.9);
}

/* ========================== */
/* 顯示/隱藏漢堡選單按鈕 - 僅手機版顯示 */
/* ========================== */
.menu-toggle {
    display: none;
}

/* 手機版顯示漢堡選單按鈕 */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        font-size: 30px;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
    }
}

/* ========================== */
/* 響應式設計（適應不同裝置） */
/* ========================== */
@media (max-width: 768px) {
    header {
        background-image: none !important;
        /* 取消圖片 */
        background-color: #000;
        /* 黑底橫幅 */
        padding: 16px 12px;
        min-height: auto;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .site-title {
        display: block;
        font-size: 3rem;
        font-weight: bold;
        letter-spacing: 2px;
        margin-bottom: 20px;
        color: #ffffff;
        text-shadow:
            0 0 4px rgba(255, 255, 255, 0.3),
            0 0 8px rgba(255, 255, 255, 0.3),
            1px 1px 2px rgba(0, 0, 0, 0.4);
    }

    footer {
        background-color: #000 !important;
        /* 黑色背景 */
        color: #fff !important;
        /* 白色文字 */
        box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);
    }

}