/* Generators Page Specific Styles */

/* Generators Hero Section */
.generators-hero {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a4b8d 100%);
    color: white;
    margin-top: 80px;
}

.generators-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.generators-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.generators-hero-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.generators-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Generators Products Section */
.generators-products {
    padding: 5rem 0;
    background: white;
}

.generators-products h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.generators-products h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--secondary-color);
}

.category-section {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.category-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 800px;
}

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

.product-card {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

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

.product-image {
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-info h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.product-info p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-specs span {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.product-specs i {
    margin-right: 0.5rem;
    color: var(--primary-color);
    width: 16px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-features span {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Generators Brands Section */
.generators-brands {
    padding: 4rem 0;
    background: #f8f9fa;
    text-align: center;
}

.generators-brands h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.brand-logo {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo:hover {
    transform: scale(1.05);
}

.brand-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button.primary {
    background: var(--secondary-color);
    color: white;
}

.cta-button.primary:hover {
    background: transparent;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    border-color: white;
    color: white;
}

.cta-button.secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .generators-hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .generators-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .generators-hero-image img {
        height: 300px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .generators-products h2 {
        font-size: 2rem;
    }
    
    .category-title {
        font-size: 1.8rem;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .generators-hero {
        padding: 80px 0;
        margin-top: 70px;
    }
    
    .generators-hero-content h1 {
        font-size: 2rem;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .brand-logo {
        height: 100px;
        padding: 1.5rem;
    }
    
    .product-features {
        justify-content: center;
    }
}