/**
 * ملف الأنماط الرئيسي - العربي كارز
 */

/* الخطوط */
* {
    font-family: 'Cairo', sans-serif;
}

/* المتغيرات */
:root {
    --primary-color: #1a365d;
    --secondary-color: #d4af37;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --light-color: #f8f9fa;
    --dark-color: #1f2937;
}

/* عام */
body {
    background-color: #f8f9fa;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0f2744;
    border-color: #0f2744;
}

.btn-warning {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

.btn-warning:hover {
    background-color: #b8941f;
    border-color: #b8941f;
    color: #fff;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* الشريط العلوي */
.top-bar {
    font-size: 14px;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* القائمة */
.navbar {
    padding: 1rem 0;
}

.navbar-brand img {
    max-height: 50px;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* أزرار التواصل الثابتة */
.floating-contact-buttons {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-floating {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-floating:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.whatsapp-btn {
    background-color: #25D366;
    border-color: #25D366;
}

.phone-btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
}

.feature-badge {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* نموذج الحجز */
#booking-form {
    border-radius: 15px;
    animation: slideInRight 0.5s;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* الإحصائيات */
.stat-card {
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
}

.stat-label {
    font-size: 18px;
    color: #6b7280;
}

/* الأقسام */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 18px;
    color: #6b7280;
}

/* بطاقات الخدمات */
.service-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 15px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.service-card img {
    height: 250px;
    object-fit: cover;
}

.service-card .card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.prices {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.price-label {
    color: #6b7280;
}

.price-value {
    font-weight: 700;
    color: var(--primary-color);
}

.service-badges .badge {
    margin: 2px;
    padding: 6px 12px;
    font-weight: 500;
}

/* صناديق المميزات */
.feature-box {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.feature-box h4 {
    color: var(--primary-color);
    font-weight: 700;
}

/* تتبع الطلب */
.track-quote-section .card {
    border-radius: 15px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a365d 0%, #0f2744 100%);
}

.footer h5 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a:hover {
    color: var(--secondary-color) !important;
}

/* نماذج */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 54, 93, 0.25);
}

/* الإشعارات */
.alert {
    border-radius: 10px;
    border: none;
}

/* التحميل */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* الجداول */
.table {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.table thead {
    background: var(--primary-color);
    color: #fff;
}

/* البطاقات */
.card {
    border-radius: 15px;
    border: none;
}

/* الشارات */
.badge {
    padding: 6px 12px;
    font-weight: 500;
}

/* الأزرار */
.btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .floating-contact-buttons {
        bottom: 20px;
        left: 20px;
    }
    
    .btn-floating {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s;
}

/* Breadcrumbs */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 20px 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    font-size: 20px;
}

/* Pagination */
.pagination {
    gap: 5px;
}

.page-link {
    border-radius: 8px;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
}

.page-link:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Modal */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    background: var(--primary-color);
    color: #fff;
    border-radius: 15px 15px 0 0;
}

/* Progress Bar */
.progress {
    height: 8px;
    border-radius: 10px;
}

.progress-bar {
    background-color: var(--primary-color);
}

/* Tooltips */
.tooltip-inner {
    background-color: var(--primary-color);
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: var(--primary-color);
}

/* Dropdown */
.dropdown-menu {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}
