/* contact.css — 聯絡頁專用樣式（從 contact.html 抽離） */
/* --- 全域配置與配色 --- */
body {
    margin: 0;
    background-color: #f4f4f4;
    font-family: "Microsoft JhengHei", sans-serif;
    overflow-x: hidden;
}

/* 導覽列 */
.brand-nav {
    background: #d2b48c;
    padding: 15px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-nav a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 1.5rem;
    font-family: "Kaiti", serif;
}

/* 側邊選單樣式 */
.sidebar {
    height: 100%;
    width: 280px;
    position: fixed;
    z-index: 2001;
    top: 0;
    left: -280px;
    background-color: #C5B496;
    transition: 0.4s;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

.sidebar.active {
    left: 0;
}

.sidebar-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px dashed #8C7A5B;
}

.sidebar-nav-links a {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    color: #4A3C2C;
    text-decoration: none;
    border-bottom: 1px solid rgba(140, 122, 91, 0.1);
    font-weight: bold;
}

/* 聯絡頁面主容器 */
.contact-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    box-sizing: border-box;
}

/* 冒險公會資訊卡 */
.info-card {
    background: #C5B496;
    color: #4A3C2C;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.info-card h2 {
    margin-top: 0;
    border-bottom: 2px solid #8C7A5B;
    padding-bottom: 10px;
}

.info-item {
    margin: 15px 0;
    font-weight: bold;
    line-height: 1.6;
}

/* --- 聯絡按鈕統一設定 --- */
.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    margin-top: 10px;
    margin-right: 10px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 180px;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* 修正圖示大小 - 解決圖案太大問題 */
.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    object-fit: contain;
}

/* 品牌配色 */
.line-btn {
    background-color: #06C755;
}

.fb-btn {
    background-color: #1877F2;
}

.ig-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* 聯絡表單 */
.contact-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #8b4513;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1rem;
}

.submit-btn {
    background: #8b4513;
    color: white;
    border: none;
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #5d2e0d;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
}

.menu-overlay.active {
    display: block;
}

/* RWD 響應式 */
@media (max-width: 700px) {
    .contact-btn {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .contact-container {
        margin: 15px;
    }
}