/* --- 基礎優化與字體 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang TC", "Microsoft JhengHei", Helvetica, Arial, sans-serif;
    background-color: #f4f6f8;
    color: #2c3e50;
    line-height: 1.5;
}

/* --- 頂部導覽列 --- */
.main-header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.logo a {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #111;
}

.logo .logo-title {
    font-family: "Arial Black", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #111111;
    line-height: 1.1;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
}

.logo .tagline {
    font-family: "PingFang TC", "Heiti TC", "Microsoft JhengHei", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 1px;
    letter-spacing: 0.5px;
    margin-top: 12px;
    text-align:center;
}

.main-header.header-scrolled .logo .logo-title {
    opacity: 0.8;
    color: #00f5a0;
    transition: all 0.5s ease;
}

.nav-menu ul {
    display: flex;
    list-style: none;
}
.nav-menu ul li a {
    padding: 10px 18px;
    font-weight: 700;
    font-size: 15px;
    color: #4a5568;
    transition: color 0.2s;
}
.nav-menu ul li a:hover, .nav-menu ul li a.active {
    color: #00f5a0;
}
.menu-toggle { display: none; background: none; border: none; font-size: 20px; cursor: pointer; }

.hero-search-section {
    background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1501785888041-af3ef285b470?auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}
.hero-overlay h1 { font-size: 38px; font-weight: 800; margin-bottom: 12px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero-overlay p { font-size: 18px; margin-bottom: 30px; opacity: 0.95; }

.search-bar-container {
    background: #fff;
    padding: 6px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    max-width: 650px;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.search-icon { color: #a0aec0; padding: 0 15px; font-size: 18px; }
.search-bar-container input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    color: #333;
}
.search-bar-container button {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.search-bar-container button:hover { background: #00f5a0; }

/* --- 快捷按鈕區 --- */
.quick-categories {
    max-width: 1300px;
    margin: -30px auto 40px auto;
    position: relative;
    z-index: 10;
    padding: 0 20px;
}
.category-pills {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.pill-item {
    background: #fff;
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    font-weight: 700;
    color: #2d3748;
    transition: all 0.2s;
}
.pill-item i { color: #00f5a0; font-size: 18px; }
.pill-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(52, 211, 153, 0.2);
}

/* --- 主容器與標題 --- */
.site-wrapper { max-width: 1300px; margin: 0 auto; padding: 0 20px; }
.mega-section { margin-bottom: 60px; }
.block-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
}
.block-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 5px;
    background: #00f5a0;
    border-radius: 2px;
}

/* --- 新假期風格：混合焦點網格 (1大卡 + 3側邊橫卡) --- */
.featured-hybrid-grid {
    display: grid;
    grid-template-columns: 1.6fr 1.4fr;
    gap: 30px;
}
.main-feat-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.card-img-wrap img { width: 100%; height: 320px; object-fit: cover; }
.card-text { padding: 25px; }
.tag-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.travel-hacks   { background: #fb82f6; }
.food-map       { background: #ed3459; }
.safety-tips    { background: #b406e4; }
.finance-tips   { background: #3fc6f1; }
.asia-travel    { background: #2ecc71; }
.adventure      { background: #e67e22; }
.romance        { background: #e84393; }
.road-trip      { background: #0984e3; }

.card-text h3 { font-size: 24px; margin: 12px 0; font-weight: 800; line-height: 1.3; }
.card-text p { color: #718096; font-size: 15px; margin-bottom: 15px; }
.card-date { font-size: 13px; color: #a0aec0; }

/* 右側橫排清單 */
.sub-feat-list { display: flex; flex-direction: column; gap: 20px; }
.sub-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 15px;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    cursor: pointer;
    transition: transform 0.2s;
}
.sub-card:hover { transform: translateX(4px); }
.sub-card img { width: 100%; height: 90px; object-fit: cover; border-radius: 8px; }
.sub-card-text { display: flex; flex-direction: column; justify-content: center; }
.sub-card-text h4 { font-size: 16px; font-weight: 700; margin-top: 8px; line-height: 1.4; }

/* --- 四欄式網格區 --- */
.quad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}
.grid-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.grid-img img { width: 100%; height: 180px; object-fit: cover; }
.grid-content { padding: 18px; }
.grid-tag { font-size: 12px; font-weight: 700; color: #ff007f; }
.grid-item h5 { font-size: 16px; font-weight: 700; margin: 8px 0; line-height: 1.4; }
.grid-date { font-size: 12px; color: #a0aec0; }

/* 載入更多按鈕 */
.load-more-container { text-align: center; margin-top: 40px; }
.btn-load-more {
    background: transparent;
    border: 2px solid #2d3748;
    padding: 12px 35px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-load-more:hover { background: #2d3748; color: #fff; }

/* --- 頁尾 --- */
.main-footer { background: #1a202c; color: #a0aec0; text-align: center; padding: 30px; font-size: 14px; margin-top: 50px; }

/* --- RWD 手機版回應式調整 --- */
@media (max-width: 968px) {
    .featured-hybrid-grid { grid-template-columns: 1fr; }
    .hero-overlay h1 { font-size: 28px; }
    .nav-menu { display: none; }
    .menu-toggle { display: block; }
}