
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.tour-page {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
}

.responsive-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}


.main-content-section {
    background: #f5f5f5;
    padding: 0;
    min-height: 100vh;
}
.fa-brands, .fab{
    font-size: 42px;
}
.travel-inquiry-section { 
    max-width: 900px; 
    margin: 0px auto 20px; 
    padding: 20px; 
    background-image: url('/static/images/34.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
}

.travel-inquiry-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    z-index: 1;
}

.travel-inquiry-section > * {
    position: relative;
    z-index: 2;
}


.main-question {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 12px;
    display: block;
  
}

.detail-question {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 0px;
    display: block;
    text-align: center;
}


.tour-content-card {
    max-width: 900px;
    margin: 20px auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}


.article-content {
    padding: 20px;
}


.content-heading {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin: 0 0 20px 0;
    padding: 0;
    line-height: 1.3;
}

.tour-section {
    margin-bottom: 40px;
}

.inquiry-quotes {
    border: 1px solid #f0f0f0;
    background: #fafafa;
    padding: 15px;
    border-left: 4px solid #2c5aa0;
    margin-bottom: 25px;
}

.inquiry-quotes p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.tour-text {
    color: #444;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.tour-highlight {
    color: #1890ff;
    font-weight: 600;
}

.tour-image-section {
    margin: 25px 0;
    text-align: center;
}

.content-image {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.subtitle {
    font-size: 20px;
    color: #d10000;
    margin: 25px 0 15px;
    font-weight: 700;
    text-align: center;
}

/* 新增評論表單 */
.tour-comment-form {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #eee;
    margin: 30px 0;
}

.form-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

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

.input-group label {
    display: block;
    font-size: 16px;
    color: #555;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
}

.input-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: #1890ff;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 10px auto;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #40a9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}


.comments-section {
    background: #fff;
    border-radius: 10px;
    padding: 0;
    margin: 40px 0;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background-color: #f5f5f7;
    border-bottom: 1px solid #eee;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.sort-options {
    display: flex;
    gap: 15px;
}

.sort-option {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #ddd;
    transition: all 0.2s;
}

.sort-option.active, .sort-option:hover {
    background: #1890ff;
    color: white;
    border-color: #1890ff;
}

.comments-list {
    padding: 0 15px;
}

.comment-card {
    padding: 25px 15px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
}

.comment-card:last-child {
    border-bottom: none;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    /*background: #e0e0e0;*/
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #666;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.comment-content {
    flex-grow: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.comment-author {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-right: 12px;
}

.comment-time {
    font-size: 13px;
    color: #888;
}

.comment-body {
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 15px;
}

.comment-actions {
    display: flex;
    gap: 25px;
}

.action-btn {
    color: #666;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.action-btn:hover {
    color: #1890ff;
}


.site-footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #ecf0f1;
    font-size: 18px;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
}

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

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
    font-size: 14px;
    line-height: 1.6;
}
.footer-bottom p{
    color: #fff!important;
}

/* 浮動按鈕 */
.floating-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ff9800;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


