﻿:root {
    --main-red: #D60000;
    --footer-red: #ff5252;
    --main-dark: #1a1a1a;
    --text-color: #444444;
    --msc-color: #0dcaf0;
}

/* Global Styles */
html, body {
    font-family: 'Cairo', sans-serif;
    background-color: #ffffff;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

/* ================= Navbar (Dashboard Style) ================= */
.navbar {
    /* التدرج اللوني الفخم (أسود -> أحمر) */
    background: linear-gradient(90deg, #000000 0%, #D60000 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    transition: all 0.3s;
}

.navbar-brand img {
    background: white; /* خلفية بيضاء للوجو عشان يظهر في الأسود */
    padding: 3px;
    border-radius: 8px;
    height: 50px;
    transition: transform 0.3s;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important; /* نص أبيض */
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0 5px;
    transition: all 0.3s;
    position: relative;
    padding: 8px 18px !important;
    border-radius: 20px; /* تدوير الحواف زي الداش بورد */
}

    /* عند مرور الماوس */
    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.2);
        color: #fff !important;
        transform: translateY(-2px);
    }

    /* الصفحة النشطة (ستايل الداش بورد: خلفية بيضاء ونص أحمر) */
    .nav-link.active-page {
        background-color: #fff;
        color: var(--main-red) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        border-bottom: none; /* إلغاء الخط القديم */
    }

/* زر اتصل بنا في الناف بار */
.btn-nav-call {
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    font-weight: bold;
    transition: all 0.3s;
}

    .btn-nav-call:hover {
        background-color: white;
        color: var(--main-red);
    }

/* زر تسجيل الدخول (القفل) */
.btn-nav-login {
    background-color: rgba(0,0,0,0.3);
    color: rgba(255,255,255,0.7);
    border: none;
    transition: all 0.3s;
}

    .btn-nav-login:hover {
        background-color: var(--main-red);
        color: white;
    }

/* ================= Hero Slider & Icons ================= */
.hero-slider {
    background: radial-gradient(circle at center, #2b2b2b 0%, #000000 100%);
    color: white;
    padding-top: 40px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-icon-wrapper {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-icon {
    font-size: 15rem;
    color: #ffffff;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* ================= Interactive Boxes & Cards ================= */
.hover-box-anim {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #fff;
    border: 1px solid #eee;
    text-decoration: none !important;
    display: block;
    height: 100%;
}

    .hover-box-anim:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        border-color: var(--main-red);
    }

        .hover-box-anim:hover i {
            transform: scale(1.1);
            transition: transform 0.3s;
        }

.product-card {
    border: 1px solid #eee;
    border-radius: 15px;
    transition: all 0.3s;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

    .product-card img {
        transition: transform 0.5s;
        height: 200px;
        object-fit: cover;
        width: 100%;
    }

    .product-card:hover img {
        transform: scale(1.1);
    }

/* ================= FAQ Accordion ================= */
.accordion-item {
    border: 1px solid #f0f0f0;
    border-radius: 12px !important;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s;
    background-color: #fff;
}

    .accordion-item:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        border-color: #ffcccc;
    }

.accordion-button {
    font-weight: 700;
    color: var(--main-dark);
    background-color: #fff;
    padding: 25px;
    cursor: pointer;
    transition: all 0.4s ease;
    font-size: 1.05rem;
}

    .accordion-button:hover {
        background-color: rgba(214, 0, 0, 0.05);
        color: var(--main-red);
        padding-right: 35px;
    }

    .accordion-button:not(.collapsed) {
        background-color: var(--main-red);
        color: #fff;
        box-shadow: none;
    }

        .accordion-button:not(.collapsed)::after {
            filter: brightness(0) invert(1);
        }

    .accordion-button:focus {
        box-shadow: none;
        border-color: transparent;
    }

.accordion-body {
    background-color: #fcfcfc;
    line-height: 1.8;
    color: #444;
    padding: 25px;
    border-top: 1px solid #eee;
    font-size: 1.1rem;
}

/* ================= Footer ================= */
.footer {
    background-color: #111;
    color: #b0b0b0;
    margin-top: auto;
    font-size: 0.9rem;
    padding-top: 3rem;
}

.footer-intro-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #cccccc;
}

.footer-title {
    color: var(--footer-red);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

    .footer-title i {
        margin-left: 12px;
    }

.footer-icon-white {
    color: #fff !important;
}

.hover-item {
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 12px;
    text-decoration: none;
    color: #b0b0b0;
}

    .hover-item:hover {
        color: #fff;
        transform: translateX(-8px);
    }

.email-text {
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.msc-link {
    color: var(--msc-color) !important;
    font-weight: bold;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s;
}

    .msc-link:hover {
        color: #fff !important;
        text-shadow: 0 0 10px var(--msc-color);
    }

.social-icon-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    margin: 0 8px;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.btn-fb {
    background-color: #3b5998;
}

.btn-wa {
    background-color: #25d366;
}

.social-icon-btn:hover {
    transform: translateY(-5px) scale(1.1);
}

/* ================= Utilities ================= */
.interactive-logo {
    transition: all 0.5s;
    cursor: pointer;
}

    .interactive-logo:hover {
        transform: scale(1.1) rotate(5deg);
        filter: drop-shadow(0 0 20px rgba(214, 0, 0, 0.6));
    }

.section-title {
    font-weight: 800;
    color: var(--main-red);
}

.shake-icon {
    animation: shake 2s infinite;
}

@keyframes shake {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(15deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-15deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* Custom Btn */
.btn-custom {
    background-color: var(--main-red);
    color: #fff;
    font-weight: bold;
    border: 2px solid var(--main-red);
    transition: all 0.3s;
}
