:root {
    --primary-color: #d4af37;
    /* Gold */
    --primary-dark: #aa8c2c;
    --secondary-color: #000000;
    /* Black */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #111111;
    --bg-light: #f4f4f4;
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Playfair Display', serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-ar);
    background-color: var(--secondary-color);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

body[dir="ltr"] {
    font-family: 'Roboto', sans-serif;
    /* Fallback for English body text if needed, or keep Cairo */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: var(--font-ar);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    z-index: 1000;
    border-bottom: 1px solid var(--primary-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 600;
    transition: var(--transition);
}

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

.lang-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-family: inherit;
}

.lang-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('../assets/images/hero_background_limo.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

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

.hero h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: var(--font-en);
    /* Use serif for title for elegance */
}

.hero .slogan {
    font-size: 1.5rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Sections General */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-header .line {
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

.bg-dark {
    background-color: #1a1a1a;
}

/* About Section */
.about-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #ccc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    padding: 20px;
    border: 1px solid #333;
    border-radius: 10px;
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #222;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    border-bottom-color: var(--primary-color);
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: #aaa;
    font-size: 0.95rem;
}

/* Fleet Section */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.fleet-item {
    background: #222;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.fleet-item:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.fleet-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.fleet-info {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fleet-info h3 {
    font-size: 1.1rem;
}

.badge {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Testimonials */
.testimonials-slider {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: var(--primary-color) #222;
}

.testimonials-slider::-webkit-scrollbar {
    height: 8px;
}

.testimonials-slider::-webkit-scrollbar-track {
    background: #222;
}

.testimonials-slider::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 4px;
}

.testimonial-card {
    background: #222;
    padding: 30px;
    border-radius: 10px;
    min-width: 300px;
    /* Fixed width for scrolling */
    max-width: 350px;
    text-align: center;
    position: relative;
    scroll-snap-align: center;
    flex-shrink: 0;
    /* Prevent shrinking */
    border: 1px solid #333;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: #ddd;
}

.testimonial-card h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stars {
    color: var(--primary-color);
}

/* Contact Section */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info,
.contact-form-wrapper {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 15px;
    /* RTL default */
}

body[dir="ltr"] .info-item i {
    margin-left: 0;
    margin-right: 15px;
}

.info-item h4 {
    margin-bottom: 5px;
    color: var(--text-light);
}

.info-item p {
    color: #ccc;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    background: #222;
    border: 1px solid #444;
    color: var(--text-light);
    border-radius: 5px;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Form Validation Styles */
.contact-form input.input-error,
.contact-form select.input-error {
    border-color: #e74c3c;
}

.error-msg {
    display: none;
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
}

.form-message {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(39, 174, 96, 0.2);
    border: 1px solid #27ae60;
    color: #27ae60;
}

.form-message.error {
    display: block;
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid #e74c3c;
    color: #e74c3c;
}

.contact-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Footer */
footer {
    background: #000;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #333;
}

footer p {
    color: #777;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000;
        padding: 20px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

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

    .contact-container {
        flex-direction: column;
    }
}