/*
Theme Name: 天津POS机办理中心
Theme URI: 
Author: 
Author URI: 
Description: 天津POS机办理中心企业官网主题
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tjpos
*/

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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f5f5f5;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.header-top {
    height: 4px;
    background: #ff6600;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.logo i {
    margin-right: 8px;
    font-size: 24px;
    color: #ff6600;
}

.nav,
.nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.nav a:hover {
    color: #ff6600;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: #333;
    font-size: 24px;
    cursor: pointer;
}

.banner {
    margin-top: 70px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f0fe 0%, #c8d6e5 100%);
}

.page-header {
    background: #fff;
    padding: 60px 0 20px;
    margin-top: 70px;
    border-bottom: 1px solid #eee;
}

.page-header h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #ff6600;
}

.products-page {
    padding: 60px 0;
    background: #fff;
}

.products-features {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.feature-item i {
    font-size: 36px;
    color: #ff6600;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: #333;
    margin-bottom: 10px;
}

.feature-item p {
    color: #666;
    font-size: 14px;
}

.banner-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 20px;
}

.slide-content {
    flex: 1;
    padding-right: 40px;
}

.slide-content h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #1a73e8;
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 25px;
    color: #666;
}

.slide-image {
    flex: 1;
    text-align: center;
}

.slide-image img {
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.banner-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(26, 115, 232, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: #1a73e8;
    width: 30px;
    border-radius: 6px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #f57c00 0%, #e65100 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(245, 124, 0, 0.4);
}

.btn-secondary {
    background: #fff;
    color: #1a73e8;
    border: 2px solid #1a73e8;
}

.btn-secondary:hover {
    background: #1a73e8;
    color: #fff;
}

.section-title {
    font-size: 28px;
    color: #1a73e8;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid #f57c00;
    display: inline-block;
}

.products {
    padding: 60px 0;
    background: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    padding: 20px 20px 10px;
    color: #1a73e8;
    font-size: 20px;
}

.product-card p {
    padding: 0 20px;
    color: #666;
    margin-bottom: 15px;
}

.product-tags {
    padding: 0 20px;
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    background: #e8f0fe;
    color: #1a73e8;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
}

.product-card .btn {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
    text-align: center;
}

.about {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.about-content .btn {
    margin-top: 20px;
}

.news {
    padding: 60px 0;
    background: #fff;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    transition: background 0.3s;
    cursor: pointer;
}

.news-item:hover {
    background: #e8f0fe;
}

.news-date {
    background: #1a73e8;
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    min-width: 100px;
    text-align: center;
    margin-right: 20px;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    color: #1a73e8;
    margin-bottom: 5px;
}

.news-content p {
    color: #666;
    font-size: 14px;
}

.news-link {
    color: #f57c00;
    font-weight: bold;
    text-decoration: none;
    margin-left: 20px;
}

.sidebar {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.sidebar-contact {
    margin-bottom: 30px;
}

.sidebar-contact h3 {
    color: #1a73e8;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f57c00;
}

.sidebar-contact ul {
    list-style: none;
}

.sidebar-contact ul li {
    margin-bottom: 10px;
}

.sidebar-contact ul li a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.sidebar-contact ul li a:hover {
    color: #1a73e8;
}

.contact {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: #fff;
}

.contact .section-title {
    color: #fff;
    border-bottom-color: #fff;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    font-size: 32px;
    color: #ffcc00;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 16px;
    opacity: 0.9;
}

.footer {
    background: #333;
    color: #fff;
    padding: 30px 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffcc00;
}

.footer-info {
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 13px;
    color: #666;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    padding: 30px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #1a73e8;
}

.modal-body h2 {
    color: #1a73e8;
    margin-bottom: 20px;
}

.modal-body p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.modal-body img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .slide {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .slide-content {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .slide-content h1 {
        font-size: 28px;
    }

    .slide-image img {
        max-width: 100%;
    }

    .news-item {
        flex-direction: column;
        text-align: center;
    }

    .news-date {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .news-link {
        margin-left: 0;
        margin-top: 10px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}