/* Products Page Styles */

.page-header {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.page-header h2 {
    font-size: 28px;
    color: var(--gold);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 16px;
    opacity: 0.9;
}

.product-section {
    padding: 60px 0;
}

.rugged-section {
    background-color: var(--light-gray);
}

.product-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 26px;
    color: var(--dark-blue);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-blue);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background-color: white;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 25px rgba(0,102,204,0.2);
    transform: translateY(-8px);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--light-gray);
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.15);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-red);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-info {
    padding: 20px;
}

.product-info h4 {
    color: var(--dark-blue);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.product-name-cn {
    color: var(--primary-red);
    font-size: 13px;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-specs {
    list-style: none;
    margin-bottom: 15px;
}

.product-specs li {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
    padding-left: 5px;
}

.product-actions {
    display: flex;
    gap: 8px;
}

.btn-view, .btn-inquiry {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-view {
    background-color: var(--primary-blue);
    color: white;
}

.btn-view:hover {
    background-color: var(--dark-blue);
}

.btn-inquiry {
    background-color: white;
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-inquiry:hover {
    background-color: var(--primary-red);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .page-header h2 {
        font-size: 22px;
    }

    .category-title {
        font-size: 22px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
