/* 基本樣式重設與全域設定 */
body {
    font-family: 'Helvetica Neue', Arial, '微軟正黑體', 'Microsoft JhengHei', sans-serif;
    line-height: 1.6;
    margin: 0;
    background-color: #87CCC0;
    /* 主背景: 薄荷綠 */
    color: #776760;
    /* 主要文字: 深褐色 */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* 首頁英雄區塊（優化） */
.hero-section {
    display: flex;
    align-items: center;
    min-height: 80vh;
    background: linear-gradient(135deg, #314D48 0%, #87CCC0 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 0 5vw;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    box-sizing: border-box;
}

.hero-content {
    flex: 1.2;
    padding: 60px 0;
    z-index: 2;
    position: relative;
    min-width: 0;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    word-break: break-all;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #CC9A87;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: #b88a78;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-image {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.hero-image img {
    width: 90%;
    height: auto;
    max-width: 500px;
    border-radius: 20px 0 0 20px;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.3);
    display: block;
}

/* 搜尋區塊 */
.search-section {
    background: white;
    padding: 60px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.search-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #314D48;
    margin-bottom: 40px;
}

.search-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.search-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.search-row:last-child {
    margin-bottom: 0;
}

.search-input {
    flex: 1;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #CC9A87;
}

.search-button {
    background: #CC9A87;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-button:hover {
    background: #b88a78;
}

/* 精選物件區塊 */
.featured-properties {
    padding: 80px 0;
    background: #f8f9fa;
}

.featured-properties h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #314D48;
    margin-bottom: 50px;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.property-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #CC9A87;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.property-info {
    padding: 25px;
}

.property-info h3 {
    font-size: 1.4rem;
    color: #314D48;
    margin-bottom: 10px;
}

.property-location {
    color: #7D8C8A;
    margin-bottom: 10px;
    font-size: 1rem;
}

.property-details {
    color: #776760;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.property-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #CC9A87;
    margin-bottom: 20px;
}

.view-details {
    display: inline-block;
    background: #314D48;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.view-details:hover {
    background: #1a2a26;
}

.view-more {
    text-align: center;
}

.view-more-button {
    display: inline-block;
    background: transparent;
    color: #314D48;
    border: 2px solid #314D48;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.view-more-button:hover {
    background: #314D48;
    color: white;
}

/* 服務介紹區塊 */
.services-section {
    padding: 80px 0;
    background: white;
}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #314D48;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    color: #314D48;
    margin-bottom: 15px;
}

.service-card p {
    color: #776760;
    line-height: 1.6;
}

/* 公司優勢區塊 */
.advantages-section {
    padding: 80px 0;
    background: #314D48;
    color: white;
}

.advantages-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
}

.advantage-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #CC9A87;
}

.advantage-item p {
    line-height: 1.6;
    opacity: 0.9;
}

/* 最新消息區塊 */
.news-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.news-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #314D48;
    margin-bottom: 50px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-date {
    color: #CC9A87;
    font-weight: bold;
    margin-bottom: 15px;
}

.news-card h3 {
    font-size: 1.3rem;
    color: #314D48;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-card p {
    color: #776760;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: #CC9A87;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #b88a78;
}

/* 聯絡我們區塊 */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #314D48;
    margin-bottom: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: #314D48;
    margin-bottom: 25px;
}

.contact-info p {
    margin-bottom: 15px;
    color: #776760;
}

.contact-form h3 {
    font-size: 1.5rem;
    color: #314D48;
    margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #CC9A87;
}

.contact-form button {
    background: #CC9A87;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #b88a78;
}

/* 更新頁尾樣式 */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #CC9A87;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section p {
    color: #776760;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #776760;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #CC9A87;
}

.footer-bottom {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #776760;
    margin: 0;
}

/* 響應式設計 */
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        padding: 40px 2vw 0 2vw;
        max-width: 100%;
    }

    .hero-content {
        padding: 30px 0 0 0;
        text-align: center;
    }

    .hero-image {
        margin-top: 30px;
    }

    .hero-image img {
        max-width: 90vw;
        border-radius: 20px;
    }
}

