/* Products Page Specific Styles */

/* Products Introduction */
.products-intro {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.products-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
}

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

.intro-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 0;
}

/* Product Details Section */
.product-details {
    padding: 100px 0;
    background: #ffffff;
}

.product-item {
    margin-bottom: 120px;
    position: relative;
}

.product-item:last-child {
    margin-bottom: 0;
}

.product-item::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2ecc71, transparent);
}

.product-item:last-child::after {
    display: none;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.product-grid.reverse {
    direction: rtl;
}

.product-grid.reverse > * {
    direction: ltr;
}

/* Product Images */
.product-images {
    position: relative;
}

.main-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.main-image:hover {
    transform: translateY(-5px);
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.image-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.image-thumbnails img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.image-thumbnails img:hover {
    border-color: #2ecc71;
    transform: scale(1.05);
}

/* Product Info */
.product-info h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.product-info h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #2ecc71;
}

.product-tagline {
    font-size: 1.25rem;
    color: #2ecc71;
    margin-bottom: 20px;
    font-weight: 500;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

/* Product Features */
.product-features {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.product-features h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    color: #555;
    font-size: 1.05rem;
}

.product-features li i {
    color: #2ecc71;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Product Specifications Table */
.product-specs {
    margin-bottom: 40px;
}

.product-specs h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.product-specs table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.product-specs td {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.product-specs td:first-child {
    font-weight: 600;
    color: #333;
    background: #f8f9fa;
    width: 40%;
}

.product-specs td:last-child {
    color: #666;
}

.product-specs tr:last-child td {
    border-bottom: none;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.product-actions .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Quality Section - Updated with softer colors */
.quality-section {
    background: linear-gradient(135deg, #f0f9f4 0%, #e8f5ed 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.quality-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.quality-section .section-title {
    color: #2c5f2d;
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.quality-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(46, 204, 113, 0.2);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.1);
}

.quality-item:hover {
    transform: translateY(-10px);
    border-color: rgba(46, 204, 113, 0.4);
    box-shadow: 0 20px 40px rgba(46, 204, 113, 0.15);
}

.quality-item i {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    color: #2ecc71;
}

.quality-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c5f2d;
}

.quality-item p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
}

/* Responsive Design */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-grid.reverse {
        direction: ltr;
    }
    
    .product-images {
        order: -1;
    }
}

@media (max-width: 768px) {
    .products-intro {
        padding: 60px 0;
    }
    
    .product-details {
        padding: 60px 0;
    }
    
    .product-item {
        margin-bottom: 80px;
    }
    
    .product-info h2 {
        font-size: 2rem;
    }
    
    .main-image img {
        height: 300px;
    }
    
    .image-thumbnails {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .quality-section {
        padding: 60px 0;
    }
    
    .quality-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}