

.travel-custom-section {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}


.header-container {
    margin-bottom: 40px;
    position: relative;
}

.main-title {
    font-size: 28px;
    color: #333;
    font-weight: bold;
}

.main-title span {
    color: #e63935;
}

.sub-title {
    font-size: 14px;
    color: #888;
    margin-top: 10px;
}

.more-btn {
    position: absolute;
    right: 0;
    top: 10px;
    font-size: 12px;
    color: #e63935;
    text-decoration: none;
    border: 1px solid #e63935;
    padding: 2px 8px;
    border-radius: 4px;
}

/* 高亮选中的景点卡片 */
.card-item.active {
    border: 3px solid #ff6b6b;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.5);
    transform: scale(1.02);
    transition: all 0.3s ease;
}

/* 错误消息样式 */
.error-message {
    color: #e74c3c;
    font-size: 12px;
    display: none;
    margin-top: 5px;
}

.error-message.show {
    display: block;
}

/* 提交按钮加载状态 */
.submit-button.loading {
    background-color: #ccc;
    cursor: not-allowed;
}

.cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}


.card-item {
    flex: 0 0 255px;
    height: 370px;
    background: #fff;
    position: relative;
    cursor: pointer;
    border: 4px solid transparent;
    transition: all 0.2s ease;
    border-radius: 4px;
    overflow: hidden;
}


.card-item.active {
    border-color: #f1433f;
    box-shadow: 0 0 10px rgba(241, 67, 63, 0.3);
}


.card-item.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 20px 20px;
    border-color: transparent transparent #f1433f transparent;
}

.image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-block-start-width: 4px;
    border-block-start-style: solid;
    border-block-start-color: #ff002d;
}


.top-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #f1433f;
    color: white;
    font-size: 12px;
    padding: 4px 10px;
    border-bottom-left-radius: 4px;
}


.city-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f1433f;
    color: white;
    padding: 6px 30px;
    border-radius: 4px;
    font-size: 16px;
    min-width: 120px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}


.image-wrapper::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(255,255,255,0.9), transparent);
}


@media (max-width: 600px) {
    .card-item {
        flex: 0 0 45%;
        height: auto;
        aspect-ratio: 255/370;
    }
    .header-container {
        padding: 0 40px;
    }
    .more-btn {
        position: static;
        display: inline-block;
        margin-top: 15px;
    }
}

.info-banner-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.banner-container {
    background: linear-gradient(90deg, #d32f2f, #f44336);
    padding: 30px 50px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.banner-text {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.6;
    max-width: 80%;
    text-align: left;
}

.contact-btn {
    background-color: #ffffff;
    color: #d32f2f;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
    transition: transform 0.2s;
}

.contact-btn:hover {
    transform: scale(1.05);
}


.form-info-section {
    max-width: 1400px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
}

.form-grid {
    display: flex;
    flex-wrap: wrap;
    min-height: 350px;
}

.form-column {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    color: white;
    text-align: left;
}


.column-red-light { background-color: #ef5350; }
.column-blue { background-color: #0288d1; }
.column-red-dark { background-color: #e53935; }

.column-inner {
    height: 100%;
}

.column-title {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 500;
}

.title-underline {
    width: 50px;
    height: 3px;
    background: rgba(255,255,255,0.6);
    margin-bottom: 25px;
    position: relative;
}

.title-underline::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    width: 30px;
    height: 2px;
    background: rgba(255,255,255,0.4);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 12px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.custom-input, .custom-input-blue, .custom-textarea {
    width: 100%;
    border: none;
    border-radius: 4px;
    padding: 12px;
    outline: none;
}


.custom-input { background-color: #ffcdd2; }
.custom-input-blue { background-color: #b3e5fc; }
.custom-textarea {
    background-color: #ffcdd2;
    height: 100px;
    resize: none;
}

.form-desc {
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.4;
    opacity: 0.9;
}


@media (max-width: 992px) {
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    .banner-text {
        max-width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
    .form-column {
        flex: 0 0 100%;
    }
}

.contact-info-section {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 40px;
    background-color: #f9f9f9;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    padding: 40px 0;
}


.contact-form-wrapper {
    flex: 1;
    text-align: left;
}

.contact-title-area {
    margin-bottom: 30px;
}

.en-title {
    font-size: 24px;
    color: #333;
    font-weight: bold;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.en-title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #e53935;
}

.cn-title {
    font-size: 22px;
    color: #333;
    margin-top: 10px;
    font-weight: normal;
}

.input-item {
    margin-bottom: 20px;
    max-width: 600px;
}

.input-item label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.required {
    color: #e53935;
    margin-right: 4px;
}

.field-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    outline: none;
    transition: border-color 0.3s;
}

.field-input:focus {
    border-color: #e53935;
}

.submit-button {
    background-color: #e53935;
    color: white;
    border: none;
    padding: 12px 35px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.submit-button:hover {
    background-color: #c62828;
}


.contact-image-wrapper {
    flex: 1;
    position: relative;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.red-bg-block {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 280px;
    height: 280px;
    background-color: #e53935;
    z-index: 1;

}

.image-main-box {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    top: -20px;
    left: -20px;
}

.image-main-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }

    .contact-image-wrapper {
        width: 100%;
        min-height: 400px;
    }

    .image-main-box {
        left: 0;
        top: 0;
    }

    .red-bg-block {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .contact-info-section {
        padding: 0 20px;
    }

    .submit-button {
        width: 100%;
    }
}