/* Product Simple Page - Mobile Responsive Styles */
/* 移动端响应式样式 - 768px以下设备 */

@media screen and (max-width: 768px) {
    /* Hero Section 移动端优化 */
    .product-simple-hero {
        padding: 60px 0 40px;
        min-height: auto;
    }
    
    .product-simple-hero .container {
        padding: 0 15px;
    }
    
    /* 移动端标题样式 */
    .product-simple-hero h1 {
        font-size: 24px !important;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .product-simple-hero .hero-subtitle {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    /* 移动端导航按钮布局 */
    .hero-nav-buttons {
        margin: 20px 0;
    }
    
    /* 网格布局（2列） */
    .hero-nav-buttons.mobile-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .hero-nav-buttons.mobile-grid .nav-btn {
        margin: 0;
        padding: 10px 5px;
        font-size: 12px;
        text-align: center;
    }
    
    /* 垂直布局（单列） */
    .hero-nav-buttons.mobile-vertical {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-nav-buttons.mobile-vertical .nav-btn {
        width: 100%;
        margin: 0;
        padding: 12px 15px;
    }
    
    /* 下拉菜单布局 */
    .hero-nav-dropdown {
        position: relative;
        margin: 20px 0;
    }
    
    .hero-nav-dropdown-toggle {
        width: 100%;
        padding: 12px 15px;
        background: var(--nav-btn-bg, #0fa3d1);
        color: var(--nav-btn-text, #ffffff);
        border: none;
        border-radius: 5px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 14px;
    }
    
    .hero-nav-dropdown-toggle:after {
        content: '▼';
        font-size: 10px;
        margin-left: 10px;
    }
    
    .hero-nav-dropdown-toggle.active:after {
        content: '▲';
    }
    
    .hero-nav-dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border: 1px solid #ddd;
        border-radius: 5px;
        margin-top: 5px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 100;
    }
    
    .hero-nav-dropdown-menu.show {
        display: block;
    }
    
    .hero-nav-dropdown-menu .nav-btn {
        display: block;
        width: 100%;
        padding: 12px 15px;
        text-align: left;
        border: none;
        border-bottom: 1px solid #eee;
        background: white;
        color: #333;
        text-decoration: none;
        transition: background 0.3s;
    }
    
    .hero-nav-dropdown-menu .nav-btn:last-child {
        border-bottom: none;
    }
    
    .hero-nav-dropdown-menu .nav-btn:hover {
        background: #f5f5f5;
    }
    
    /* 产品图片移动端优化 */
    .hero-product-image {
        margin-top: 30px;
        max-width: 100%;
    }
    
    .hero-product-image img {
        width: 100%;
        height: auto;
        max-width: 400px;
        margin: 0 auto;
        display: block;
    }
    
    /* 内容区域移动端优化 */
    .product-content-section {
        padding: 40px 0;
    }
    
    .product-content-section h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .product-content-section h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    /* 视频区域移动端优化 */
    .video-section .video-wrapper {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
    }
    
    .video-section .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    /* What We Do 区域移动端优化 */
    .whatwedo-section .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .whatwedo-section .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    /* 规格参数表格移动端优化 */
    .specifications-section table {
        font-size: 12px;
    }
    
    .specifications-section table td,
    .specifications-section table th {
        padding: 8px 5px;
    }
    
    /* 配件列表移动端优化 */
    .accessories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .accessory-item {
        padding: 15px;
    }
    
    .accessory-item img {
        max-height: 150px;
    }
    
    /* FAQ 区域移动端优化 */
    .faq-item {
        margin-bottom: 15px;
    }
    
    .faq-question {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .faq-answer {
        font-size: 13px;
        padding: 10px 15px;
    }
    
    /* 移动端专用辅助类 */
    .mobile-only {
        display: block !important;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    /* 移动端文字大小调整 */
    .mobile-text-sm {
        font-size: 12px !important;
    }
    
    .mobile-text-md {
        font-size: 14px !important;
    }
    
    .mobile-text-lg {
        font-size: 16px !important;
    }
    
    /* 移动端间距调整 */
    .mobile-mt-20 {
        margin-top: 20px !important;
    }
    
    .mobile-mb-20 {
        margin-bottom: 20px !important;
    }
    
    .mobile-p-15 {
        padding: 15px !important;
    }
}

/* 平板设备优化 (768px - 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .product-simple-hero h1 {
        font-size: 32px;
    }
    
    .hero-nav-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .hero-nav-buttons .nav-btn {
        flex: 0 0 calc(33.333% - 10px);
    }
    
    .whatwedo-section .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .accessories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 小屏手机优化 (max-width: 480px) */
@media screen and (max-width: 480px) {
    .product-simple-hero h1 {
        font-size: 20px !important;
    }
    
    .hero-nav-buttons.mobile-grid {
        grid-template-columns: 1fr;
    }
    
    .whatwedo-section .image-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Video Section Styles */
.mobile-video-section {
    margin-top: -60px;
    padding: 30px 0 40px;
    position: relative;
    z-index: 5;
    background: transparent;
}

.mobile-video-section .video-wrapper {
    max-width: 90%;
    margin: 0 auto;
}

.mobile-video-section .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    background: #000;
}

.mobile-video-section .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.mobile-video-section p {
    color: #666;
    font-size: 14px;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Desktop/Mobile Display Control */
@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
    .desktop-only {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }
    .desktop-only {
        display: none !important;
    }
    
    /* Mobile-specific video adjustments */
    .mobile-video-section {
        padding: 30px 0;
    }
    
    .mobile-video-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .mobile-video-section .video-container {
        border-radius: 8px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    }
}

@media (max-width: 575px) {
    .mobile-video-section {
        padding: 25px 0;
    }
    
    .mobile-video-section h2 {
        font-size: 1.35rem;
    }
    
    .mobile-video-section .video-container {
        margin: 0 10px;
    }
}
