/* 
 * Daleel - Business Directory
 * Custom Stylesheet
 */

/* General Styles */
body {
    font-family: 'Tajawal', sans-serif;
    background-color: #f8f9fa;
}

/* Header */
.navbar-brand img {
    margin-left: 10px;
}

/* Company Logo */
.company-logo {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Category Cards */
.category-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Search Form */
.search-form .input-group {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Company Cards */
.card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Dashboard */
.list-group-item.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Footer */
footer {
    margin-top: 50px;
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Pagination */
.pagination .page-link {
    color: #0d6efd;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

/* Breadcrumbs */
.breadcrumb {
    background-color: transparent;
    padding: 0.75rem 0;
}

/* Form Controls */
.form-control:focus, .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Buttons */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-brand img {
        height: 30px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

/* RTL Specific Adjustments */
.dropdown-menu-end {
    right: 0;
    left: auto;
}

.me-1, .me-2, .me-3 {
    margin-left: 0.25rem !important;
    margin-right: 0 !important;
}

.ms-1, .ms-2, .ms-3 {
    margin-right: 0.25rem !important;
    margin-left: 0 !important;
}

/* Add Tajawal font for Arabic */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700&display=swap');
