/* Custom CSS for GetSabak Website */

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .ms-auto {
    margin-left: unset !important;
    margin-right: auto !important;
}

[dir="rtl"] .me-auto {
    margin-right: unset !important;
    margin-left: auto !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-image {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 0 20px;
}

.footer h5 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color);
}

/* Custom Buttons */
.btn-custom {
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .service-card {
        margin-bottom: 30px;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
}

/* Color Picker Styles */
.form-control-color {
    width: 60px;
    height: 38px;
    padding: 0;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
}

.color-preview {
    transition: all 0.3s ease;
    cursor: pointer;
}

.color-preview:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Admin Panel Enhancements */
.avatar-sm {
    width: 40px;
    height: 40px;
}

.avatar-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
}

.bg-primary-lighten {
    background-color: rgba(13, 110, 253, 0.1) !important;
}

.bg-warning-lighten {
    background-color: rgba(255, 193, 7, 0.1) !important;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success Messages */
.alert-success {
    border-color: var(--success-color);
    background-color: rgba(25, 135, 84, 0.1);
}

/* Error Messages */
.alert-danger {
    border-color: var(--danger-color);
    background-color: rgba(220, 53, 69, 0.1);
}

/* Info Messages */
.alert-info {
    border-color: var(--info-color);
    background-color: rgba(13, 202, 240, 0.1);
}

/* Warning Messages */
.alert-warning {
    border-color: var(--warning-color);
    background-color: rgba(255, 193, 7, 0.1);
} 

/* Contact Info Section */
.contact-info .bg-opacity-10 {
    background-color: rgba(var(--bs-primary-rgb), 0.1) !important;
}

.contact-info .bg-success.bg-opacity-10 {
    background-color: rgba(var(--bs-success-rgb), 0.1) !important;
}

.contact-info .bg-info.bg-opacity-10 {
    background-color: rgba(var(--bs-info-rgb), 0.1) !important;
}

.contact-info .bg-warning.bg-opacity-10 {
    background-color: rgba(var(--bs-warning-rgb), 0.1) !important;
}

.contact-info .bg-secondary.bg-opacity-10 {
    background-color: rgba(var(--bs-secondary-rgb), 0.1) !important;
}

/* Contact Settings Form */
.contact-settings-section {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin-bottom: 2rem;
}

.contact-settings-section h5 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Working Hours Styling */
.working-hours-item {
    background: linear-gradient(135deg, var(--light-color) 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.working-hours-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Emergency Contact Styling */
.emergency-contact {
    background: linear-gradient(135deg, var(--danger-color) 0%, #dc3545 100%);
    color: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.emergency-contact h3 {
    color: white;
    margin-bottom: 1rem;
}

.emergency-contact .btn-light {
    background: white;
    color: var(--danger-color);
    border: none;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.emergency-contact .btn-light:hover {
    background: #f8f9fa;
    transform: scale(1.05);
}

/* Contact Info Cards */
.contact-info-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.contact-info-card .icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

.contact-info-card .icon-circle.primary {
    background: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--primary-color);
}

.contact-info-card .icon-circle.success {
    background: rgba(var(--bs-success-rgb), 0.1);
    color: var(--success-color);
}

.contact-info-card .icon-circle.info {
    background: rgba(var(--bs-info-rgb), 0.1);
    color: var(--info-color);
}

.contact-info-card .icon-circle.danger {
    background: rgba(var(--bs-danger-rgb), 0.1);
    color: var(--danger-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-info-card {
        margin-bottom: 1rem;
    }
    
    .working-hours-item {
        padding: 0.75rem;
    }
    
    .emergency-contact {
        padding: 1.5rem;
    }
} 

/* Language Switcher */
.language-switcher {
    position: relative;
}

.language-switcher .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background: white;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
}

.language-switcher .dropdown-toggle:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.language-switcher .dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

.language-switcher .dropdown-menu {
    min-width: 150px;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.language-switcher .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.2s ease;
}

.language-switcher .dropdown-item:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.language-switcher .dropdown-item.active {
    background: var(--primary-color);
    color: white;
}

.language-switcher .flag-icon {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 2px;
}

/* RTL Support for Language Switcher */
[dir="rtl"] .language-switcher .dropdown-menu {
    right: auto;
    left: 0;
}

[dir="rtl"] .language-switcher .dropdown-item {
    text-align: right;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .language-switcher .dropdown-toggle {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .language-switcher .dropdown-menu {
        min-width: 120px;
    }
    
    .language-switcher .dropdown-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
} 