@media (max-width: 768px) {
    .travel-inquiry-section {
        padding: 15px;
    }
    
    .content-heading {
        font-size: 22px;
    }
    
    .comment-card {
        padding: 20px 10px;
    }
    
    .floating-container {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .main-question {
        font-size: 18px;
    }
    
    .detail-question {
        font-size: 14px;
    }
    
    .sort-options {
        gap: 8px;
    }
    
    .sort-option {
        padding: 5px 10px;
        font-size: 13px;
    }
    
    .section-title {
        font-size: 18px;
    }
}
.fa-brands, .fab{
    font-size: 37px;
}
        .floating-button-container {
            position: fixed;
            right: 30px;
            top: 822px;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .floating-btn {
            width: 65px;
            height: 65px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
            color: white;
            font-size: 1.5rem;
            position: relative;
            animation: float 3s ease-in-out infinite;
            transition: transform 0.3s;
        }
        
        .floating-btn:nth-child(1) {
            
            background: linear-gradient(135deg, #01b903 0%, #01b903 100%);
            animation-delay: 0s;
        }
        
        .floating-btn:nth-child(2) {
            background: linear-gradient(135deg, #2c5aa0 0%, #4a78c8 100%);
            animation-delay: 0.2s;
        }
        
        
        .floating-btn:hover {
            transform: scale(1.1) !important;
            animation: none;
        }
        
        .btn-tooltip {
            position: absolute;
            right: 80px;
            background: rgba(0, 0, 0, 0.85);
            color: white;
            padding: 8px 14px;
            border-radius: 24px;
            font-size: 0.9rem;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transform: translateX(10px);
            transition: all 0.3s;
        }
        
        .floating-btn:hover .btn-tooltip {
            opacity: 1;
            transform: translateX(0);
        }
        
        @keyframes float {
            0% {
                transform: translateY(0px);
                box-shadow: 0 10px 15px rgba(0,0,0,0.2);
            }
            50% {
                transform: translateY(-12px);
                box-shadow: 0 15px 20px rgba(0,0,0,0.25);
            }
            100% {
                transform: translateY(0px);
                box-shadow: 0 10px 15px rgba(0,0,0,0.2);
            }
        }
        
        @media (max-width: 768px) {
            .page-header {
                padding: 30px 20px 15px;
            }
            
            .main-title {
                font-size: 2.2rem;
            }
            
            .article-info {
                gap: 15px;
            }
            
            .content-section {
                padding: 30px 15px;
            }
            
            .floating-button-container {
                right: 20px;
                bottom: 20px;
                top: auto;
            }
            
            .floating-btn {
                width: 55px;
                height: 55px;
                font-size: 1.3rem;
            }
        }
        
        @media (max-width: 480px) {
            .main-title {
                font-size: 1.8rem;
            }
            
            .page-subtitle {
                font-size: 1rem;
            }
            
            .info-item {
                padding: 6px 15px;
                font-size: 0.85rem;
            }
            
            .section-title {
                font-size: 1.6rem;
            }
            
            .comments-section, .comment-form {
                padding: 20px;
            }
        }
        

        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 16px 25px;
            background: rgba(76, 175, 80, 0.9);
            color: white;
            border-radius: 8px;
            box-shadow: 0 6px 15px rgba(0,0,0,0.2);
            z-index: 2000;
            opacity: 0;
            transform: translateY(-20px);
            transition: all 0.4s;
            max-width: 350px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .notification.show {
            opacity: 1;
            transform: translateY(0);
        }
        
        .notification.error {
            background: rgba(244, 67, 54, 0.9);
        }

.comments-section {
    margin: 40px 0;
    padding: 0;
    background-color: #fafafa;
    border-radius: 12px;
    overflow: hidden;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px 12px;
    background-color: white;
    border-bottom: 1px solid #f0f0f0;
}

.comments-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.comments-sort {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sort-option {
    font-size: 14px;
    color: #8a8a8a;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 16px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.sort-option.active {
    color: #007aff;
    background-color: #e3f2fd;
}

.sort-option:hover:not(.active) {
    color: #007aff;
    background-color: #f5f5f5;
}

.sort-more {
    font-size: 18px;
    color: #c0c0c0;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s;
}

.sort-more:hover {
    color: #8a8a8a;
}

.comment-thread {
    padding: 0;
    background-color: white;
}

.comment-item {
    display: flex;
    padding: 16px 20px;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.2s;
}

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

.comment-item:hover {
    background-color: #fafafa;
}

.comment-item.reply {
    margin-left: 48px;
    border-left: none;
    padding-left: 0;
    background-color: white;
    border-bottom: 1px solid #f5f5f5;
    padding-top: 12px;
    padding-bottom: 12px;
}

.comment-item.reply:hover {
    background-color: #fafafa;
}

.comment-avatar {
    position: relative;
    margin-right: 12px;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #e0e0e0;
}

.avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 1px solid #e0e0e0;
}

.author-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #007aff;
    color: white;
    font-size: 8px;
    padding: 2px 5px;
    border-radius: 6px;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0, 122, 255, 0.3);
}

.comment-content {
    flex: 1;
    min-width: 0;
}

.comment-user {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.comment-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 8px;
    word-wrap: break-word;
    font-weight: 400;
}

.comment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #8a8a8a;
}

.comment-meta-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.comment-date {
    color: #8a8a8a;
    font-weight: 400;
}

.comment-reply {
    color: #007aff;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.2s;
}

.comment-reply:hover {
    color: #0056b3;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #8a8a8a;
    transition: all 0.2s;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.action-item:hover {
    color: #007aff;
    background-color: #f0f8ff;
}

.comment-stickers {
    margin-top: 12px;
    display: flex;
    gap: 12px;
    padding: 8px 0;
}

.sticker {
    font-size: 28px;
    cursor: pointer;
    transition: all 0.2s;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.sticker:hover {
    transform: scale(1.15) translateY(-2px);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}
