:root {
    /* ZORA TRAVEL Brand Colors - New Identity */
    --gold: #D4AF37;       /* اللون الذهبي الجديد */
    --gold-dark: #B5952F;  /* درجة أغمق للهوفر */
    --navy: #0d1a26;       /* اللون الكحلي للخلفيات */
    --black: #000000;
    --white: #FFFFFF;
    
    /* Theme Variables */
    --primary: var(--gold);
    --secondary: var(--navy);
    --bs-primary: var(--gold); /* تحديث متغير بوتستراب إن وجد */
}

/* General Styles */
body {
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    color: #333;
}

/* Custom Button Styles */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--gold-dark); /* Darker Gold */
    border-color: var(--gold-dark);
}

.btn-dark {
    background-color: var(--secondary);
    border-color: var(--secondary);
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background-color: #1a2b3c; /* Slightly lighter navy */
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
}

.hero-overlay {
    /* تدرج لوني من الأسود إلى الكحلي ليتناسب مع اللوجو */
    background: linear-gradient(rgba(13, 26, 38, 0.8), rgba(13, 26, 38, 0.9));
    opacity: 0.8;
}

.z-index-1 {
    z-index: 1;
}

/* Card Hover Effects */
.hover-shadow {
    transition: all 0.3s ease;
}

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

.transition {
    transition: all 0.3s ease;
}

/* Object Fit for Images */
.object-fit-cover {
    object-fit: cover;
}

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

[dir="rtl"] .navbar-nav {
    padding-right: 0;
}

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

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

[dir="rtl"] .text-start {
    text-align: right !important;
}

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

/* Footer Styles */
footer {
    background-color: var(--navy); /* تغيير الخلفية للكحلي */
    color: var(--white);
}

footer p,
footer span,
footer div,
footer label {
    color: var(--white);
}

