/* 模塊系統樣式 */

/* 基礎模塊樣式 */
.widget {
    margin: 2rem 0;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.widget:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
}

.widget:hover::before {
    opacity: 1;
}

.widget-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* 計數器模塊 */
.widget-counter {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
}

.widget-counter .widget-title {
    color: white;
}

.widget-counter .widget-title::after {
    background: rgba(255,255,255,0.3);
}

.counter-container {
    position: relative;
    z-index: 1;
}

.counter-display {
    font-size: 4rem;
    font-weight: 800;
    margin: 1.5rem 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    position: relative;
}

.counter-number {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    color: white;
    display: inline-block;
    min-width: 1ch;
    text-align: center;
}

.counter-prefix,
.counter-suffix {
    font-size: 2.5rem;
    opacity: 0.9;
    margin: 0 0.5rem;
}

/* 計數器動畫效果 */
@keyframes counterPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.counter-number.animating {
    animation: counterPulse 0.3s ease-in-out;
}

/* 圖片畫廊模塊 */
.widget-gallery {
    padding: 2rem;
}

.gallery-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    background: var(--background-alt);
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1.5rem 1rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* 畫廊模態框 */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.gallery-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.gallery-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    object-fit: contain;
}

.gallery-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.gallery-close:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    width: calc(100% + 100px);
    left: -50px;
    pointer-events: none;
}

.gallery-prev,
.gallery-next {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 1.5rem;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
    backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.6);
    transform: scale(1.1);
}

/* 商品展示模塊 */
.widget-products {
    padding: 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid var(--border-light);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--background-alt);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #e53e3e;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(229, 62, 62, 0.3);
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.original-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.current-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-btn {
    width: 100%;
    padding: 0.8rem 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-btn:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* 客戶評價模塊 */
.widget-testimonials {
    padding: 2rem;
    background: var(--background-alt);
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials-container {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content {
    text-align: center;
    width: 100%;
}

.testimonial-quote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-quote::before,
.testimonial-quote::after {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    font-family: serif;
    opacity: 0.3;
}

.testimonial-quote::before {
    top: -1rem;
    left: -2rem;
}

.testimonial-quote::after {
    bottom: -2rem;
    right: -2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
}

.author-title {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-rating {
    color: #f6ad55;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.testimonial-prev,
.testimonial-next {
    background: rgba(102,126,234,0.1);
    border: 2px solid rgba(102,126,234,0.2);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.testimonial-dot:hover {
    background: var(--primary-color);
    opacity: 0.7;
}

/* 聯絡表單模塊 */
.widget-contact {
    padding: 2rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-family);
    transition: var(--transition);
    background: white;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
    transform: translateY(-1px);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-submit:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.contact-submit:active {
    transform: translateY(0);
}

/* 時間軸模塊 */
.widget-timeline {
    padding: 2rem;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin: 3rem 0;
    width: 50%;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 2px solid var(--border-light);
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    border-color: var(--primary-color);
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 2rem;
    width: 0;
    height: 0;
    border: 10px solid transparent;
}

.timeline-item.left .timeline-content::before {
    right: -20px;
    border-left-color: var(--border-light);
}

.timeline-item.right .timeline-content::before {
    left: -20px;
    border-right-color: var(--border-light);
}

.timeline-item:hover .timeline-content::before {
    border-left-color: var(--primary-color);
    border-right-color: var(--primary-color);
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-title {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.timeline-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.timeline-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

.timeline-marker {
    position: absolute;
    top: 2rem;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 1;
}

.timeline-item.left .timeline-marker {
    right: -35px;
}

.timeline-item.right .timeline-marker {
    left: -35px;
}

/* 團隊介紹模塊 */
.widget-team {
    padding: 2rem;
    background: var(--background-alt);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: translateX(-100%);
    transition: var(--transition);
}

.team-member:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-member:hover::before {
    transform: translateX(0);
}

.member-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--border-light);
    transition: var(--transition);
    position: relative;
}

.team-member:hover .member-photo {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-photo img {
    transform: scale(1.1);
}

.member-name {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.member-bio {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.member-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--background-alt);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}

.member-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px) scale(1.1);
}

/* FAQ模塊 */
.widget-faq {
    padding: 2rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    background: white;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--background-alt);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    color: var(--text-color);
    user-select: none;
}

.faq-question:hover {
    background: #edf2f7;
}

.faq-question.active {
    background: var(--primary-color);
    color: white;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    transition: var(--transition);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
    background: rgba(255,255,255,0.2);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer-content {
    padding: 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
    border-top: 1px solid var(--border-light);
}

/* 統計圖表模塊 */
.widget-stats {
    padding: 2rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-item {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .widget {
        margin: 1rem 0;
        padding: 1.5rem;
    }

    .widget-title {
        font-size: 1.5rem;
    }

    .counter-display {
        font-size: 2.5rem;
    }

    .counter-prefix,
    .counter-suffix {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-slide {
        padding: 1rem;
    }

    .testimonial-quote {
        font-size: 1.1rem;
    }

    .testimonial-quote::before,
    .testimonial-quote::after {
        font-size: 3rem;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }

    .author-info {
        text-align: center;
    }

    .timeline-line {
        left: 2rem;
    }

    .timeline-item {
        width: calc(100% - 4rem);
        left: 4rem !important;
        text-align: left !important;
    }

    .timeline-item .timeline-marker {
        left: -43px !important;
    }

    .timeline-content::before {
        display: none;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-container {
        min-height: 200px;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .widget {
        padding: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .timeline-line {
        left: 1rem;
    }

    .timeline-item {
        width: calc(100% - 2rem);
        left: 2rem !important;
    }

    .timeline-item .timeline-marker {
        left: -33px !important;
    }

    .counter-display {
        font-size: 2rem;
    }

    .testimonial-quote {
        font-size: 1rem;
    }

    .testimonial-quote::before,
    .testimonial-quote::after {
        font-size: 2rem;
    }

    .member-photo {
        width: 100px;
        height: 100px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .gallery-modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }

    .gallery-nav {
        width: calc(100% + 60px);
        left: -30px;
    }

    .gallery-prev,
    .gallery-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* 動畫效果 */
@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.widget {
    animation: slideInFromBottom 0.6s ease-out;
}

.timeline-item.left .timeline-content {
    animation: slideInFromLeft 0.6s ease-out;
}

.timeline-item.right .timeline-content {
    animation: slideInFromRight 0.6s ease-out;
}

/* 無障礙性增強 */
@media (prefers-reduced-motion: reduce) {
    .widget,
    .gallery-item,
    .product-card,
    .testimonial-slide,
    .timeline-content,
    .team-member,
    .faq-item {
        animation: none;
        transition: none;
    }
}

/* 高對比度模式 */
@media (prefers-contrast: high) {
    .widget {
        border-width: 3px;
    }
    
    .gallery-modal {
        background: rgba(0, 0, 0, 0.98);
    }
    
    .faq-question {
        border-bottom: 2px solid var(--text-color);
    }
}

/* 列印樣式 */
@media print {
    .widget {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .gallery-modal,
    .banner-controls,
    .testimonials-nav,
    .member-social {
        display: none;
    }
}