@charset "utf-8";
/* CSS Document */

:root {
            --brand-gold: #C5A059;
            --brand-red: #C91F33;
            --brand-pink: #ff8fb1;
            --deep-navy: #12121c;
            --transition-smooth: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        * { box-sizing: border-box; margin: 0; padding: 0; scroll-behavior: smooth; }
        body { font-family: 'Noto Sans TC', sans-serif; background: #fff; color: #333; line-height: 1.8; overflow-x: hidden; }
        a { text-decoration: none; color: inherit; }

        /* ====== 1. 導覽列 (不精簡，完整 7 個連結) ====== */
        .navbar {
            position: fixed; top: 0; width: 100%; z-index: 1000;
            display: flex; justify-content: space-between; align-items: center;
            padding: 20px 40px; transition: var(--transition-smooth);
            background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
        }
        .navbar.scrolled {
            background: rgba(255, 255, 255, 0.98);
            padding: 10px 40px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
        .logo-box { display: flex; align-items: center; gap: 12px; }
        .logo-box img { width: 50px; height: 50px; border-radius: 50%; transition: 0.8s ease; }
        .logo-box:hover img { transform: rotate(360deg); }
        .logo-text { font-family: 'Noto Serif TC', serif; font-size: 1.4rem; font-weight: 700; color: #fff; }
        .navbar.scrolled .logo-text { color: var(--deep-navy); }

        .main-nav { display: flex; list-style: none; gap: 20px; align-items: center; }
        .main-nav li a { color: #fff; font-weight: 500; font-size: 0.95rem; position: relative; padding-bottom: 5px; }
        .navbar.scrolled .main-nav li a { color: var(--deep-navy); }
        .main-nav li a:hover { color: var(--brand-red); }
        
        .cta-nav { 
            background: var(--brand-red) !important; color: #fff !important; 
            padding: 8px 16px !important; border-radius: 50px; font-weight: bold;
            transition: 0.3s;
        }
        .cta-nav:hover { transform: scale(1.05); filter: brightness(1.2); }

        /* ====== 2. Hero 區塊 (3D金屬文字) ====== */
        .hero {
            height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center;
            text-align: center; color: #fff; padding: 0 20px;
            background: linear-gradient(270deg, rgba(18,18,24,0.4), rgba(139,28,40,0.4)), 
                        url('https://www.suits.com.tw/images/wedding-dress/Latest-wedding-dresses0114.jpg') center/cover no-repeat fixed;
        }
        .hero h1 {
            font-family: 'Noto Serif TC', serif; font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900;
            color: #FFD700; 
            text-shadow: 0 1px 0 #ccae00, 0 3px 6px rgba(0,0,0,0.4);
            margin-bottom: 20px;
        }
        .hero p { font-size: 1.4rem; font-weight: 600; letter-spacing: 4px; text-shadow: 2px 2px 10px rgba(0,0,0,0.6); }

        /* ====== 3. 九宮格 (完整 9 圖片連結) ====== */
        .categories-grid {
            display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px;
            padding: 80px 5%; max-width: 1400px; margin: 0 auto;
        }
        .category-item {
            position: relative; height: 600px; border-radius: 12px; overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: var(--transition-smooth);
        }
        .category-item img { width: 100%; height: 100%; object-fit: cover; transition: 1.2s; }
        .category-item:hover img { transform: scale(1.1); }
        .item-overlay {
            position: absolute; bottom: 0; width: 100%; padding: 40px 20px;
            background: linear-gradient(transparent, rgba(0,0,0,0.85)); color: #fff; text-align: center;
        }

        /* ====== 4. 30週年詳細內容 (人文美感) ====== */
        .anniversary-section { max-width: 1000px; margin: 80px auto; padding: 60px; background: #fff; border: 1px solid #eee; text-align: center; border-radius: 8px; }
        .feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 40px 0; }
        .feature-card { padding: 30px; background: #fafafa; border-bottom: 3px solid var(--brand-red); border-radius: 5px; }

        /* ====== 5. 標籤雲與連結 (不精簡 SEO) ====== */
        .seo-footer { background: #f4f4f4; padding: 60px 5%; text-align: center; }
        .partner-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
        .partner-btn { background: #fff; padding: 10px 18px; border: 1px solid #ddd; font-size: 0.9rem; border-radius: 4px; transition: 0.3s; }
        .partner-btn:hover { background: var(--brand-red); color: #fff; border-color: var(--brand-red); }
        
        .tag-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
        .tag-item { font-size: 0.75rem; color: #888; background: #fff; padding: 4px 12px; border-radius: 20px; border: 1px solid #eee; }

        /* Footer */
        .site-footer { background: var(--deep-navy); color: #eee; padding: 80px 5% 40px; }
        .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
        
        @media (max-width: 1024px) { .categories-grid { grid-template-columns: repeat(2, 1fr); } .main-nav { display: none; } }
        @media (max-width: 768px) { .categories-grid { grid-template-columns: 1fr; } .hero h1 { font-size: 1.8rem; } }/* ====== 導覽列基礎與捲動效果 ====== */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 5%; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px); /* 毛玻璃特效 */
    padding: 12px 5%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ====== Logo 區塊特效 ====== */
.logo { display: flex; align-items: center; gap: 15px; }

.logo-link-img img {
    width: 55px; height: 55px; border-radius: 50%;
    transition: transform 0.6s cubic-bezier(0.68, -0.6, 0.32, 1.6); /* Q彈感 */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}
.logo-link-img:hover img {
    transform: rotate(360deg) scale(1.15); /* 旋轉並放大 */
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.5); /* 金色發光 */
}

.logo-text {
    font-family: 'Noto Serif TC', serif; font-size: 1.5rem; font-weight: 900;
    color: #fff; transition: 0.4s; letter-spacing: 1px;
}
.navbar.scrolled .logo-text { color: #1a1a1a; }
.logo-link-text:hover .logo-text {
    color: #C5A059; /* 變品牌金 */
    text-shadow: 0 0 8px rgba(197, 160, 89, 0.3);
}

/* ====== 選單文字與「由中間向二邊延伸」底線 ====== */
.main-nav { display: flex; list-style: none; gap: 25px; align-items: center; }

.main-nav li a {
    color: #fff; font-weight: 500; font-size: 1rem;
    position: relative; padding: 10px 0;
    transition: color 0.3s ease;
}
.navbar.scrolled .main-nav li a { color: #333; }

/* 核心底線動畫 */
.main-nav li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%; /* 起點在中間 */
    width: 0; /* 預設寬度 0 */
    height: 2px;
    background: #C91F33; /* 真愛紅底線 */
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.main-nav li a:hover::after {
    width: 100%; /* 寬度變全開 */
    left: 0; /* 向左推，形成中間展開的效果 */
}

/* 立即預約按鈕 (排除底線) */
.cta-nav {
    background: #C91F33 !important;
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
}
.cta-nav::after { display: none !important; } /* 按鈕不需要底線 */
.cta-nav:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 15px rgba(201, 31, 51, 0.4);
    filter: brightness(1.2);
}/* 定義品牌金黃色 */
:root {
    --brand-gold: #FFD700; /* 標準金黃色 */
    --hover-gold: #F4E9D5; /* 淺金，用於捲動後的微調 */
}

/* ====== 選單文字跳動與底線動畫 ====== */
.main-nav { 
    display: flex; 
    list-style: none; 
    gap: 25px; 
    align-items: center; 
}

.main-nav li a {
    color: #fff; 
    font-weight: 500; 
    font-size: 1rem;
    position: relative; 
    padding: 10px 0;
    display: inline-block; /* 必須設為區塊才能產生跳動位移 */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* 增加 Q 彈感 */
}

/* 捲動後文字顏色變深，確保閱讀清晰 */
.navbar.scrolled .main-nav li a { color: #333; }

/* [特效] 滑鼠靠近時文字向上跳動 */
.main-nav li a:hover {
    color: var(--brand-gold) !important;
    transform: translateY(-5px); /* 向上跳動 5 像素 */
}

/* [特效] 金黃色底線：由中間向兩邊延伸 */
.main-nav li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%; 
    width: 0; 
    height: 2.5px; /* 稍微加厚一點，增加金屬感 */
    background: var(--brand-gold); /* 改為金黃色 */
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5); /* 增加一點點金光發散 */
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav li a:hover::after {
    width: 100%; 
    left: 0; 
}

/* 預約按鈕同步調整 (金底黑字或紅底白字) */
.cta-nav {
    background: var(--brand-gold) !important;
    color: #000 !important; /* 金底配黑字更有質感 */
    padding: 8px 20px !important;
    border-radius: 50px !important;
    font-weight: bold !important;
    border: none !important;
}

.cta-nav::after { display: none !important; }

.cta-nav:hover {
    transform: translateY(-7px) !important; /* 按鈕跳得更高一點點 */
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4) !important;
}/* 1. 確保導覽列基礎字體為白色 */
.main-nav li a {
    color: #FFFFFF !important; /* 預設為白色 */
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 10px 0;
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s;
}

/* 2. 當滑鼠靠近時：字體變為金黃色，且向上跳動 (不消失) */
.main-nav li a:hover {
    color: #FFD700 !important; /* 滑鼠靠近變金黃色，確保清晰可見 */
    transform: translateY(-5px); /* 向上跳動特效 */
}

/* 3. 當導覽列捲動變為白色背景時：字體變為深色 */
.navbar.scrolled .main-nav li a {
    color: #1a1a1a !important; 
}
.navbar.scrolled .main-nav li a:hover {
    color: #C91F33 !important; /* 捲動後靠近改變真愛紅，增加層次感 */
}

/* 4. 由中間向二邊延伸的金黃色底線 */
.main-nav li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;   /* 起點在中間 */
    width: 0;    /* 寬度從 0 開始 */
    height: 2px;
    background: #FFD700; /* 金黃色底線 */
    transition: width 0.4s ease, left 0.4s ease;
}

.main-nav li a:hover::after {
    width: 100%; /* 寬度展開至 100% */
    left: 0;     /* 回到左側，達成中間向兩邊延伸的效果 */
}

/* 5. 立即預約按鈕：色框縮小、字體清晰 */
.cta-nav {
    background: #C91F33 !important; /* 保持真愛紅 */
    color: #FFFFFF !important;      /* 保持字體白色 */
    padding: 6px 15px !important;   /* 縮小色框 */
    border-radius: 50px !important;
    font-size: 0.9rem !important;
    font-weight: bold !important;
    border: 1px solid #C91F33 !important;
    transition: all 0.3s ease !important;
}

.cta-nav:hover {
    background: #FFD700 !important; /* 滑鼠靠近變金黃色 */
    color: #000000 !important;      /* 字體變黑色確保清晰 */
    transform: translateY(-5px) scale(1.05) !important;
    border-color: #FFD700 !important;
}/* ====== 標題進場動畫定義 ====== */
@keyframes fadeInUpCustom {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDownCustom {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 按鈕心跳效果 */
@keyframes buttonPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 標題：縮小 + 進場動態 */
.hero h1 {
    font-family: 'Noto Serif TC', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem) !important; /* 縮小尺寸 */
    color: #FFD700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 25px;
    animation: fadeInDownCustom 1.2s ease-out forwards; /* 標題從上掉下 */
}

/* 標題下的副標 */
.hero p {
    font-size: 1.1rem !important;
    letter-spacing: 4px;
    opacity: 0;
    animation: fadeInUpCustom 1.2s ease-out 0.5s forwards; /* 延遲進場 */
}

/* 按鈕組：縮小 + 互動動態 */
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    animation: fadeInUpCustom 1.2s ease-out 0.8s forwards; /* 延遲進場 */
    opacity: 0;
}

.hero-buttons a {
    padding: 8px 25px !important; /* 縮小色框 */
    font-size: 0.95rem !important;
    border-radius: 50px;
    font-weight: bold;
    position: relative;
    overflow: hidden; /* 為了流光效果 */
    transition: all 0.3s ease;
}

/* 滑鼠靠近按鈕：跳動一下 */
.hero-buttons a:hover {
    animation: buttonPulse 0.6s infinite; /* 心跳跳動 */
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* 按鈕流光特效 */
.hero-buttons a::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}
.hero-buttons a:hover::after {
    left: 100%;
}

.btn-primary-small { background: var(--brand-red) !important; color: #fff !important; border: 1px solid var(--brand-red) !important; }
.btn-ghost-small { border: 1px solid #fff !important; color: #fff !important; }
		/* ====== 手機版專用修正 (螢幕小於 768px 生效) ====== */
@media (max-width: 768px) {
    /* 1. 修正手機版橫幅圖太大：改為自動適應高度，不被裁切過頭 */
    .hero {
        height: 60vh; /* 從 100vh 縮小到 60vh，讓手機畫面不被一張圖塞滿 */
        background-attachment: scroll; /* 關閉固定背景，避免手機版殘影 */
        background-size: cover;
        background-position: center center;
    }
    .hero h1 {
        font-size: 1.8rem !important; /* 標題字體同步縮小 */
    }

    /* 2. 修正目錄消失：將選單預設隱藏，並準備三條線按鈕空間 */
    .main-nav {
        display: none; /* 預設隱藏原始目錄，避免蓋住畫面 */
    }

    /* 如果您有使用漢堡選單(三條線)，以下是顯示邏輯 */
    .main-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        padding: 20px 0;
    }
} /* 故事區大圖動態：呼吸感縮放 */
    @keyframes subtleZoom {
        0% { transform: scale(1); }
        50% { transform: scale(1.03); }
        100% { transform: scale(1); }
    }

    .story-section {
        padding: 80px 5%;
        background: #12121c;
        color: #fff;
        display: flex;
        align-items: center;
        gap: 50px;
        flex-wrap: wrap;
    }

    .story-content {
        flex: 1;
        min-width: 320px;
    }

    /* 男生大圖樣式優化 */
    .story-image-wrap {
        flex: 1;
        min-width: 320px;
        height: 600px;
        overflow: hidden; /* 隱藏溢出的縮放部分 */
        border-radius: 15px;
        box-shadow: 0 25px 50px rgba(0,0,0,0.5);
        position: relative;
    }

    .story-image-inner {
        width: 100%;
        height: 100%;
        /* 換成男士西服主題圖 */
        background: url('https://www.suits.com.tw/images/wedding-dress/Latest-wedding-dresses0025.jpg') center/cover no-repeat;
        animation: subtleZoom 10s infinite ease-in-out; /* 讓男生大圖動起來 */
    }

    /* 圖片上的裝飾金線 */
    .story-image-wrap::before {
        content: "";
        position: absolute;
        top: 20px; left: 20px;
        width: 60px; height: 60px;
        border-top: 2px solid #FFD700;
        border-left: 2px solid #FFD700;
        z-index: 2;
    }

    .promise-tag {
        color: #FFD700;
        border: 1px solid #FFD700;
        padding: 4px 12px;
        font-size: 0.8rem;
        letter-spacing: 2px;
        margin-bottom: 20px;
        display: inline-block;
    }

    @media (max-width: 768px) {
        .story-image-wrap { height: 400px; }
    }/* 修改前：animation: buttonPulse 0.6s infinite; */
/* 修改後：改為 0.3s 讓它跳動頻率翻倍 */

.hero-buttons a:hover {
    animation: buttonPulse 0.3s infinite !important; 
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

/* 櫻花落樣式 - 需保留在 CSS 檔案中 */
#sakuraContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}
.petal {
    position: absolute;
    background: #ffb7c5;
    border-radius: 150% 0 150% 0;
    opacity: 0.7;
    pointer-events: none;
    animation: sakuraFall linear infinite;
}
@keyframes sakuraFall {
    0% { transform: translateY(-10%) rotate(0deg); }
    100% { transform: translateY(110vh) rotate(360deg); }
}

.anniversary-section { 
        max-width: 1100px; 
        margin: 80px auto; 
        padding: 60px 40px; 
        background: #fff; 
        border: 1px solid #f0f0f0; 
        text-align: center; 
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.02);
    }
    
    /* 調整為更靈活的網格，自動適應 7 個項目 */
    .feature-grid { 
        display: grid; 
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
        gap: 20px; 
        margin: 40px 0; 
    }
    
    .feature-card { 
        padding: 25px; 
        background: #fcfcfc; 
        border-bottom: 3px solid #eee; 
        border-radius: 8px; 
        transition: all 0.4s ease;
        text-align: center;
    }
    
    /* 滑鼠靠近時，色框與圖示變金黃色跳動 */
    .feature-card:hover { 
        transform: translateY(-8px); 
        border-bottom: 3px solid #FFD700; 
        background: #fff;
        box-shadow: 0 10px 20px rgba(255, 215, 0, 0.1);
    }
    
    .feature-card h4 { 
        font-size: 1.2rem; 
        margin-bottom: 12px; 
        color: #333; 
        font-family: 'Noto Serif TC', serif;
    }

    .feature-card p {
        font-size: 0.9rem;
        color: #777;
        line-height: 1.6;
    }


.links-keywords-section {
        background: #f9f9f9;
        padding: 80px 5%;
        text-align: center;
        border-top: 1px solid #eee;
    }
    .link-header h3 {
        font-family: 'Noto Serif TC', serif;
        font-size: 1.8rem;
        color: #333;
        margin-bottom: 15px;
    }
    .divider-line {
        width: 60px;
        height: 3px;
        background: #FFD700; /* 改為金黃色 */
        margin: 0 auto 40px;
    }
    .partner-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        max-width: 1200px;
        margin: 0 auto 50px;
    }
    .partner-btn {
        display: inline-block;
        padding: 10px 20px;
        background: #fff;
        color: #555;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 0.9rem;
        transition: 0.3s;
    }
    .partner-btn:hover {
        background: #FFD700;
        color: #000;
        border-color: #FFD700;
        transform: translateY(-3px);
    }
    .keywords-cloud {
        max-width: 1000px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .tag-item {
        font-size: 0.75rem;
        color: #888;
        background: #fff;
        padding: 5px 15px;
        border-radius: 20px;
        border: 1px solid #eee;
        transition: 0.3s;
    }
    .tag-item:hover {
        color: #FFD700;
        border-color: #FFD700;
    }

    /* Footer 精修 */
    .site-footer {
        background: #12121c;
        color: #eee;
        padding: 80px 5% 40px;
    }
    .footer-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 40px;
        max-width: 1200px;
        margin: 0 auto;
    }
    .footer-info h3 { color: #FFD700; margin-bottom: 20px; font-family: 'Noto Serif TC'; }
    .footer-info p { margin-bottom: 10px; font-size: 0.9rem; opacity: 0.8; }
    .footer-social ul { list-style: none; display: flex; gap: 15px; margin-top: 20px; }
    .footer-social a { color: #fff; font-size: 0.9rem; }
    .footer-map iframe { width: 100%; height: 200px; border: 0; border-radius: 10px; }
    .footer-copyright {
        text-align: center;
        margin-top: 60px;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
        font-size: 0.8rem;
        color: #666;
    }/* ====== 社群按鈕小朋友的衣服 (外框與佈局) ====== */
.social-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 0;
    margin: 20px 0;
}

.social-list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3); /* 預設細邊框 */
    border-radius: 50px; /* 膠囊形狀 */
    color: #fff !important;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Q 彈曲線 */
    background: rgba(255, 255, 255, 0.05);
}

/* ====== 滑鼠靠近時：跳動一下 + 邊框變色發光 ====== */
.social-list li a:hover {
    transform: translateY(-8px) scale(1.1); /* 向上跳動並放大 */
    background: rgba(255, 215, 0, 0.1); /* 淡淡的金黃底色 */
    border-color: #FFD700; /* 邊框變金黃色 */
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4); /* 金光效果 */
    letter-spacing: 1px;
}

/* 個別社群 Hover 顏色微調 (可選) */
.social-list li a:hover span {
    filter: drop-shadow(0 0 5px currentColor);
}/* 友好聯盟膠囊按鈕區樣式 */
.partner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px; /* 縮小間距 */
    padding: 20px 5%;
    max-width: 1100px;
    margin: 0 auto;
}

.partner-btn {
    display: inline-block;
    padding: 6px 16px; /* 縮小尺寸 */
    background: #ffffff;
    color: #555;
    border: 1px solid #e5e5e5;
    border-radius: 50px; /* 徹底膠囊化 */
    font-size: 0.85rem; /* 字體縮小 */
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Q彈曲線 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* 膠囊按鈕跳動與變色特效 */
.partner-btn:hover {
    background: #fdfdfd;
    color: #C91F33; /* 變為真愛紅 */
    border-color: #C91F33;
    transform: scale(1.1) translateY(-3px); /* 放大並向上跳動 */
    box-shadow: 0 5px 15px rgba(201, 31, 51, 0.2);
    z-index: 2;
}

/* 手機版適應：讓膠囊不要擠在一起 */
@media (max-width: 768px) {
    .partner-btn {
        padding: 5px 12px;
        font-size: 0.8rem;
    }
}.feature-grid {
    display: grid;
    /* 強制電腦版 3 欄，手機版自動切換 */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px;
    padding: 20px 0;
}

.feature-card {
    background: #fdfdfd;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    text-align: center;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: #C5A059; /* 變為金色邊框 */
}

.feature-card h4 {
    color: #12121c;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}/* 櫻花容器修正 */
#sakuraContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none; /* 讓滑鼠可以穿過花瓣點擊按鈕 */
    z-index: 99999;       /* 設為最高，保證飄在最前面 */
    overflow: hidden;
}

/* 花瓣本體 */
.petal {
    position: absolute;
    background: #ffb7c5;
    border-radius: 150% 0 150% 0;
    opacity: 0.8;
    pointer-events: none;
    animation: sakuraFall linear infinite;
}

@keyframes sakuraFall {
    0% { transform: translateY(-10%) rotate(0deg); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}/* 20張圖專用的四欄位佈局 */
.grid-container {
    display: grid;
    /* 電腦版：固定 4 欄 */
    grid-template-columns: repeat(4, 1fr); 
    gap: 15px; /* 圖片間距 */
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.item {
    margin: 0;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #f9f9f9;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.img-wrapper {
    position: relative;
    aspect-ratio: 3 / 4; /* 強制所有圖片比例統一為 3:4，這是最美的禮服比例 */
    overflow: hidden;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 關鍵：圖片會自動填滿並裁切多餘部分，保證不跑框 */
    transition: transform 0.5s ease;
}

.item:hover img {
    transform: scale(1.1);
}

/* 卡片編號樣式 */
.card-number {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 2px 8px;
    font-size: 0.8rem;
    border-radius: 4px;
    z-index: 2;
}

/* 懸停內容 */
.hover-content {
    position: absolute;
    bottom: -100%; /* 預設隱藏在下方 */
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    transition: 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.item:hover .hover-content {
    bottom: 0;
}

.tag-label {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.goto-btn {
    display: inline-block;
    padding: 5px 15px;
    background: var(--brand-red);
    color: #fff !important;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
}

/* ====== 手機版適應 ====== */
@media (max-width: 1024px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr); /* 平板變 2 欄 */
    }
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: repeat(1, 1fr); /* 手機變 1 欄 */
        gap: 20px;
    }
}/* 底部導覽按鈕區容器 */
.nav {
    display: flex;
    justify-content: center; /* 水平置中 */
    align-items: center;
    flex-wrap: wrap;         /* 手機版自動換行 */
    gap: 15px;               /* 按鈕間距 */
    margin: 50px auto;       /* 上下間距，並置中容器 */
    padding: 30px;           /* 內圈空間 */
    max-width: 900px;        /* 限制外框最大寬度 */
    
    /* 增加外框樣式 */
    border: 1px solid #eee;  /* 淺灰色細框 */
    border-radius: 15px;     /* 框角圓潤 */
    background: #fdfdfd;     /* 微淺灰底色，增加層次感 */
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); /* 極輕微陰影 */
}

/* 導覽按鈕基礎樣式 (膠囊型) */
.btn-nav {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #ddd;
    border-radius: 50px;     /* 膠囊造型 */
    text-decoration: none;
    color: #444;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Q彈特效 */
    background: #fff;
}

/* 按鈕懸停跳動特效 */
.btn-nav:hover {
    transform: translateY(-5px) scale(1.05); /* 向上跳動並輕微放大 */
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: #C5A059; /* 變金色邊框 */
    color: #C5A059;
}

/* 特別針對預約按鈕的懸停效果 */
.btn-nav[style*="background: #900C3F"]:hover {
    background: #A30D47 !important; /* 稍微變亮一點 */
    color: white !important;
    border-color: #900C3F;
}

/* 手機版調整 */
@media (max-width: 768px) {
    .nav {
        margin: 30px 5%;     /* 手機版左右留白 */
        padding: 20px;
        flex-direction: column; /* 按鈕改為垂直排列 */
    }
    .btn-nav {
        width: 100%;         /* 手機版按鈕撐滿寬度 */
        text-align: center;
    }
}/* 強制 20 張圖維持四欄排隊，不變大圖 */
.grid-container {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important; /* 電腦版固定 4 欄 */
    gap: 15px;
    width: 100% !important;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 5%;
}

.item {
    width: 100% !important;
    overflow: hidden;
}

.item img {
    width: 100% !important;
    height: auto;
    aspect-ratio: 3 / 4; /* 強制統一比例，防止亂跑 */
    object-fit: cover;
}

/* 手機版自動縮減欄位，防止太擠 */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr) !important; /* 手機變 2 欄 */
    }
}