footer .text-muted,
footer .text-muted p,
footer .text-muted span {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer a,
footer a.text-muted {
    color: var(--white) !important;
    transition: color 0.3s ease;
}

footer a:hover,
footer a.text-muted:hover {
    color: var(--primary) !important;
    text-decoration: none;
}

footer .social-icons a {
    transition: all 0.3s ease;
}

footer .social-icons a:hover {
    transform: translateY(-3px);
}

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

footer .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

footer .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

footer .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

footer .btn-primary {
    padding: 0.375rem 1.5rem;
}

footer hr.border-secondary {
    opacity: 0.1;
}

/* Car Rental Styles */
.car-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.car-card:hover {
    transform: translateY(-5px);
}

.car-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.car-feature i {
    width: 20px;
    text-align: center;
    color: var(--primary); /* جعل أيقونات السيارات ذهبية */
}

.nav-tabs {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.nav-tabs .nav-link {
    color: #666;
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    background: none;
}

.swiper {
    width: 100%;
    height: 300px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile Responsive Styles */
@media (max-width: 767.98px) {
    /* Navigation */
.navbar-brand img {
        width: 120px;
        height: auto;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    /* Hero Section */
    .hero-section {
        min-height: 500px;
    }

    .hero-section h1 {
        font-size: 2.5rem !important;
    }

    .hero-section p {
        font-size: 1.1rem !important;
    }

    /* Services & Destinations */
    .card {
        margin-bottom: 1rem;
    }

    .card h3 {
        font-size: 1.25rem;
    }

    /* Call to Action */
    .call-action-bg h2 {
        font-size: 2rem !important;
    }

    .call-action-bg p {
        font-size: 1.1rem !important;
    }

    /* Footer */
    footer .text-md-start,
    footer .text-md-end {
        text-align: center !important;
    }
    
    footer .social-icons {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    /* General Spacing */
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* About Page Styles */
.about-hero {
    position: relative;
    min-height: 50vh;
    padding: 6rem 0;
    display: flex;
    align-items: center;
    /* Branded gradient background with subtle gold accent */
    background: linear-gradient(120deg, rgba(13, 26, 38, 0.96) 0%, rgba(13, 26, 38, 0.92) 60%, rgba(212, 175, 55, 0.18) 100%);
    color: var(--white);
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Identity overlay: navy depth with soft gold tint */
    background: linear-gradient(180deg, rgba(13, 26, 38, 0.65) 0%, rgba(212, 175, 55, 0.15) 100%);
    z-index: 0;
}

.team-member-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        padding: 6rem 0;
    }
}

/* Navbar Styles */
.navbar-absolute {
    position: absolute;
    width: 100%;
    z-index: 10;
}

.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

/* Destination Hero Spacing */
.destination-hero {
    padding-top: 7rem;
    padding-bottom: 3rem;
}

@media (max-width: 768px) {
    .destination-hero {
        padding-top: 6rem;
        padding-bottom: 2rem;
    }
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary) !important;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 70%;
}

.language-switcher {
    background-color: transparent !important;
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.language-switcher:hover {
    background-color: var(--primary) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--primary) !important; /* جعل الرابط النشط ذهبي */
}

/* Mobile Menu Enhancements */
@media (max-width: 991.98px) {
    .navbar .navbar-collapse {
        background: linear-gradient(135deg, rgba(13,26,38,0.98) 0%, rgba(13,26,38,0.94) 65%, rgba(212,175,55,0.10) 100%) !important;
        border: 1px solid rgba(212,175,55,0.25);
        border-radius: 12px;
        padding: 1rem;
        margin-top: 0.75rem;
        box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    }

    .navbar .navbar-nav .nav-link {
        color: var(--white) !important;
    }
}

/* Overlay behind mobile menu for better visibility */
body.menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(13,26,38,0.6);
    backdrop-filter: blur(2px);
    z-index: 9; /* Below navbar (z-index: 10) */
}

.call-action-bg {
    --bs-bg-opacity: 1;
    background: linear-gradient(135deg, rgba(13,26,38,0.95) 0%, rgba(13,26,38,0.85) 60%, rgba(212,175,55,0.15) 100%) !important;
    border-top: 4px solid var(--gold);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5) !important;
    padding: 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-toggler:hover {
    border-color: var(--primary) !important;
}

/* تم تحديث لون الأيقونة في الكود التالي إلى الذهبي (D4AF37) */
.navbar-toggler:hover .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23D4AF37' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* شارات مميزة (مثل الموجودة في المدونة) */
.badge.bg-primary {
    background-color: var(--gold) !important;
    color: #fff;
}

/* Branded Footer Background */
.footer-brand {
    background: linear-gradient(135deg, rgba(13,26,38,0.98) 0%, rgba(13,26,38,0.94) 65%, rgba(212,175,55,0.12) 100%) !important;
    border-top: 4px solid var(--gold);
}

.footer-brand hr {
    border-color: rgba(255,255,255,0.2) !important;
}

/* Footer Social Icons - Brand Identity */
footer .social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: var(--primary);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

footer .social-icon i {
    color: var(--primary);
}

footer a:hover .social-icon {
    background-color: var(--primary);
    border-color: var(--primary);
}

footer a:hover .social-icon i {
    color: var(--white);
}

/* Arabic Logo Responsive Styles */
.logo-brand-ar {
    display: block;
    height: 120px;
    width: 120px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}
/* Keep square size across breakpoints */
@media (min-width: 576px) {
    .logo-brand-ar { height: 120px; width: 120px; }
}
@media (min-width: 768px) {
    .logo-brand-ar { height: 120px; width: 120px; }
}
@media (min-width: 992px) {
    .logo-brand-ar { height: 120px; width: 120px; }
}
@media (min-width: 1200px) {
    .logo-brand-ar { height: 120px; width: 120px; }
}

/* Footer Arabic Logo size same as navbar for consistency */
footer .logo-brand-ar {
    height: 120px;
    width: 120px;
}

/* Arabic numerals alignment helper */
html[lang="ar"] .ar-numerals {
    text-align: end;
}
