/* 响应式设计 */

/* 大屏幕设备 (大于1200px) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px; /* 增加容器最大宽度 */
        padding: 0 30px; /* 增加内边距 */
    }
    
    /* 在大屏幕上使内容占据更多空间 */
    .about-text {
        max-width: 98%;
    }
    
    .about-text p {
        font-size: 1.35rem;
        letter-spacing: 0.25px;
    }
    
    .quote {
        font-size: 1.7rem; /* 大屏幕下进一步增大引用字体 */
    }
    
    .quote-container {
        max-width: 92%;
    }
    
    .gallery-item {
        height: 260px; /* 大屏幕下增加图片高度 */
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

/* 中等屏幕设备 (992px-1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 1140px;
        padding: 0 25px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .product-row, .service-row {
        flex-wrap: wrap;
    }
    
    .service-card {
        flex: 0 0 calc(50% - 15px);
        margin-bottom: 30px;
    }
    
    /* 关于固皇响应式 */
    .section-title {
        font-size: 2rem; /* 调整标题大小 */
    }
    
    .about-text p {
        font-size: 1.3rem; /* 调整文本大小 */
        letter-spacing: 0.2px;
    }
    
    .showcase-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .showcase-main {
        height: 380px; /* 调整主图高度 */
    }
    
    .gallery-item {
        height: 240px;
    }
    
    .quote {
        font-size: 1.5rem;
    }
    
    .about-main, .image-showcase {
        padding: 35px;
        width: 95%;
    }
    
    .quote-section {
        width: 95%;
    }
    
    /* 生产设备和产品展示响应式 */
    .equipment-main-img {
        height: 350px;
    }
    
    .equipment-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .equipment-item img {
        height: 220px;
    }
    
    .equipment-info h3 {
        font-size: 1.6rem;
    }
    
    .equipment-info p,
    .product-info p,
    .section-desc {
        font-size: 1.1rem;
    }
    
    .product-img {
        height: 220px;
    }
}

/* 平板设备 (768px-991px) */
@media (max-width: 991px) {
    .container {
        max-width: 860px;
        padding: 0 20px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .product-card {
        flex: 0 0 calc(50% - 15px);
        margin-bottom: 30px;
    }
    
    .footer-content {
        flex-wrap: wrap;
    }
    
    .footer-column {
        flex: 0 0 50%;
        margin-bottom: 30px;
    }
    
    /* 关于固皇响应式 */
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-text {
        max-width: 100%;
    }
    
    .about-text p {
        font-size: 1.25rem;
        letter-spacing: 0.2px;
    }
    
    .quote-container {
        max-width: 95%;
    }
    
    .quote {
        font-size: 1.4rem;
    }
    
    .slogan-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .slogan-nav {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-main, .image-showcase {
        padding: 30px;
        width: 100%;
    }
    
    .quote-section {
        width: 100%;
        margin: 40px 0;
    }
    
    .showcase-main {
        height: 350px;
    }
    
    .gallery-item {
        height: 220px;
    }
    
    /* 生产设备和产品展示响应式 */
    .equipment-main-img {
        height: 320px;
    }
    
    .equipment-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .equipment-item img {
        height: 200px;
    }
    
    .product-row {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .product-item {
        flex: 0 0 calc(50% - 10px);
    }
    
    .product-img {
        height: 200px;
    }
    
    .section-desc {
        font-size: 1.05rem;
    }
}

/* 手机设备 (小于768px) */
@media (max-width: 767px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .nav {
        flex-direction: column;
    }
    
    .nav-menu {
        margin-top: 15px;
        width: 100%;
        justify-content: space-between;
    }
    
    .nav-menu li {
        margin-left: 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .product-card, .service-card {
        flex: 0 0 100%;
    }
    
    .product-row, .service-row {
        gap: 20px;
    }
    
    .footer-column {
        flex: 0 0 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 15px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
    
    /* 关于固皇响应式 */
    .section-title {
        font-size: 1.7rem;
    }
    
    .about-text {
        max-width: 100%;
    }
    
    .about-text p {
        font-size: 1.15rem;
    }
    
    .showcase-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .showcase-main {
        height: 280px;
    }
    
    .gallery-item {
        height: 180px;
    }
    
    .quote {
        font-size: 1.3rem;
    }
    
    .quote-section {
        padding: 25px 0;
        margin: 30px 0;
    }
    
    .about-main, .image-showcase {
        padding: 25px;
        margin: 0;
        width: 100%;
    }
    
    /* 生产设备和产品展示响应式 */
    .equipment-main-img {
        height: 280px;
    }
    
    .equipment-gallery {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
    
    .equipment-item {
        margin-bottom: 10px;
    }
    
    .equipment-item img {
        height: 220px;
    }
    
    .equipment-info h3 {
        font-size: 1.4rem;
    }
    
    .equipment-info p,
    .product-info p,
    .section-desc {
        font-size: 1rem;
    }
    
    .product-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .product-item {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .product-img {
        height: 220px;
    }
    
    .product-info h3 {
        font-size: 1.3rem;
    }
}

/* 小型手机设备 (小于576px) */
@media (max-width: 575px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    .section-nav .nav-menu {
        flex-wrap: wrap;
    }
    
    .section-nav .nav-menu li {
        margin-bottom: 10px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .products, .company-intro, .future, .platform, .about-section {
        padding: 30px 0;
    }
    
    .company-intro h2, .future h2, .platform h2, .section-title {
        font-size: 1.6rem;
    }
    
    /* 关于固皇响应式 */
    .about-text p {
        font-size: 1.05rem;
        text-align: left;
        line-height: 1.7;
        letter-spacing: 0.15px;
    }
    
    .about-main, .image-showcase {
        padding: 20px;
        margin: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        width: 100%;
        border-radius: 8px;
    }
    
    .showcase-main {
        height: 250px;
        margin-bottom: 20px;
        border-radius: 8px;
    }
    
    .showcase-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-item {
        height: 220px;
        margin-bottom: 15px;
        border-radius: 8px;
    }
    
    .slogan {
        padding: 10px 0;
    }
    
    .slogan-text {
        font-size: 1.2rem;
    }
    
    .slogan-nav-item {
        font-size: 0.9rem;
        padding: 4px 8px;
    }
    
    .quote-section {
        padding: 20px;
        margin: 25px 0;
        border-radius: 8px;
        width: 100%;
    }
    
    .quote-section::after {
        font-size: 80px;
        right: 10px;
        top: -10px;
    }
    
    .quote-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .quote-bar {
        width: 50px;
        height: 5px;
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .quote {
        font-size: 1.2rem;
        letter-spacing: 0.3px;
    }
    
    .gallery-item:hover {
        transform: none; /* 在移动设备上禁用悬停效果 */
    }
    
    .gallery-item:hover img,
    .showcase-main:hover .main-image {
        transform: none; /* 在移动设备上禁用图片放大效果 */
    }
    
    /* 生产设备和产品展示响应式 */
    .equipment-main-img {
        height: 240px;
    }
    
    .equipment-gallery {
        grid-template-columns: 1fr;
    }
    
    .equipment-item img {
        height: 200px;
    }
    
    .equipment-caption {
        font-size: 1rem;
        padding: 8px;
    }
    
    .product-info h3 {
        font-size: 1.2rem;
    }
    
    .product-info p,
    .equipment-info p,
    .section-desc {
        font-size: 0.95rem;
    }
    
    .product-more .btn {
        width: 100%;
        padding: 10px;
    }
}
