/* 聯繫與加入我們頁面樣式 */

/* 頁面英雄區域 */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 150px 0 110px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/contact-bg.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-breadcrumb {
    font-size: 15px;
    opacity: 0.8;
}

.hero-breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.hero-breadcrumb a:hover {
    opacity: 1;
}

/* 主體內容區域 */
.main-container {
    padding: 0;
}

.contact-section,
.join-section,
.volunteer-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 聯繫方式區域 */
.contact-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.contact-icon-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 20px;
    text-align: center;
}

.contact-card:nth-child(1) .contact-icon-wrapper {
    background: linear-gradient(135deg, #4facfe 0%, #4e8588 100%);
    /* background: linear-gradient(135deg, #02345a 0%, #02345a 100%); */
}

.contact-card:nth-child(2) .contact-icon-wrapper {
    background: linear-gradient(135deg, #43e97b 0%, #218674 100%);
    /* background: linear-gradient(135deg, #02345a 0%, #02345a 100%); */
}

.contact-card:nth-child(3) .contact-icon-wrapper {
    background: linear-gradient(135deg, #fa709a 0%, #948325 100%);
    /* background: linear-gradient(135deg, #02345a 0%, #02345a 100%); */
}

.contact-grid .contact-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.contact-grid .contact-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

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

.contact-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-content p {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    color: var(--white);
}

.contact-btn span {
    margin-right: 8px;
}

.contact-btn svg {
    margin-bottom: 2px;
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.contact-btn:hover svg {
    transform: translateX(3px);
}

/* 加入會員區域 */
.join-section {
    background: var(--white);
}

.join-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.join-info,
.join-form {
    display: flex;
    flex-direction: column;
}

.info-card,
.form-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.info-card::before,
.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.info-card h3,
.form-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-card p,
.form-card p {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.6;
}

.benefits-list {
    margin-bottom: 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.benefit-item span {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

/* 表單樣式 */
.application-form {
    margin-top: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.submit-btn span {
    margin-right: 10px;
}

.submit-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.submit-btn:hover svg {
    transform: translateX(3px);
}

/* 志願者招募區域 */
.volunteer-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.volunteer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.volunteer-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.volunteer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.volunteer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.volunteer-icon-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 20px;
    text-align: center;
}

.volunteer-card:nth-child(1) .volunteer-icon-wrapper {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.volunteer-card:nth-child(2) .volunteer-icon-wrapper {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.volunteer-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.volunteer-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.volunteer-content {
    padding: 30px;
}

.volunteer-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.volunteer-content p {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.6;
}

.position-list {
    margin-bottom: 25px;
}

.position-item {
    padding: 10px 15px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-dark);
    border-left: 3px solid var(--primary-color);
}

.volunteer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.volunteer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    color: var(--white);
}

.volunteer-btn span {
    margin-right: 8px;
}

.volunteer-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.volunteer-btn:hover svg {
    transform: translateX(3px);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

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

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

    .volunteer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 16px;
    }

    .contact-section,
    .join-section,
    .volunteer-section {
        padding: 60px 0;
    }

    .info-card,
    .form-card {
        padding: 30px;
    }

    .contact-content,
    .volunteer-content {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 100px 0 80px;
    }

    .hero-title {
        font-size: 28px;
    }

    .contact-section,
    .join-section,
    .volunteer-section {
        padding: 50px 0;
    }

    .info-card,
    .form-card {
        padding: 25px;
    }

    .contact-content,
    .volunteer-content {
        padding: 20px;
    }
/* 
    .contact-icon,
    .volunteer-icon {
        width: 60px;
        height: 60px;
    } */

    .contact-icon svg,
    .volunteer-icon svg {
        width: 30px;
        height: 30px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
    }

    .submit-btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .submit-btn svg{
        width: 15px;
        height: 15px;
    }

    .contact-btn{
        display: flex;
        width: 60%;
        margin: 0 auto;
    }

    .contact-btn svg{
        margin-bottom: 0;
    }
}