/* Car Type Page Styles */

/* 优势展示区域 */
.advantages-section {
    padding: 80px 0;
    background: #ffffff;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-card {
    text-align: left;
    padding: 40px 30px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 207, 112, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-gold);
}

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-icon {
    width: 48px;
    height: 48px;
    margin: 0 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--gold-dark) 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(255, 207, 112, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(255, 207, 112, 0.4);
}

.advantage-icon svg {
    color: #ffffff;
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon svg {
    transform: scale(1.1);
}

.advantage-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.advantage-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
    flex: 1;
}

.advantage-card:hover .advantage-title {
    color: var(--primary-color);
}

.advantage-description {
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
    transition: color 0.3s ease;
}

.advantage-card:hover .advantage-description {
    color: #374151;
}

/* Page Hero Section */
.contact-hero {
    background: url('/pc_static/images/header-bg-2.webp') center center / cover no-repeat;
    height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.contact-header {
    position: relative;
    z-index: 1;
}

.contact-header h1 {
    font-size: 48px;
    line-height: 46px;
    font-weight: 600;
    margin: 0 0 16px 0;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-header p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 車款類型區域 */
.car-types-section {
    padding: 80px 0;
    background: #f8f8f8;
}

@media (min-width: 1024px) {
    .car-types-section {
        padding: 100px 0;
    }
}

.car-types-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .car-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (min-width: 1024px) {
    .car-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* 車款卡片 */
.car-type-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.car-type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* 車款標籤 */
.car-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.car-tag.luxury {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--gold-dark) 100%);
    color: #ffffff;
}

.car-tag.business {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--gold-dark) 100%);
    color: #ffffff;
}

.car-tag.economy {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--gold-dark) 100%);
    color: #ffffff;
}

.car-type-card:hover .car-tag {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 207, 112, 0.4);
}

/* 圖片區域 */
.car-image-section {
    width: 100%;
    height: 350px;
    background: #2a2a2a;
    position: relative;
}

@media (min-width: 1024px) {
    .car-image-section {
        height: 400px;
    }
}

.car-image-swiper {
    width: 100%;
    height: 100%;
}

.car-image-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Swiper分頁器 */
.car-image-swiper .swiper-pagination {
    position: absolute;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: auto !important;
}

.car-image-swiper .swiper-pagination-bullet {
    width: 50px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
    margin: 0 !important;
}

.car-image-swiper .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
}

.car-image-swiper .swiper-pagination-bullet-active {
    background: var(--primary-gold);
    opacity: 1;
    box-shadow: 0 0 12px rgba(255, 207, 112, 0.6);
    width: 60px;
}

/* 信息區域 */
.car-info-section {
    padding: 32px 24px;
    flex: 1;
}

@media (min-width: 1024px) {
    .car-info-section {
        padding: 40px 32px;
    }
}

.car-name {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

@media (min-width: 1024px) {
    .car-name {
        font-size: 28px;
    }
}

.car-models {
    font-size: 14px;
    color: #666;
    margin: 0 0 16px 0;
    line-height: 1.6;
}

@media (min-width: 1024px) {
    .car-models {
        font-size: 15px;
    }
}

.car-divider {
    width: 60px;
    height: 3px;
    background: var(--primary-gold);
    margin: 0 0 20px 0;
    border-radius: 2px;
}

.car-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.car-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

@media (min-width: 1024px) {
    .car-features li {
        font-size: 15px;
    }
}

.car-features li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary-gold);
}

.car-features li span {
    flex: 1;
}

