/* ==========================================================================
   EL ETIHAD PLASTIC INDUSTRIES - INDUSTRIAL MODERN DESIGN
   تصميم صناعي حديث لشركة الإتحاد للصناعات البلاستيكية
   ========================================================================== */

/* --------------------------------------------------------------------------
   INDUSTRIAL PATTERNS & BACKGROUNDS
   خلفيات وأنماط صناعية
   -------------------------------------------------------------------------- */

/* Grid pattern background */
.industrial-grid-bg {
    background-image:
        linear-gradient(rgba(227, 30, 36, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(227, 30, 36, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Diagonal stripes pattern (like warning tape) */
.industrial-stripes-bg {
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(227, 30, 36, 0.05) 10px,
        rgba(227, 30, 36, 0.05) 20px
    );
}

/* Hexagon pattern (like plastic molding) */
.industrial-hex-bg {
    background-image:
        radial-gradient(circle at 25% 25%, rgba(227, 30, 36, 0.05) 2%, transparent 2%),
        radial-gradient(circle at 75% 75%, rgba(30, 64, 175, 0.05) 2%, transparent 2%);
    background-size: 60px 60px;
}

/* Metallic gradient */
.metallic-gradient {
    background: linear-gradient(135deg,
        #1F2937 0%,
        #374151 25%,
        #4B5563 50%,
        #374151 75%,
        #1F2937 100%);
    background-size: 400% 400%;
    animation: metallicShine 8s ease infinite;
}

@keyframes metallicShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* --------------------------------------------------------------------------
   HERO SECTION - INDUSTRIAL STYLE
   قسم البطل بتصميم صناعي
   -------------------------------------------------------------------------- */

.hero-industrial {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    overflow: hidden;
}

/* Animated industrial background elements */
.hero-industrial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(30deg, rgba(227, 30, 36, 0.1) 12%, transparent 12.5%, transparent 87%, rgba(227, 30, 36, 0.1) 87.5%, rgba(227, 30, 36, 0.1)),
        linear-gradient(150deg, rgba(227, 30, 36, 0.1) 12%, transparent 12.5%, transparent 87%, rgba(227, 30, 36, 0.1) 87.5%, rgba(227, 30, 36, 0.1)),
        linear-gradient(30deg, rgba(227, 30, 36, 0.1) 12%, transparent 12.5%, transparent 87%, rgba(227, 30, 36, 0.1) 87.5%, rgba(227, 30, 36, 0.1)),
        linear-gradient(150deg, rgba(227, 30, 36, 0.1) 12%, transparent 12.5%, transparent 87%, rgba(227, 30, 36, 0.1) 87.5%, rgba(227, 30, 36, 0.1));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
    opacity: 0.3;
    z-index: 0;
}

.hero-industrial-content {
    position: relative;
    z-index: 2;
}

/* Hero title with industrial effect */
.hero-title-industrial {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-shadow:
        2px 2px 0px rgba(227, 30, 36, 0.5),
        4px 4px 0px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    position: relative;
}

.hero-title-industrial::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 120px;
    height: 6px;
    background: linear-gradient(90deg, #E31E24 0%, #1E40AF 100%);
    border-radius: 3px;
}

.hero-subtitle-industrial {
    font-size: 1.5rem;
    color: #D1D5DB;
    font-weight: 400;
    margin-bottom: 2.5rem;
    max-width: 700px;
}

/* Industrial stats cards */
.stat-card-industrial {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(227, 30, 36, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card-industrial::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(227, 30, 36, 0.2), transparent);
    transition: left 0.5s ease;
}

.stat-card-industrial:hover::before {
    left: 100%;
}

.stat-card-industrial:hover {
    transform: translateY(-8px);
    border-color: #E31E24;
    box-shadow: 0 20px 40px rgba(227, 30, 36, 0.3);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #E31E24;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    color: #D1D5DB;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   INDUSTRIAL BUTTONS
   أزرار بتصميم صناعي
   -------------------------------------------------------------------------- */

.btn-industrial {
    position: relative;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #E31E24 0%, #C41E3A 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow:
        0 4px 15px rgba(227, 30, 36, 0.3),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.btn-industrial::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-industrial:hover::before {
    left: 100%;
}

.btn-industrial:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 25px rgba(227, 30, 36, 0.5),
        inset 0 0 0 2px rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.btn-industrial-outline {
    background: transparent;
    border: 3px solid #E31E24;
    color: #E31E24;
    box-shadow: none;
}

.btn-industrial-outline:hover {
    background: #E31E24;
    color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   PRODUCT CARDS - INDUSTRIAL STYLE
   بطاقات المنتجات بتصميم صناعي
   -------------------------------------------------------------------------- */

.product-card-industrial {
    position: relative;
    background: #FFFFFF;
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.product-card-industrial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #E31E24 0%, #1E40AF 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.product-card-industrial:hover::before {
    transform: scaleX(1);
}

.product-card-industrial:hover {
    transform: translateY(-12px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.15),
        0 0 0 3px rgba(227, 30, 36, 0.1);
}

.product-card-header {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    padding: 2rem;
    position: relative;
}

.product-icon-industrial {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(227, 30, 36, 0.2);
    border: 3px solid #E31E24;
    clip-path: polygon(20% 0, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 20%);
    font-size: 2.5rem;
    color: #E31E24;
    margin: 0 auto 1rem;
}

.product-title-industrial {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   SECTION HEADERS - INDUSTRIAL
   عناوين الأقسام بتصميم صناعي
   -------------------------------------------------------------------------- */

.section-header-industrial {
    position: relative;
    text-align: center;
    margin-bottom: 4rem;
}

.section-title-industrial {
    font-size: 3rem;
    font-weight: 900;
    color: #1F2937;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title-industrial::before,
.section-title-industrial::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 4px;
    background: #E31E24;
}

.section-title-industrial::before {
    right: calc(100% + 20px);
}

.section-title-industrial::after {
    left: calc(100% + 20px);
}

.section-subtitle-industrial {
    font-size: 1.25rem;
    color: #6B7280;
    max-width: 700px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   INDUSTRIAL FEATURES LIST
   قائمة المميزات بتصميم صناعي
   -------------------------------------------------------------------------- */

.feature-list-industrial {
    list-style: none;
    padding: 0;
}

.feature-list-industrial li {
    position: relative;
    padding: 1rem 0 1rem 3rem;
    font-size: 1.125rem;
    color: #374151;
    border-bottom: 1px solid rgba(227, 30, 36, 0.1);
}

.feature-list-industrial li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #E31E24 0%, #C41E3A 100%);
    color: #FFFFFF;
    font-weight: 900;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(25% 0, 100% 0, 100% 75%, 75% 100%, 0 100%, 0 25%);
}

.feature-list-industrial li:hover {
    color: #E31E24;
    padding-left: 3.5rem;
    transition: all 0.3s ease;
}

/* --------------------------------------------------------------------------
   COUNTER / STATS SECTION
   قسم الإحصائيات
   -------------------------------------------------------------------------- */

.stats-section-industrial {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section-industrial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg, rgba(227, 30, 36, 0.05) 0px, transparent 1px, transparent 50px, rgba(227, 30, 36, 0.05) 51px),
        repeating-linear-gradient(90deg, rgba(227, 30, 36, 0.05) 0px, transparent 1px, transparent 50px, rgba(227, 30, 36, 0.05) 51px);
    opacity: 0.3;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 992px) {
    .hero-title-industrial {
        font-size: 3rem;
    }

    .hero-subtitle-industrial {
        font-size: 1.25rem;
    }

    .section-title-industrial {
        font-size: 2.25rem;
    }

    .section-title-industrial::before,
    .section-title-industrial::after {
        width: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title-industrial {
        font-size: 2.25rem;
    }

    .hero-subtitle-industrial {
        font-size: 1.125rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-card-industrial {
        padding: 1.5rem;
    }

    .section-title-industrial {
        font-size: 1.875rem;
    }

    .section-title-industrial::before,
    .section-title-industrial::after {
        display: none;
    }

    .btn-industrial {
        padding: 14px 32px;
        font-size: 1rem;
    }

    .product-card-industrial {
        margin-bottom: 1.5rem;
    }

    .product-icon-industrial {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .feature-list-industrial li {
        padding: 0.75rem 0 0.75rem 2.5rem;
        font-size: 1rem;
    }

    .feature-list-industrial li::before {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-industrial {
        min-height: 70vh;
        padding: 3rem 0;
    }

    .hero-title-industrial {
        font-size: 1.75rem;
    }

    .hero-subtitle-industrial {
        font-size: 1rem;
    }

    .stat-card-industrial {
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.875rem;
    }

    .btn-industrial {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
    }

    .section-title-industrial {
        font-size: 1.5rem;
    }

    .product-icon-industrial {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .product-title-industrial {
        font-size: 1.25rem;
    }

    .icon-industrial {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* --------------------------------------------------------------------------
   INDUSTRIAL ANIMATIONS
   -------------------------------------------------------------------------- */

@keyframes industrialPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(227, 30, 36, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(227, 30, 36, 0);
    }
}

.pulse-industrial {
    animation: industrialPulse 2s infinite;
}

/* --------------------------------------------------------------------------
   INDUSTRIAL ICONS
   أيقونات صناعية
   -------------------------------------------------------------------------- */

.icon-industrial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.1) 0%, rgba(30, 64, 175, 0.1) 100%);
    color: #E31E24;
    font-size: 1.75rem;
    clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
    transition: all 0.3s ease;
}

.icon-industrial:hover {
    transform: rotate(45deg) scale(1.1);
    background: #E31E24;
    color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   END OF INDUSTRIAL STYLE
   -------------------------------------------------------------------------- */
