/* Products Page Specific Styles */

.products-hero {
    height: 60vh;
    min-height: 400px;
}

.products-hero .hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    margin-top: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease 0.4s backwards;
}

/* Products Section */
.products-section {
    padding: 100px 0;
    background: #ffffff;
}

.section-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.section-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-top: 20px;
}

/* Product Category */
.product-category {
    margin-bottom: 100px;
}

.product-category:last-child {
    margin-bottom: 0;
}

.category-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(62, 128, 66, 0.1);
}

.category-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    font-weight: 800;
    background-image: linear-gradient(to right, #3E8042, #8CF557);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-header p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Products Grid Large */
.products-grid-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card-large {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.product-card-large:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(62, 128, 66, 0.2);
    border-color: var(--primary-green);
}

.product-image-large {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.product-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card-large:hover .product-image-large img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card-large:hover .product-overlay {
    opacity: 1;
}

.overlay-btn {
    padding: 12px 35px;
    background: linear-gradient(135deg, #3E8042, #8CF557);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(62, 128, 66, 0.4);
    transform: translateY(20px);
}

.product-card-large:hover .overlay-btn {
    transform: translateY(0);
}

.overlay-btn:hover {
    background: linear-gradient(135deg, #8CF557, #3E8042);
    transform: scale(1.05) translateY(0);
}

.product-info-large {
    padding: 25px;
}

.product-info-large h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 10px;
    font-weight: 700;
}

.product-info-large p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, #1a3d0f 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::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.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.3;
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-block;
    padding: 18px 45px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-btn-primary {
    background: white;
    color: var(--primary-green);
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
    background: #f8f9fa;
}

.cta-btn-secondary {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
}

.cta-btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(135deg, #3E8042, #8CF557, #3E8042);
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: gradientShift 3s ease infinite;
    z-index: -1;
}

.cta-btn-secondary span {
    background-image: linear-gradient(to right, #3E8042, #8CF557, #3E8042, #8CF557, #3E8042);
    background-size: 300% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientAnimation 8s linear infinite;
}

.cta-btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(140, 245, 87, 0.4);
    background: rgba(140, 245, 87, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .products-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-hero {
        height: 50vh;
        min-height: 350px;
    }

    .products-section {
        padding: 60px 0;
    }

    .section-intro {
        margin-bottom: 50px;
    }

    .product-category {
        margin-bottom: 60px;
    }

    .category-header {
        margin-bottom: 35px;
    }

    .category-header h3 {
        font-size: 1.8rem;
    }

    .products-grid-large {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-image-large {
        height: 280px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .products-hero .hero-subtitle {
        font-size: 1rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .category-header h3 {
        font-size: 1.5rem;
    }

    .category-header p {
        font-size: 0.95rem;
    }

    .product-image-large {
        height: 220px;
    }

    .product-info-large {
        padding: 20px;
    }

    .product-info-large h4 {
        font-size: 1.1rem;
    }

    .product-info-large p {
        font-size: 0.9rem;
    }

    .cta-content h2 {
        font-size: 1.6rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}
