/* ========================================
   Responsive Styles - 响应式样式
   ======================================== */

/* Main Layout - 主布局 */
main {
    padding-top: 0px;
}

/* Mobile and Tablet (小于992px) */
@media (max-width: 991.98px) {
    main {
        padding-top: 30px;
    }

    .inquiry-form {
        padding: 15px;
        margin: 15px;
    }
}

/* Small Mobile (小于576px) */
@media (max-width: 575.98px) {
    /* .fv-wrap 样式已移至 personal-page.css */

    .inquiry-form {
        padding: 10px;
    }

    footer {
        padding: 20px 0 !important;
        margin-top: 30px !important;
    }

    footer h5 {
        font-size: 16px !important;
    }

    footer p, footer a {
        font-size: 14px !important;
    }
}

/* Header Responsive - Header响应式 */
@media (max-width: 767px) {
    header {
        width: 100%;
        padding: 0 2%;
        height: auto;
    }

    header .header-inner {
        display: flex;
        width: 100%;
    }

    .vlogo {
        width: 100%;
    }

    .payment {
        margin: 5px 0 0;
        width: 170px;
        font-size: 11px;
    }

    header .header-logo {
        width: 100%;
    }

    header .header-logo img {
        max-width: 80%;
        max-height: 80%;
        margin: 0 auto;
    }
}

/* Payment Block Mobile - 支付方式区块移动端优化 */
@media (max-width: 767px) {
    .block.payment .inner p {
        letter-spacing: 0 !important;
        word-break: keep-all !important;
        white-space: normal !important;
        line-height: 1.8 !important;
    }

    .block.payment .inner h2 {
        font-size: 1.6rem !important;
        letter-spacing: 0.1rem !important;
    }
}

/* Language Button Mobile - 移动端语言按钮 */
@media (max-width: 991px) {
    #langDropdown {
        min-width: auto !important;
        padding: 4px 8px !important;
        font-size: 12px !important;
    }
}

/* Tablet Optimization (1024px左右屏幕) */
@media (max-width: 1200px) and (min-width: 992px) {
    .d-flex.align-items-center.gap-5.me-auto {
        gap: 2rem !important;
    }

    .d-flex.align-items-center[style*="gap: 60px"] {
        gap: 30px !important;
    }

    .d-flex.align-items-center.gap-5:last-child {
        gap: 1rem !important;
    }

    #langDropdown {
        font-size: 10px !important;
        padding: 3px 6px !important;
    }

    .d-flex.align-items-center.gap-5 span {
        font-size: 10px !important;
        width: 120px !important;
    }

    .btn[href*="tel"] {
        font-size: 12px !important;
        padding: 4px 8px !important;
    }
}

/* Back to Top Button - 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #4a4a9e;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #3a3a7e;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.back-to-top:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

/* Hamburger Menu - 汉堡菜单 */
.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.hamburger-btn:hover {
    opacity: 0.7;
}

.hamburger-btn.active {
    transform: rotate(90deg);
}

/* Mobile Menu - 移动端菜单 */
@media (max-width: 991.98px) {
    .navbar-toggler-icon {
        font-size: 18px;
        font-weight: bold;
    }

    #mobileMenu {
        background-color: #f8f9fa;
    }
}

