/* Products Page Specific Styles */

/* Products Hero Section */
.products-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="productsPattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23productsPattern)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    color: #f39c12;
    font-weight: 600;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-visual {
    animation: fadeInUp 1s ease-out 0.9s both;
}

.brands-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.brand-logo {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.brand-logo:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.brand-logo i {
    font-size: 2.5rem;
    color: #f39c12;
    margin-bottom: 0.5rem;
    display: block;
}

.brand-logo span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Goal Section */
.goal-section {
    padding: 5rem 0;
    background: white;
}

.goal-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.goal-content h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: 700;
}

.goal-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.goal-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Brands Showcase Section */
.brands-showcase {
    padding: 5rem 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.brand-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #f39c12);
}

.brand-card.akfix::before {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.brand-card.ahram::before {
    background: linear-gradient(90deg, #8e44ad, #9b59b6);
}

.brand-card.wings::before {
    background: linear-gradient(90deg, #7f8c8d, #95a5a6);
}

.brand-card.sabfix::before {
    background: linear-gradient(90deg, #27ae60, #2ecc71);
}

.brand-card.sabtools::before {
    background: linear-gradient(90deg, #f39c12, #e67e22);
}

.brand-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.brand-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    transition: transform 0.3s ease;
}

.brand-card:hover .brand-logo {
    transform: scale(1.1);
}

.brand-card.akfix .brand-logo {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.brand-card.ahram .brand-logo {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

.brand-card.wings .brand-logo {
    background: linear-gradient(135deg, #7f8c8d, #95a5a6);
}

.brand-card.sabfix .brand-logo {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.brand-card.sabtools .brand-logo {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.brand-logo i {
    font-size: 2.5rem;
}

.brand-header h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.brand-category {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.brand-description {
    padding: 1rem 2rem;
}

.brand-description p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

.brand-features {
    padding: 0 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.feature-item:hover {
    background: #e9ecef;
}

.feature-item i {
    color: #27ae60;
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.feature-item span {
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 500;
}

.brand-actions {
    padding: 1rem 2rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
    justify-content: center;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background: #f39c12;
    color: white;
}

.btn-secondary:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.3);
}

/* Product Grids Section */
.product-grids {
    padding: 5rem 0;
    background: white;
}

.product-section {
    margin-bottom: 4rem;
}

.product-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.product-section .section-header h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.product-section .section-header p {
    color: #666;
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #f39c12);
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.product-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.product-item:hover .product-image {
    transform: scale(1.1);
}

.product-image i {
    font-size: 2rem;
}

.product-item h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-item p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.price {
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-actions .btn-primary,
.cta-actions .btn-secondary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    min-width: 200px;
}

.cta-actions .btn-primary {
    background: #f39c12;
    border: 2px solid #f39c12;
}

.cta-actions .btn-primary:hover {
    background: transparent;
    color: #f39c12;
}

.cta-actions .btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-actions .btn-secondary:hover {
    background: white;
    color: #2c3e50;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .brands-preview {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .goal-features {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-actions {
        flex-direction: column;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn-primary,
    .cta-actions .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .brands-preview {
        grid-template-columns: 1fr;
    }
    
    .brand-logo {
        padding: 1rem;
    }
    
    .brand-logo i {
        font-size: 2rem;
    }
    
    .brand-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .brand-description {
        padding: 1rem 1.5rem;
    }
    
    .brand-features {
        padding: 0 1.5rem 1rem;
    }
    
    .brand-actions {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}
