/* 聯絡表單樣式 */
.contact-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 3rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .contact-container {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .map-container {
        display: none; /* 在行動裝置上隱藏地圖 */
    }
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-orange);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-orange);
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(236, 104, 52, 0.3);
    border-radius: 4px;
    color: var(--light);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-orange);
}

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

/* 聯絡資訊樣式 */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.3s ease;
    height: 5rem;
}

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

.contact-icon {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon-black {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
    background: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding-top: 5px;
    padding-left: 1px;
}

/* 地圖容器 */
.map-container {
    height: 300px;
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(236, 104, 52, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 480px) {
    .map-container {
        padding-bottom: 75%; /* Taller aspect ratio for mobile */
    }
}

/* 社交媒體連結 */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}