/* 1. 頁首與導覽列樣式 */
.navbar {
    background: #314D48;
    /* Header背景: 深綠色 */
    padding: 1rem 0;
    border-bottom: 1px solid #314D48;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #CC9A87;
    /* Logo顏色: 珊瑚粉 */
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #fff;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    /* 導覽列文字: 白色 */
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #CC9A87;
    /* 導覽列文字Hover: 珊瑚粉 */
}

/* 2. 主要搜尋區塊樣式 */
.hero {
    background: url('https://images.pexels.com/photos/1396122/pexels-photo-1396122.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center/cover;
    position: relative;
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(49, 77, 72, 0.6);
    /* 使用深綠色的半透明遮罩 */
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.search-form {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    overflow: hidden;
}

.search-form input[type="text"] {
    width: 400px;
    padding: 15px;
    border: none;
    font-size: 1rem;
}

.search-form button {
    padding: 15px 30px;
    border: none;
    background: #CC9A87;
    /* 按鈕: 珊瑚粉 */
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-form button:hover {
    background: #b88a78;
    /* 加深一點的珊瑚粉 */
}

/* 3. 精選物件區塊樣式 */
.properties {
    padding: 60px 0;
}

.properties h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #314D48;
    /* 標題使用深綠色，更突出 */
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.property-card {
    background: #fff;
    /* 卡片背景維持白色，在薄荷綠上更清晰 */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.property-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.property-info {
    padding: 20px;
}

.property-info h3 {
    margin-top: 0;
    font-size: 1.25rem;
    color: #314D48;
    /* 物件標題使用深綠色 */
}

.property-info .location,
.property-info .specs {
    color: #7D8C8A;
    /* 次要資訊: 灰綠色 */
    margin: 5px 0;
}

.property-info .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #CC9A87;
    /* 價格: 珊瑚粉 */
    margin-top: 15px;
    text-align: right;
}

/* 4. 頁尾樣式 */
footer {
    background: #314D48;
    /* Footer背景: 深綠色 */
    color: #fff;
    /* Footer文字: 白色 */
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

/* --- 物件詳細頁面樣式 (property-detail.html) --- */
.property-detail-page .container {
    background-color: #fff;
    /* 詳細頁內容區給一個白色底，方便閱讀 */
    padding: 40px;
    border-radius: 8px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.detail-header h1 {
    margin: 0;
    font-size: 2.5rem;
    color: #314D48;
    /* 標題使用深綠色 */
}

.detail-header .price {
    font-size: 2.2rem;
    font-weight: bold;
    color: #CC9A87;
    /* 價格: 珊瑚粉 */
}

.image-gallery .main-image img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover;
    border-radius: 8px;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.thumbnail-images img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s, transform 0.3s;
}

.thumbnail-images img:hover,
.thumbnail-images img.active {
    border-color: #CC9A87;
    /* 選中/Hover: 珊瑚粉 */
    transform: scale(1.05);
}

.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.property-features h2 {
    border-bottom: 2px solid #CC9A87;
    /* 分隔線: 珊瑚粉 */
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #314D48;
    /* 標題使用深綠色 */
}

.features-list {
    list-style: none;
    padding: 0;
    font-size: 1.1rem;
    line-height: 2;
}

.features-list li {
    border-bottom: 1px solid #eee;
    padding: 8px 0;
}

.features-list strong {
    display: inline-block;
    width: 100px;
    color: #7D8C8A;
    /* 標籤: 灰綠色 */
}

.agent-contact {
    background-color: #f8f9fa;
    /* 經紀人區塊用淺灰色 */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    align-self: flex-start;
}

.agent-info {
    text-align: center;
    margin-bottom: 20px;
}

.agent-info img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.agent-info h3 {
    margin: 0 0 5px 0;
    color: #314D48;
}

.agent-info .phone {
    font-size: 1.2rem;
    font-weight: bold;
}

.contact-form h3 {
    text-align: center;
    margin-top: 0;
    color: #314D48;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.contact-form button {
    background-color: #CC9A87;
    /* 按鈕: 珊瑚粉 */
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #b88a78;
    /* 加深一點的珊瑚粉 */
}

.property-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

@media (max-width: 992px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .detail-header {
        text-align: center;
    }

    .detail-header h1 {
        width: 100%;
        margin-bottom: 10px;
    }

    .detail-header .price {
        width: 100%;
    }

    .property-detail-page .container {
        padding: 20px;
    }
}

/* 關於我們頁面樣式 */
.about-page {
    padding: 60px 0;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #314D48;
    margin-bottom: 10px;
}

.page-header .subtitle {
    font-size: 1.2rem;
    color: #7D8C8A;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.company-intro,
.our-mission,
.team-intro {
    margin-bottom: 60px;
}

.company-intro h2,
.our-mission h2,
.team-intro h2 {
    font-size: 2rem;
    color: #314D48;
    margin-bottom: 30px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #CC9A87;
    margin-bottom: 10px;
}

.stat-item p {
    color: #7D8C8A;
    font-weight: 500;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.mission-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.mission-item h3 {
    font-size: 1.3rem;
    color: #314D48;
    margin-bottom: 15px;
}

.mission-item p {
    color: #7D8C8A;
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-member {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-member h3 {
    font-size: 1.3rem;
    color: #314D48;
    margin-bottom: 10px;
}

.team-member .position {
    color: #CC9A87;
    font-weight: 500;
    margin-bottom: 10px;
}

.team-member .experience {
    color: #7D8C8A;
    font-size: 0.9rem;
}

/* 最新消息頁面樣式 */
.news-page {
    padding: 60px 0;
}

.news-content {
    max-width: 1200px;
    margin: 0 auto;
}

.featured-news {
    margin-bottom: 50px;
}

.news-item.featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.news-item.featured .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-item.featured .news-content {
    padding: 40px;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.news-meta .date {
    color: #7D8C8A;
    font-size: 0.9rem;
}

.news-meta .category {
    background: #CC9A87;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.news-item.featured h2 {
    font-size: 1.8rem;
    color: #314D48;
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-item.featured p {
    color: #7D8C8A;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: #CC9A87;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #b88a78;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.news-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item .news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-item .news-content {
    padding: 25px;
}

.news-item h3 {
    font-size: 1.2rem;
    color: #314D48;
    margin-bottom: 10px;
    line-height: 1.3;
}

.news-item p {
    color: #7D8C8A;
    line-height: 1.5;
    margin-bottom: 15px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-link {
    padding: 10px 15px;
    background: #fff;
    color: #314D48;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background: #CC9A87;
    color: #fff;
}

/* 聯絡我們頁面樣式 */
.contact-page {
    padding: 60px 0;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.contact-info h2,
.contact-form-section h2 {
    font-size: 2rem;
    color: #314D48;
    margin-bottom: 30px;
}

.info-items {
    display: grid;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-item .icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-item .info-content h3 {
    font-size: 1.2rem;
    color: #314D48;
    margin-bottom: 8px;
}

.info-item .info-content p {
    color: #7D8C8A;
    margin: 5px 0;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #314D48;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #CC9A87;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #CC9A87;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #b88a78;
}

.team-contact {
    margin-bottom: 60px;
}

.team-contact h2 {
    font-size: 2rem;
    color: #314D48;
    text-align: center;
    margin-bottom: 40px;
}

.team-contact .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-card h3 {
    font-size: 1.3rem;
    color: #314D48;
    margin-bottom: 10px;
}

.team-card .position {
    color: #CC9A87;
    font-weight: 500;
    margin-bottom: 15px;
}

.team-card .phone,
.team-card .email {
    color: #7D8C8A;
    margin: 8px 0;
}

.team-card .specialty {
    color: #314D48;
    font-weight: 500;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.map-section h2 {
    font-size: 2rem;
    color: #314D48;
    text-align: center;
    margin-bottom: 30px;
}

.map-container {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .news-item.featured {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}