/* 
 * InfoPixal Home Page Premium Styles 
 */

:root {
    --primary: #f24b26; /* Deep orange/red */
    --primary-dark: #cc3919;
    --dark: #1b1b1b;
    --darker: #111111;
    --gray-light: #f8f9fa;
    --text-main: #333333;
    --text-muted: #6c757d;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    color: var(--text-main);
}

.infopixal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary) !important; }
.bg-dark { background-color: var(--dark) !important; color: #fff; }
.bg-white { background-color: #fff !important; }

.section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 40px;
    color: var(--dark);
}
.bg-dark .section-title { color: #fff; }

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}
.btn-primary {
    background-color: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}
.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover {
    background-color: #fff;
    color: var(--dark);
}
.arrow { margin-left: 8px; transition: margin-left 0.3s; }
.btn-primary:hover .arrow { margin-left: 12px; }

/* 1. Hero Section */
.infopixal-hero {
    position: relative;
    padding: 150px 0 100px;
    background-size: cover;
    background-position: center;
    color: #fff;
}
.infopixal-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(17,17,17,0.9) 0%, rgba(17,17,17,0.4) 100%);
}
.infopixal-hero .infopixal-container { position: relative; z-index: 2; }
.hero-content { max-width: 650px; margin-bottom: 80px; }
.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 40px;
    line-height: 1.6;
}
.hero-buttons { display: flex; gap: 15px; }

.hero-stats {
    display: flex;
    justify-content: space-between;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 30px;
}
.stat-item { display: flex; align-items: center; gap: 15px; }
.stat-icon img { width: 40px; height: 40px; object-fit: contain; }
.stat-text h4 { font-size: 1.8rem; font-weight: 800; margin: 0; color: #fff; }
.stat-text p { font-size: 0.85rem; color: #aaa; margin: 0; text-transform: uppercase; letter-spacing: 1px; }

/* 2. About Section */
.infopixal-about { padding: 100px 0; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.about-images { position: relative; }
.about-images .img-main img { width: 100%; border-radius: 8px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.about-images .img-small { position: absolute; border: 8px solid #fff; border-radius: 8px; width: 40%; box-shadow: 0 15px 30px rgba(0,0,0,0.15); }
.about-images .top-right { top: -30px; right: -30px; }
.about-images .bottom-right { bottom: -30px; right: -30px; }
.about-desc { font-size: 1.1rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 30px; }
.about-logo { position: absolute; right: 0; top: 0; opacity: 0.1; width: 300px; pointer-events: none; }

/* 3. Product Categories */
.infopixal-categories { padding: 100px 0; background: var(--gray-light); }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-top: 50px; }
.category-card { background: #fff; padding: 40px 20px; border-radius: 8px; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.03); transition: transform 0.3s, box-shadow 0.3s; }
.category-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.cat-icon { height: 80px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; }
.cat-icon img { max-height: 100%; max-width: 80px; }
.category-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; color: var(--dark); }
.cat-btn { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); text-decoration: none; text-transform: uppercase; transition: color 0.3s; }
.category-card:hover .cat-btn { color: var(--primary); }

/* 4. Featured Products */
.infopixal-featured-products { padding: 100px 0; background: #fff; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; margin-top: 50px; }
.product-card { border: 1px solid var(--border-color); border-radius: 8px; padding: 30px; text-align: center; transition: all 0.3s; }
.product-card:hover { border-color: var(--primary); box-shadow: 0 10px 30px rgba(242, 75, 38, 0.1); }
.prod-img { height: 180px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; }
.prod-img img { max-height: 100%; max-width: 100%; object-fit: contain; transition: transform 0.3s; }
.product-card:hover .prod-img img { transform: scale(1.05); }
.product-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; color: var(--dark); }
.prod-btn { display: inline-block; color: var(--primary); font-weight: 700; font-size: 0.85rem; text-decoration: none; text-transform: uppercase; }

/* 5. Industries We Serve */
.infopixal-industries { padding: 100px 0; }
.industries-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 50px; }
.industry-item { text-align: center; width: 140px; }
.ind-icon { width: 80px; height: 80px; margin: 0 auto 15px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: border-color 0.3s; }
.ind-icon img { width: 40px; height: 40px; filter: brightness(0) invert(1); }
.industry-item:hover .ind-icon { border-color: var(--primary); }
.industry-item p { font-size: 1rem; font-weight: 600; color: #ccc; transition: color 0.3s; }
.industry-item:hover p { color: #fff; }

/* 6. Why Choose Us */
.infopixal-why-choose { padding: 100px 0; background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; margin-top: 50px; }
.feature-item { text-align: center; }
.feat-icon { width: 70px; height: 70px; margin: 0 auto 20px; background: rgba(242, 75, 38, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.feat-icon img { width: 35px; height: 35px; }
.feat-text h4 { font-size: 1.2rem; font-weight: 800; margin-bottom: 15px; color: var(--dark); }
.feat-text p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* 7. CTA Section */
.infopixal-cta { padding: 80px 0; background-color: var(--primary); background-size: cover; background-position: center; position: relative; color: #fff; }
.infopixal-cta::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(242, 75, 38, 0.95) 0%, rgba(204, 57, 25, 0.8) 100%); }
.cta-wrap { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; }
.cta-content h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 10px; }
.cta-content p { font-size: 1.1rem; margin: 0; opacity: 0.9; }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-images { margin-bottom: 50px; max-width: 80%; margin-left: auto; margin-right: auto; }
    .hero-stats { flex-wrap: wrap; gap: 20px; justify-content: center; }
    .cta-wrap { flex-direction: column; text-align: center; gap: 30px; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .section-title { font-size: 2rem; }
}

/* Fix double arrows from parent theme on hover */
.infopixal-hero .pg-slider-nav::after,
.infopixal-hero .pg-slider-nav::before,
.btn-primary::after,
.btn-primary::before,
.btn-secondary::after,
.btn-secondary::before {
    display: none !important;
}