/* 优势展示区域响应式设计 */
@media (max-width: 1024px) {
    .advantages-section {
        padding: 60px 0;
    }
    
    .advantages-grid {
        gap: 30px;
    }
    
    .advantage-card {
        padding: 30px 20px;
    }
    
    .advantage-icon {
        width: 40px;
        height: 40px;
        margin: 0 12px 0 0;
    }
    
    .advantage-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .advantage-description {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .advantage-card {
        padding: 32px 24px;
    }
    
    .advantage-icon {
        width: 36px;
        height: 36px;
        margin: 0 12px 0 0;
    }
    
    .advantage-title {
        font-size: 18px;
        margin-bottom: 14px;
    }
    
    .advantage-description {
        font-size: 14px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .advantages-section {
        padding: 40px 0;
    }
    
    .advantage-card {
        padding: 24px 20px;
    }
    
    .advantage-icon {
        width: 32px;
        height: 32px;
        margin: 0 10px 0 0;
    }
    
    .advantage-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .advantage-description {
        font-size: 13px;
    }
}

/* 車款標籤響應式設計 */
@media (max-width: 1024px) {
    .car-tag {
        top: 12px;
        right: 12px;
        padding: 5px 10px;
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .car-tag {
        top: 10px;
        right: 10px;
        padding: 4px 8px;
        font-size: 10px;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 480px) {
    .car-tag {
        top: 8px;
        right: 8px;
        padding: 3px 6px;
        font-size: 9px;
        letter-spacing: 0.2px;
    }
}

/* 統一服務展示區域 */
.unified-service-section {
    padding: 80px 0;
    background: var(--accent-color);
    position: relative;
    overflow: hidden;
}

.unified-service-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 207, 112, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 207, 112, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.service-block {
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.service-block:last-child {
    margin-bottom: 0;
}

.unified-service-section .service-block {
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.unified-service-section .service-block:last-child {
    margin-bottom: 0;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-block.reverse .service-content {
    grid-template-columns: 1fr 1fr;
}

.service-block.reverse .service-text {
    order: 1;
}

.service-block.reverse .service-image {
    order: 2;
}

.service-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.service-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-image:hover .service-img {
    transform: scale(1.05);
}

.service-text {
    padding: 20px 0;
}

.service-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 24px 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-description {
    font-size: 16px;
    line-height: 1.8;
    color: #e0e0e0;
    margin: 0;
}

/* 司機服務區域響應式設計 */
@media (max-width: 1024px) {
    .driver-service-section {
        padding: 60px 0;
    }
    
    .service-block {
        margin-bottom: 60px;
    }
    
    .service-content {
        gap: 40px;
    }
    
    .service-title {
        font-size: 32px;
        color: #ffffff;
    }
    
    .service-img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .service-content,
    .service-block.reverse .service-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-block.reverse .service-text,
    .service-block.reverse .service-image {
        order: initial;
    }
    
    .service-title {
        font-size: 28px;
        margin-bottom: 20px;
        color: #ffffff;
    }
    
    .service-description {
        font-size: 15px;
        color: #e0e0e0;
    }
    
    .service-img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .driver-service-section {
        padding: 40px 0;
    }
    
    .service-block {
        margin-bottom: 40px;
    }
    
    .service-content {
        gap: 24px;
    }
    
    .service-title {
        font-size: 24px;
        margin-bottom: 16px;
        color: #ffffff;
    }
    
    .service-description {
        font-size: 14px;
        line-height: 1.6;
        color: #e0e0e0;
    }
    
    .service-img {
        height: 250px;
    }
}

/* 統一服務展示區域響應式設計 */
@media (max-width: 1024px) {
    .unified-service-section {
        padding: 60px 0;
    }
    
    .unified-service-section .service-block {
        margin-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .unified-service-section {
        padding: 40px 0;
    }
    
    .unified-service-section .service-block {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .unified-service-section {
        padding: 30px 0;
    }
    
    .unified-service-section .service-block {
        margin-bottom: 30px;
    }
}

/* FAQ 常見問題區域 */
.faq-section {
    padding: 80px 0;
    background: #ffffff;
}

.faq-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.faq-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 40px 0;
    line-height: 1.2;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item:hover {
    background: #f0f2f7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-item.active {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.4;
}

.faq-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-icon path {
    fill: currentColor;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px 24px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
}

.faq-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.faq-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.faq-image:hover .faq-img {
    transform: scale(1.05);
}

/* FAQ 響應式設計 */
@media (max-width: 1024px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-content {
        gap: 40px;
    }
    
    .faq-title {
        font-size: 32px;
        margin-bottom: 32px;
    }
    
    .faq-img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .faq-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .faq-title {
        font-size: 28px;
        margin-bottom: 24px;
    }
    
    .faq-question {
        padding: 16px 20px;
    }
    
    .faq-question h3 {
        font-size: 15px;
    }
    
    .faq-answer p {
        padding: 0 20px 16px 20px;
        font-size: 13px;
    }
    
    .faq-img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 40px 0;
    }
    
    .faq-content {
        gap: 24px;
    }
    
    .faq-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .faq-question {
        padding: 14px 16px;
    }
    
    .faq-question h3 {
        font-size: 14px;
    }
    
    .faq-answer p {
        padding: 0 16px 14px 16px;
        font-size: 12px;
    }
    
    .faq-img {
        height: 250px;
    }
}

.swiper-pagination-bullet {
    background-color: #999999 !important;
    opacity: 0.2 !important;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--primary-gold) !important;
    opacity: 1 !important;
}