/* =========================================
   [تعليق عربي] الفوتر البريميوم الجديد — Dark Navy + Gold
   ========================================= */

/* الفوتر الأساسي */
.footer-premium {
    background: linear-gradient(135deg, #050608 0%, #0a0b10 50%, #141005 100%);
    color: #fff;
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
    font-family: 'Tajawal', 'Cairo', sans-serif;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
}
.footer-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 90%, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 20% 10%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* ─── أعمدة الفوتر ─── */
.footer-col {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    display: block !important;
    flex-direction: column !important;
}
.footer-col:nth-child(1) { animation-delay: 0.1s; }
.footer-col:nth-child(2) { animation-delay: 0.2s; }
.footer-col:nth-child(3) { animation-delay: 0.3s; }
.footer-col:nth-child(4) { animation-delay: 0.4s; }

/* ─── عمود البراند ─── */
.footer-brand {
    text-align: center;
}
.footer-logo-block {
    margin-bottom: 12px;
}
.footer-logo-img {
    max-height: 119px;
    width: auto !important;
    max-width: 100%;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.4));
    transition: transform 0.4s ease;
}
.footer-brand-name {
    max-height: 85px;
    width: auto !important;
    max-width: 100%;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
    transition: transform 0.4s ease;
}
.footer-logo-block:hover .footer-logo-img,
.footer-logo-block:hover .footer-brand-name {
    transform: scale(1.05);
}
.footer-brand-desc {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
    line-height: 1.75;
    max-width: 280px;
    margin: 0 auto;
    text-align: center;
}

/* ─── عناوين الأعمدة ─── */
.footer-col-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #d4af37;
    margin-bottom: 22px;
    padding-bottom: 12px;
    position: relative;
    font-family: 'Tajawal', sans-serif;
    text-align: right;
}
.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: auto;
    width: 35px;
    height: 2.5px;
    background: #d4af37;
    border-radius: 2px;
}

/* ─── روابط الفوتر ─── */
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-nav li {
    margin-bottom: 12px;
}
.footer-nav li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-right: 14px;
}
.footer-nav li a::before {
    content: '◆';
    position: absolute;
    right: 0;
    font-size: 0.45rem;
    color: #d4af37;
    opacity: 0;
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
}
.footer-nav li a:hover {
    color: #d4af37;
    transform: translateX(-4px);
}
.footer-nav li a:hover::before {
    opacity: 1;
}

/* ─── معلومات الاتصال ─── */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
}
.footer-contact-list li i {
    font-size: 1rem;
    color: #d4af37;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}
.footer-contact-list li a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-contact-list li a:hover {
    color: #d4af37;
}

/* ─── منطقة السوشيال ميديا + الدفع ─── */
.footer-bottom-area {
    position: relative;
    z-index: 2;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

/* أيقونات السوشيال */
.footer-social-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.sochial-icon-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.4s ease;
    font-size: 1.1rem;
}
.sochial-icon-btn:hover {
    background: #d4af37;
    color: #000;
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    border-color: #d4af37;
}

/* أيقونات الدفع */
.footer-payment-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.payment-icon {
    height: 28px;
    width: auto !important;
    max-width: 80px;
    background: #ffffff;
    padding: 3px 7px;
    border-radius: 5px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}
.payment-icon:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: #d4af37;
    box-shadow: 0 6px 14px rgba(212, 175, 55, 0.3);
}

/* ─── Copyright ─── */
.footer-copyright {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}
.footer-copyright p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.5px;
}
.gold-text {
    color: #d4af37;
    font-weight: 700;
}

/* ─── زر الواتساب العائم ─── */
.WahtsApp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999999;
    animation: premium-pulse 3s infinite ease-in-out;
}
.WahtsApp a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: visible;
}
.WahtsApp a:hover {
    background: #d4af37 !important;
    border-color: #d4af37 !important;
    color: #000 !important;
    transform: scale(1.15) rotate(5deg) !important;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.7) !important;
}
.WahtsApp::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #d4af37;
    animation: stress-ring 1.5s infinite;
    opacity: 0;
    pointer-events: none;
}
@keyframes stress-ring {
    0% { width: 100%; height: 100%; opacity: 0.8; }
    100% { width: 160%; height: 160%; opacity: 0; }
}
@keyframes premium-pulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.1)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4)); }
}

/* ─── Tooltip ─── */
.pop_up { position: relative; display: inline-block; }
.pop_up[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute; bottom: 125%; left: 50%; transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8); color: white;
    padding: 5px 10px; border-radius: 4px; font-size: 12px;
    white-space: nowrap; opacity: 0; visibility: hidden;
    transition: all 0.3s ease; z-index: 1000;
}
.pop_up[data-tooltip]::before {
    content: ''; position: absolute; bottom: 120%; left: 50%;
    transform: translateX(-50%); border-width: 5px; border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.pop_up[data-tooltip]:hover::after,
.pop_up[data-tooltip]:hover::before { opacity: 1; visibility: visible; bottom: 140%; }

/* ─── أنيميشنات ─── */
.animated { animation-duration: 1s; animation-fill-mode: both; }

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
.fadeInUp { animation-name: fadeInUp; }

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
.fadeIn { animation-name: fadeIn; }

@keyframes bounceInUp {
    0% { opacity: 0; transform: translateY(2000px); }
    60% { opacity: 1; transform: translateY(-30px); }
    80% { transform: translateY(10px); }
    100% { transform: translateY(0); }
}
.bounceInUp { animation-name: bounceInUp; }

@keyframes bounceInDown {
    0% { opacity: 0; transform: translateY(-2000px); }
    60% { opacity: 1; transform: translateY(30px); }
    80% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}
.bounceInDown { animation-name: bounceInDown; }

@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}
.fadeInDown { animation-name: fadeInDown; }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-30px); }
    60% { transform: translateY(-15px); }
}
.bounce { animation-name: bounce; }

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.pulse { animation-name: pulse; }

