/* Products Page Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--bg-white);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-header .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.5rem;
    opacity: 0.95;
    font-weight: 300;
}

/* Product Category Section */
.product-category {
    padding: 5rem 0;
}

.product-category:nth-child(even) {
    background: var(--bg-light);
}

.minerals-section {
    background: var(--bg-light);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--primary-color);
}

.category-icon {
    font-size: 4rem;
}

.category-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.category-header p {
    color: var(--text-light);
    font-size: 1.2rem;
}

/* Products List */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.product-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-item-image {
    height: 100%;
    min-height: 250px;
    background-size: cover;
    background-position: center;
}

/* When using actual images instead of gradient backgrounds */
.product-item img.product-item-image {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    display: block;
}

/* Agriculture Product Images */
.agri-1 {
    background: linear-gradient(135deg, #f4e4c1 0%, #d4a574 100%);
}

.agri-2 {
    background: linear-gradient(135deg, #8bc34a 0%, #689f38 100%);
}

.agri-3 {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.agri-4 {
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
}

.agri-5 {
    background: linear-gradient(135deg, #795548 0%, #5d4037 100%);
}

.agri-6 {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
}

/* Mineral Product Images */
.mineral-1 {
    background: linear-gradient(135deg, #9e9e9e 0%, #616161 100%);
}

.mineral-2 {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
}

.mineral-3 {
    background: linear-gradient(135deg, #ff5722 0%, #d84315 100%);
}

.mineral-4 {
    background: linear-gradient(135deg, #607d8b 0%, #455a64 100%);
}

.mineral-5 {
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
}

.mineral-6 {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
}

.product-item-content {
    padding: 2rem;
}

.product-item-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.product-item-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.product-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-features li {
    color: var(--text-light);
    font-size: 1rem;
}

.coming-soon-text {
    margin-top: 1.5rem;
    font-style: italic;
    color: var(--primary-color);
    font-weight: 600;
    text-align: center;
    padding-top: 1rem;
    border-top: 2px dashed var(--border-color);
}

/* Quality Assurance Section */
.quality-assurance {
    padding: 5rem 0;
    background: var(--bg-white);
}

.qa-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.qa-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.qa-content > p {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    line-height: 1.8;
}

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

.qa-feature {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    transition: var(--transition);
}

.qa-feature:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.qa-feature h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.qa-feature p {
    color: var(--text-light);
    line-height: 1.8;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: var(--bg-light);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .product-item {
        grid-template-columns: 250px 1fr;
    }

    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1.2rem;
    }

    .category-header h2 {
        font-size: 2rem;
    }

    .product-item {
        grid-template-columns: 1fr;
    }

    .product-item-image {
        min-height: 200px;
    }

    .qa-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .qa-features {
        grid-template-columns: 1fr;
    }

    .product-item-content h3 {
        font-size: 1.5rem;
    }
}

