:root {
    --beige-light: #F2E2C4;
    --red: #DB2D2E;
    --dark-dark: #323232;
    --gray-soft: #F2F2F2;
    /* --dark-charcoal: #262626; */
}


.scroll-to-top-car {
    width: 90px;
    height: 150px;
    position: fixed;
    bottom: 15px;
    right: 15px;
    cursor: pointer;
    z-index: 1000;
    transition: filter 0.3s ease-in-out;
}
.scroll-to-top-car.glow {
    filter: drop-shadow(0 0 8px #F2F2F2);
}

/* hero sevtion */
.hero-section h1 {
    font-size: 3rem;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
}

/* about pages */
.about-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.55); /* لتغميق الخلفية */
    z-index: 1;
}
.about-hero .z-1 {
    z-index: 2;
    position: relative;
}

.values-circle {
    width: 400px;
    height: 400px;
    background-color: #F23232;
    border-radius: 50%;
    position: relative;
}

.value-title {
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.value-item {
    position: absolute;
    color: white;
    font-size: 14px;
    text-align: center;
    width: 100px;
}


/* 
================================
            Admin
================================

*/

/* ✅ الهيدر */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
}

.header .left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header .hamburger {
    font-size: 24px;
    border: none;
    background: none;
    cursor: pointer;
}

.header .right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.logout {
    background: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
}

/* ✅ السايدبار */
#sidebar {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar {
    position: fixed;
    top: 70px;
    left: 0;
    width: 240px;
    height: calc(100vh - 70px);
    background: white;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
    padding: 20px;
    transition: transform 0.3s ease;
    z-index: 999;
}

.sidebar .logo {
    text-align: center;
}

.sidebar .logo img {
    max-width: 100px;
    display: block;
    margin: 0 auto 10px;
}

.sidebar nav a {
    display: block;
    padding: 10px;
    color: var(--orange-dark);
    text-decoration: none;
    border-radius: 5px;
}

.sidebar nav a:hover {
    background: #f1f1f1;
}

/* ✅ المحتوى */
.main-content {
    margin-top: 70px;
    margin-left: 240px;
    padding: 30px;
    transition: margin-left 0.3s ease;
}

/* ✅ عند إغلاق السايدبار */
body.sidebar-collapsed .sidebar {
    transform: translateX(-100%);
}

body.sidebar-collapsed .main-content {
    margin-left: 0;
}

/* ✅ موبايل */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    body.sidebar-collapsed .sidebar {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0 !important;
    }
}

.contact-section {
    background: linear-gradient(to right, #F26E22 50%, #fff 50%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.contact-box {
    background-color: #1a1a1a;
    color: #fff;
    border-radius: 25px;
    padding: 40px 30px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.contact-box h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
}
.contact-form input,
.contact-form textarea {
background-color: #2b2b2b !important;
color: #fff !important;
border: 1px solid #444;
border-radius: 8px;
padding: 12px 15px;
font-size: 1rem;
width: 100%;
transition: border-color 0.3s, box-shadow 0.3s;
outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
color: #aaa;
}

.contact-form input:focus,
.contact-form textarea:focus {
background-color: #2b2b2b !important;
color: #fff !important;
border-color: #F26E22;
box-shadow: 0 0 8px rgba(242, 110, 34, 0.3);
}

.btn-orange {
    background-color: #F26E22;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 0;
    font-weight: bold;
}

.btn-orange:hover {
    background-color: #c84f10;
}

.blog-section {
    background-color: #3c3e48; /* الرمادي الغامق */
}

.blog-section i {
    font-size: 1.2rem;
}

.category-btn {
    background-color: #F26E22;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.category-btn:hover {
    background-color: #d3581c; /* درجة أدكن */
    color: #fff;
}

/* 
==================================

        pagination Event

==================================

*/

.custom-pagination .page-item {
    margin: 0 4px;
}

.custom-pagination .page-link {
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    padding: 9px 0;
    color: #444;
    background-color: #f5f5f5;
    font-weight: bold;
    transition: all 0.3s ease;
}

.custom-pagination .page-link:hover {
    background-color: #F26E22;
    color: white;
}

.custom-pagination .page-item.active .page-link {
    background-color: #F26E22;
    color: white;
    pointer-events: none;
}

.custom-pagination .page-item.disabled .page-link {
    color: #aaa;
    background-color: #eee;
    cursor: default;
}