/* ==========================================================================
   Parallax Hero Section (Standalone Component)
   RTL / LTR & Mobile Optimized
========================================================================== */

.hero-parallax-section {
    position: relative;
    background-image: url('../../images/banner1.jpg'); 
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; 
    padding: 120px 15px;
    text-align: center; 
    color: #ffffff;
    overflow: hidden;
}

/* ضبط اتجاه اللغات (عربي / إنجليزي) لضمان صحة علامات الترقيم */
html[dir="rtl"] .hero-parallax-section {
    direction: rtl;
}

html[dir="ltr"] .hero-parallax-section {
    direction: ltr;
}

.hero-parallax-section .parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 20, 30, 0.7); 
    z-index: 1;
}

.hero-parallax-section .relative-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center; 
}

.hero-parallax-section .parallax-logo {
    text-align: center;
    width: 100%;
}

.hero-parallax-section .parallax-logo img {
    max-width: 350px; 
    margin-bottom: 35px;
    height: auto;
    display: inline-block;
}

.hero-parallax-section .main-heading {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #ffffff;
    text-align: center !important; 
    display: block;
    width: 100%;
    line-height: 1.4;
}

.hero-parallax-section .sub-heading {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
    text-align: center !important; 
    display: block;
    width: 100%;
    line-height: 1.4;
}

.hero-parallax-section .desc-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #e0e0e0; 
    margin-bottom: 40px;
    text-align: center !important; 
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-parallax-section .phone-outline-box a {
    display: inline-block;
    border: 2px solid #ffffff; 
    color: #ffffff;
    padding: 12px 45px;
    border-radius: 8px; 
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: transparent;
    direction: ltr !important; /* إجباري لضمان ظهور علامة + بشكل سليم في اللغتين */
}

.hero-parallax-section .phone-outline-box a:hover {
    background-color: #FF7A00; 
    border-color: #FF7A00;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* ==========================================================================
   Mobile Optimization
========================================================================== */
@media (max-width: 768px) {
    .hero-parallax-section {
        background-attachment: scroll; 
        padding: 80px 15px;
    }
    .hero-parallax-section .parallax-logo img { 
        max-width: 220px; /* تم التصغير قليلاً لتناسب الشاشات الصغيرة جداً */
        margin-bottom: 25px;
    } 
    .hero-parallax-section .main-heading { 
        font-size: 1.7rem; 
        line-height: 1.5; /* منع تداخل السطور */
    }
    .hero-parallax-section .sub-heading { 
        font-size: 1.4rem; 
        line-height: 1.5;
        margin-bottom: 20px;
    }
    .hero-parallax-section .desc-text { 
        font-size: 1rem; 
        line-height: 1.7;
    }
    .hero-parallax-section .phone-outline-box a { 
        padding: 12px 35px; 
        font-size: 1.1rem; 
        display: block; /* جعله بكامل العرض في الموبايل لسهولة الضغط */
        max-width: 250px;
        margin: 0 auto;
    }
}