/* 重置樣式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 標題樣式 */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 100px;
    width: auto;
}

.logo a {
    text-decoration: none;
}

/* 導航欄樣式 */
.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #3498db;
}

/* 主要內容區域 */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px - 300px);
}

/* 英雄區域樣式 */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #2980b9;
}

/* 特色區域樣式 */
.features {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.feature-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* 熱門路線樣式 */
.popular-routes {
    padding: 4rem 0;
}

.popular-routes h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.route-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.route-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.route-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* 頁尾樣式 */
.main-footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 服務區域樣式 */
.services {
    padding: 4rem 0;
    background-color: #fff;
}

.services h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #2c3e50;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #666;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-item {
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.service-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-item p {
    color: #666;
    line-height: 1.8;
}

/* 關於我們頁面樣式 */
.about-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/about-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 60px;
}

.about-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-content {
    padding: 4rem 0;
    background-color: #fff;
}

.about-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.about-section h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
}

.about-section p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-conclusion {
    font-size: 1.2rem;
    font-weight: 500;
    color: #2c3e50;
    text-align: center;
    font-style: italic;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* 服務頁面樣式 */
.services-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/services-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 60px;
}

.services-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-content {
    padding: 4rem 0;
    background-color: #fff;
}

.service-form-section {
    margin-bottom: 4rem;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-form-section h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.service-info {
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.info-item ul {
    list-style: none;
    padding-left: 1rem;
}

.info-item ul li {
    color: #666;
    line-height: 1.8;
    margin-bottom: 0.3rem;
    position: relative;
}

.info-item ul li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: -1rem;
}

.notice {
    color: #e74c3c;
    font-weight: 500;
    padding: 1rem;
    background: #fff;
    border-radius: 5px;
    border-left: 4px solid #e74c3c;
}

/* 表單樣式 */
.service-form {
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.form-group label {
    display: block;
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Noto Sans TC', sans-serif;
}

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

.submit-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #2980b9;
}

/* 提示訊息樣式 */
.alert {
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Tab 切換樣式 */
.service-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: #2c3e50;
    background: #fff;
    border: 2px solid #3498db;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: #f8f9fa;
}

.tab-btn.active {
    background: #3498db;
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 支付頁面樣式 */
.payment-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/payment-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

.payment-hero h1 {
    font-size: 2.5em;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.payment-content {
    padding: 50px 0;
}

.payment-section {
    margin-bottom: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.payment-section h2 {
    color: #333;
    font-size: 1.8em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #6c5ce7;
}

.payment-section h3 {
    color: #444;
    font-size: 1.4em;
    margin: 25px 0 15px;
}

.payment-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.payment-section ol,
.payment-section ul {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 20px;
}

.payment-section li {
    margin-bottom: 10px;
}

.safety-seat-info,
.pet-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin: 15px 0;
}

.notice {
    color: #e74c3c;
    font-weight: bold;
    padding: 10px;
    background: #fff3f3;
    border-radius: 5px;
    margin: 15px 0;
}

/* 支付按鈕區域樣式 */
.payment-action {
    text-align: center;
}

.payment-info {
    max-width: 600px;
    margin: 0 auto 30px;
    text-align: left;
}

.payment-info ul {
    list-style: none;
    padding-left: 0;
}

.payment-info ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.payment-info ul li:before {
    content: "•";
    color: #6c5ce7;
    position: absolute;
    left: 0;
}

.payment-methods {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.payment-methods p {
    font-weight: bold;
    margin-bottom: 10px;
}

.payment-methods ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.payment-methods ul li {
    padding: 8px 15px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.payment-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    background: #6c5ce7;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 92, 231, 0.2);
}

.payment-button:hover {
    background: #5b4cc4;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(108, 92, 231, 0.3);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        text-align: center;
        padding: 1rem 20px;
    }

    .logo {
        margin-bottom: 1rem;
    }

    .logo img {
        max-height: 50px;
    }

    .main-nav ul {
        margin-top: 1rem;
        flex-direction: column;
    }

    .main-nav li {
        margin: 0.5rem 0;
    }

    .feature-grid,
    .route-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-section h2 {
        font-size: 2rem;
    }

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

    .section-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .about-hero {
        padding: 100px 0 40px;
        margin-top: 50px;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .about-section {
        padding: 1.5rem;
    }

    .about-section h2 {
        font-size: 1.5rem;
    }

    .about-section p {
        font-size: 1rem;
    }

    .about-conclusion {
        font-size: 1.1rem;
        padding: 1.5rem;
    }

    .services-hero {
        padding: 100px 0 40px;
        margin-top: 50px;
    }

    .services-hero h1 {
        font-size: 2rem;
    }

    .service-form-section {
        padding: 1.5rem;
    }

    .service-form-section h2 {
        font-size: 1.8rem;
    }

    .service-form {
        padding: 1.5rem;
    }

    .info-item h3 {
        font-size: 1.2rem;
    }

    .alert {
        margin: 1rem;
        font-size: 0.9rem;
    }

    .service-tabs {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .tab-btn {
        width: 100%;
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
    }

    .payment-hero {
        padding: 60px 0;
    }

    .payment-hero h1 {
        font-size: 2em;
    }

    .payment-section {
        padding: 20px;
        margin-bottom: 30px;
    }

    .payment-section h2 {
        font-size: 1.6em;
    }

    .payment-section h3 {
        font-size: 1.3em;
    }

    .safety-seat-info,
    .pet-info {
        padding: 15px;
    }

    .payment-methods ul {
        gap: 10px;
    }

    .payment-methods ul li {
        padding: 6px 12px;
        font-size: 0.9em;
    }

    .payment-button {
        padding: 12px 30px;
        font-size: 1.1em;
        width: 100%;
    }
} 