:root {
    --primary-color: #4D8061; /* 代表竹子的綠色 */
    --accent-color: #e0e0e0; /* 優雅的中性色調 */
    --text-color: #333; /* 主要文字顏色 */
    --background-color: #f9f9f9; /* 背景色 */
    --light-color: #F2F2F2; /* 淺灰色 */
    --dark-color: #333333; /* 深灰色 */
    --light-text: #666666;
    
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans TC', sans-serif;
}


body {
    background-color: var(--light-color);
    color: var(--dark-color);
}

.contact-page {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.page-title {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.page-title h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 600;
}

.page-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #D4AF37;
    margin: 10px auto;
}

.subtitle {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.2rem;
    color: var(--light-text);
}

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

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

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

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 600;
}

.submit-btn:hover {
    background-color: #3e8e41;
}

.contact-page .contact-info {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-page .contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.info-item {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-item h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.info-item p {
    margin: 0;
    color: #666;
}

.map-container {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-page .social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.contact-page .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s;
}

.contact-page .social-links a:hover {
    transform: translateY(-3px);
    background-color: #3e8e41;
}

/* 加入動畫效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form, .contact-info {
    animation: fadeIn 0.6s ease-out forwards;
}

.contact-info {
    animation-delay: 0.2s;
}