/**
 * FIYA 雙語走讀 - 走讀澎湖頁面樣式
 * public/studytour/studytour.css
 */

/* ============================================
   內容區塊
   ============================================ */

.studytour-content {
    padding: 60px 0 100px;
    background: var(--sand, #FFF8E7);
}

.studytour-content .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 區塊標題 */
.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green, #005639);
    margin: 0 0 30px;
}

.section-title .material-icons {
    font-size: 1.75rem;
    color: var(--primary-yellow, #FEB503);
}

/* ============================================
   課程介紹
   ============================================ */

.intro-section {
    text-align: center;
    margin-bottom: 50px;
}

.intro-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark, #2c3e50);
    margin: 0 0 20px;
}

.intro-section p {
    font-size: 1.375rem;
    color: var(--text-light, #6c757d);
    line-height: 1.9;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   圖片展示
   ============================================ */

.gallery-section {
    margin-bottom: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ============================================
   應用方式
   ============================================ */

.applications-section {
    margin-bottom: 50px;
}

.applications-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.application-card {
    display: flex;
    gap: 25px;
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 575px) {
    .application-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.app-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-green, #005639), var(--primary-blue, #00256B));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.app-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark, #2c3e50);
    margin: 0 0 15px;
}

.app-content p {
    font-size: 1.125rem;
    color: var(--text-light, #6c757d);
    line-height: 1.8;
    margin: 0 0 15px;
}

.app-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.app-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 1.125rem;
    color: var(--text-dark, #2c3e50);
    line-height: 1.8;
}

.app-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--primary-yellow, #FEB503);
    border-radius: 50%;
}

/* 任務範例 */
.task-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.task-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ocean-light, #E8F4F8);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 1rem;
    color: var(--primary-green, #005639);
    font-weight: 500;
}

.task-item .material-icons {
    font-size: 1.125rem;
}

/* ============================================
   與其他數位工具整合
   ============================================ */

.tools-section {
    margin-bottom: 50px;
}

.tools-table {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.tool-row {
    display: grid;
    grid-template-columns: 220px 180px 1fr;
    border-bottom: 1px solid #eee;
}

.tool-row:last-child {
    border-bottom: none;
}

.tool-row.header {
    background: var(--primary-green, #005639);
    color: #fff;
    font-weight: 600;
}

.tool-cell {
    padding: 18px 20px;
    font-size: 1.125rem;
    line-height: 1.8;
}

.tool-cell.name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary-green, #005639);
    background: var(--ocean-light, #E8F4F8);
}

.tool-cell.name .material-icons {
    color: var(--primary-yellow, #FEB503);
}

@media (max-width: 767px) {
    .tool-row {
        grid-template-columns: 1fr;
    }

    .tool-row.header {
        display: none;
    }

    .tool-cell {
        padding: 15px 20px;
    }

    .tool-cell::before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        color: var(--primary-green, #005639);
        margin-bottom: 5px;
        font-size: 0.8125rem;
    }

    .tool-cell.name {
        border-bottom: none;
    }
}

/* ============================================
   導入效益
   ============================================ */

.benefits-section {
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

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

.benefit-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-icon.teaching {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

.benefit-icon.student {
    background: linear-gradient(135deg, #2196F3, #1565C0);
}

.benefit-icon.brand {
    background: linear-gradient(135deg, #FF9800, #E65100);
}

.benefit-icon .material-icons {
    font-size: 1.75rem;
    color: #fff;
}

.benefit-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark, #2c3e50);
    margin: 0 0 15px;
}

.benefit-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-card ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 1.125rem;
    color: var(--text-light, #6c757d);
    line-height: 1.8;
}

.benefit-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--primary-yellow, #FEB503);
    border-radius: 50%;
}

/* ============================================
   未來規劃
   ============================================ */

.future-section {
    margin-bottom: 50px;
}

.future-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.future-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.future-item:hover {
    transform: translateX(10px);
}

.future-icon {
    width: 50px;
    height: 50px;
    background: var(--ocean-light, #E8F4F8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.future-icon .material-icons {
    font-size: 1.5rem;
    color: var(--primary-green, #005639);
}

.future-content h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-dark, #2c3e50);
    margin: 0 0 8px;
}

.future-content p {
    font-size: 1.125rem;
    color: var(--text-light, #6c757d);
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   相關連結
   ============================================ */

.related-links {
    margin-bottom: 50px;
}

.related-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, var(--primary-green, #005639), var(--primary-blue, #00256B));
    color: #fff;
    border-radius: 16px;
    padding: 25px 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 86, 57, 0.3);
}

.related-card > .material-icons {
    font-size: 2.5rem;
    color: var(--primary-yellow, #FEB503);
}

.related-card div {
    flex: 1;
}

.related-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 5px;
    color: #fff;
}

.related-card p {
    font-size: 0.9375rem;
    opacity: 0.9;
    margin: 0;
    color: #fff;
}

.related-card .arrow {
    font-size: 1.5rem;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.related-card:hover .arrow {
    transform: translateX(5px);
    opacity: 1;
}

/* ============================================
   CTA 區塊
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, var(--primary-green, #005639), var(--primary-blue, #00256B));
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 15px;
    color: #fff;
}

.cta-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin: 0 0 30px;
    color: #fff;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-yellow, #FEB503);
    color: #fff;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(254, 181, 3, 0.4);
}

.btn-cta:hover {
    background: #fff;
    color: var(--primary-green, #005639);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.btn-cta .material-icons {
    font-size: 1.5rem;
}

/* ============================================
   響應式調整
   ============================================ */

@media (max-width: 768px) {
    .intro-section h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .gallery-item {
        height: 200px;
    }

    .cta-section {
        padding: 40px 25px;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }
}
