/*
Theme Name: XCLand Final v7
Theme URI: https://xc-land.com
Author: 網頁小助理
Description: 最終修復版 - 包含 LINE/QR Code 與完整樣式
Version: 7.0
*/

:root {
    --primary-color: #1a3c5e;
    --accent-color: #c5a059;
    --text-color: #333;
    --light-bg: #f4f4f4;
}

body { font-family: "Noto Sans TC", sans-serif; color: var(--text-color); margin: 0; line-height: 1.6; background: #fff; }
a { text-decoration: none; color: var(--primary-color); }
a:hover { color: var(--accent-color); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; }

/* Header */
header { background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.1); padding: 15px 0; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-size: 24px; font-weight: bold; color: var(--primary-color); }
.main-nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0;}
.main-nav a { font-weight: 500; }
.menu-item-cta a { background: var(--accent-color); color: #fff !important; padding: 8px 15px; border-radius: 4px; }

/* Hero & LINE 按鈕區 */
.hero { background: var(--primary-color); color: #fff; padding: 60px 0; text-align: center; }
.hero h1 { margin: 0 0 10px; font-size: 2.5em; }

.hero-btns {
    display: flex; justify-content: center; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 25px;
}
.btn-cta {
    background: var(--accent-color); color: #fff !important; padding: 12px 30px; border-radius: 5px; font-weight: bold; display: inline-block; cursor: pointer;
}
.btn-line {
    background: #00B900; color: #fff !important; padding: 12px 30px; border-radius: 5px; font-weight: bold; display: inline-block; cursor: pointer;
}
.btn-cta:hover { background: #b08d48; transform: translateY(-2px); }
.btn-line:hover { background: #009900; transform: translateY(-2px); }

/* QR Code */
.line-qr-display {
    margin-top: 20px; background: #fff; padding: 10px; border-radius: 10px; display: inline-block; box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.line-qr-display img { width: 120px; height: 120px; display: block; }
.line-qr-text { color: #333; font-size: 0.8rem; margin-top: 5px; font-weight: bold; }

/* 介紹區 */
.intro-section { padding: 50px 0; background: #fff; border-bottom: 1px solid #eee; }
.intro-grid { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.intro-director { flex: 1; text-align: center; min-width: 250px; background: #f9f9f9; padding: 20px; border-radius: 8px; border-top: 4px solid var(--accent-color); }
.intro-story { flex: 2; min-width: 300px; }
.director-big-img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent-color); margin-bottom: 15px; }

/* 側邊欄與 Brevo 美化 */
.main-layout { display: flex; gap: 30px; margin: 40px auto; flex-wrap: wrap; }
.content-area { flex: 2; min-width: 300px; }
.sidebar-area { flex: 1; min-width: 250px; }
.widget { background: #f9f9f9; padding: 20px; margin-bottom: 20px; border-radius: 5px; border: 1px solid #eee; }
.widget-title { border-bottom: 2px solid var(--accent-color); padding-bottom: 10px; margin-top: 0; color: var(--primary-color); }

.sib_signup_box_inside_2, #sib_container { background: transparent !important; border: none !important; padding: 0 !important; margin: 0 !important; }
.sib-email-area input[type="email"], #sib_embed_signup input[type="email"] { width: 100% !important; padding: 12px !important; border: 1px solid #ccc !important; border-radius: 4px !important; margin-bottom: 10px !important; }
.sib-form-block button, #sib_embed_signup input[type="submit"], #sib_embed_signup button { width: 100% !important; background-color: #c5a059 !important; color: #fff !important; border: none !important; padding: 12px !important; border-radius: 50px !important; cursor: pointer; }

/* 預約表單美化 */
.booking-form-container { max-width: 800px; margin: 40px auto; background: #fff; padding: 40px; border-top: 5px solid var(--primary-color); }
.xcland-form label { font-weight: bold; color: #1a3c5e; display: block; margin-bottom: 5px; }
.xcland-form .form-control { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 5px; margin-bottom: 20px; box-sizing: border-box; }
.xcland-form input[type="submit"] { background: #c5a059; color: #fff; border: none; padding: 15px 40px; font-weight: bold; border-radius: 50px; cursor: pointer; width: 100%; }

footer { background: #333; color: #fff; padding: 30px 0; text-align: center; margin-top: 50px; }