.scroll_transition { transform: translateY(100px); display: block; }
.show_scroll { transition: all 0.5s ease-in-out; transform: translateY(0); box-shadow: #8f8f8f 1px 1px 2px 1px; }


/* =========================================
   RESPONSIVE — Tablet (768-991px) → 2x2 Grid
   ========================================= */
@media (max-width: 991px) {
    .footer-premium { padding: 45px 0 0; }
    .footer-col-title { font-size: 1.05rem; margin-bottom: 16px; padding-bottom: 10px; }
    .footer-brand-desc { font-size: 0.82rem; max-width: 250px; }
    .footer-logo-img { max-height: 94px; }
    .footer-brand-name { max-height: 68px; }
    .footer-contact-list li { font-size: 0.85rem; margin-bottom: 12px; }
    .footer-nav li a { font-size: 0.85rem; }
    .footer-nav li { margin-bottom: 10px; }
    .footer-bottom-area { margin-top: 30px; padding-top: 24px; }
    .sochial-icon-btn { width: 38px; height: 38px; font-size: 1rem; }
    .payment-icon { height: 24px; padding: 2px 5px; }
}

/* =========================================
   RESPONSIVE — Mobile (<768px) → Stack
   ========================================= */
@media (max-width: 767px) {
    .footer-premium { padding: 35px 0 0; }

    /* عمود واحد */
    .footer-premium .row.g-4 {
        display: flex !important;
        flex-direction: column !important;
        gap: 28px !important;
    }
    .footer-premium .footer-col {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        text-align: center !important;
        padding: 0 !important;
    }

    /* ترتيب الأقسام */
    .footer-brand  { order: 1 !important; }
    .footer-col:nth-child(2) { order: 2 !important; }
    .footer-col:nth-child(3) { order: 3 !important; }
    .footer-col:nth-child(4) { order: 4 !important; }

    /* توسيط الخط الذهبي تحت العناوين */
    .footer-col-title::after {
        right: 50%;
        transform: translateX(50%);
    }
    .footer-col-title {
        font-size: 1rem;
        margin-bottom: 14px;
        padding-bottom: 8px;
        text-align: center;
    }

    /* الروابط */
    .footer-nav li a {
        padding-right: 0;
        font-size: 0.88rem;
    }
    .footer-nav li a::before { display: none; }
    .footer-nav li a:hover { transform: none; }
    .footer-nav li { margin-bottom: 10px; }

    /* الاتصال */
    .footer-contact-list li {
        justify-content: center;
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    /* البراند */
    .footer-brand-desc {
        font-size: 0.82rem;
        max-width: 90%;
        margin: 0 auto;
    }
    .footer-logo-img { max-height: 102px; }
    .footer-brand-name { max-height: 72px; }

    /* السوشيال + الدفع */
    .footer-bottom-area { margin-top: 24px; padding-top: 20px; }
    .footer-social-row { gap: 10px; margin-bottom: 18px; }
    .sochial-icon-btn { width: 36px; height: 36px; font-size: 0.95rem; }
    .footer-payment-row { gap: 6px; }
    .payment-icon { height: 22px; padding: 2px 4px; }

    /* Copyright */
    .footer-copyright { padding: 16px 0; margin-top: 16px; }
    .footer-copyright p { font-size: 0.78rem; }

    /* واتساب */
    .WahtsApp { bottom: 10px; left: 10px; }
    .WahtsApp a { width: 50px; height: 50px; font-size: 25px; }

    /* حماية الفوتر من زر الواتساب */
    .footer-premium { padding-bottom: 70px !important; }
}

/* =========================================
   RESPONSIVE — Small Mobile (<480px)
   ========================================= */
@media (max-width: 480px) {
    .footer-premium { padding: 28px 0 0; }
    .footer-col-title { font-size: 0.92rem; }
    .footer-logo-img { max-height: 85px; }
    .footer-brand-name { max-height: 60px; }
    .footer-brand-desc { font-size: 0.76rem; line-height: 1.6; }
    .footer-nav li a { font-size: 0.82rem; }
    .footer-nav li { margin-bottom: 8px; }
    .footer-contact-list li { font-size: 0.8rem; margin-bottom: 10px; }
    .sochial-icon-btn { width: 33px; height: 33px; font-size: 0.88rem; }
    .payment-icon { height: 20px; }
    .footer-copyright p { font-size: 0.72rem; }
    .WahtsApp a { width: 45px; height: 45px; font-size: 22px; }
}

/* =========================================
   RESPONSIVE — Very Small Mobile (<390px)
   ========================================= */
@media (max-width: 390px) {
    .footer-premium { padding: 22px 0 0; }
    .footer-logo-img { max-height: 76px; }
    .footer-brand-name { max-height: 55px; }
    .footer-brand-desc { font-size: 0.72rem; }
    .footer-col-title { font-size: 0.88rem; }
    .sochial-icon-btn { width: 30px; height: 30px; font-size: 0.82rem; }
    .payment-icon { height: 18px; padding: 2px 3px; }
}
