/*
Custom CSS for Riyadh Paints - Arabic RTL Website
*/

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

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

html[dir="rtl"] body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    direction: rtl;
    text-align: right;
}

/* RTL Navigation */
html[dir="rtl"] .navbar-nav {
    flex-direction: row-reverse;
}

html[dir="rtl"] .navbar-brand {
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .navbar-toggler {
    margin-left: 0;
    margin-right: auto;
}

/* RTL Text Alignment */
html[dir="rtl"] .text-start {
    text-align: right !important;
}

html[dir="rtl"] .text-end {
    text-align: left !important;
}

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

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

/* RTL Padding and Margins */
html[dir="rtl"] .pe-3 {
    padding-left: 1rem !important;
    padding-right: 0 !important;
}

html[dir="rtl"] .ps-3 {
    padding-right: 1rem !important;
    padding-left: 0 !important;
}

/* Brand Colors */
:root {
    --primary-color: #0D6EFD;
    --accent-color: #F59E0B;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

/* Arabic Typography */
.arabic-title {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.arabic-subtitle {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    line-height: 1.4;
}

.arabic-text {
    font-family: 'Tajawal', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

/* WhatsApp Button */
.whatsapp-btn {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    color: white;
}

/* Paint-themed colors */
.paint-blue {
    color: #0D6EFD;
}

.paint-orange {
    color: #F59E0B;
}

.paint-green {
    color: #25D366;
}

/* Service Cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.9), rgba(245, 158, 11, 0.9));
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* RTL Form Controls */
html[dir="rtl"] .form-control {
    text-align: right;
}

html[dir="rtl"] .form-label {
    text-align: right;
}

/* RTL Carousel */
html[dir="rtl"] .carousel-control-prev {
    left: auto;
    right: 0;
}

html[dir="rtl"] .carousel-control-next {
    right: auto;
    left: 0;
}

