:root {
    --bg-dark: #0a0a0a;
    --bg-card: rgba(20, 20, 20, 0.8);
    --accent-red: #ff3131;
    --text-white: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-ar);
    line-height: 1.6;
    overflow-x: hidden;
    transition: all 0.3s ease;
}

/* LTR Support */
body.en-mode {
    direction: ltr;
    font-family: var(--font-en);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--accent-red);
}

.logo-en {
    display: none;
    font-family: var(--font-en);
}

body.en-mode .logo-ar { display: none; }
body.en-mode .logo-en { display: inline; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

.floating-toggle {
    background: var(--accent-red);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.2s;
}

.floating-toggle:hover {
    transform: scale(1.1);
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.main-headline {
    font-size: 4rem;
    margin-bottom: 10px;
    color: var(--text-white);
    text-shadow: 0 0 20px rgba(255, 49, 49, 0.5);
}

.sub-headline {
    font-size: 1.5rem;
    color: var(--accent-red);
    font-weight: 300;
    letter-spacing: 2px;
}

/* About Section */
.section {
    padding: 100px 0;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.title-glow {
    color: var(--accent-red);
    margin-bottom: 25px;
    font-size: 2.5rem;
    text-shadow: 0 0 10px rgba(255, 49, 49, 0.3);
}

/* Brands Carousel */
.carousel-container {
    overflow: hidden;
    position: relative;
    padding: 40px 0;
    background: rgba(255,255,255,0.02);
    direction: ltr; /* Force LTR for the slider container */
}

.carousel-track {
    display: flex;
    gap: 80px;
    animation: scroll 30s linear infinite;
    width: max-content;
    direction: ltr; /* Force LTR for the slider track */
}

.brand-item {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dim);
    letter-spacing: 5px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.brand-item:hover {
    opacity: 1;
    color: var(--accent-red);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

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

.service-card {
    padding: 40px;
    text-align: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 49, 49, 0.05);
    border-color: var(--accent-red);
    box-shadow: 0 0 30px rgba(255, 49, 49, 0.2);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-red);
    margin-bottom: 20px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-primary { background: var(--accent-red); color: white; margin-top: 30px; display: inline-flex; }
.btn-whatsapp { background: #25D366; color: white; }
.btn-call { background: #3182ce; color: white; }

.btn:hover { transform: scale(1.05); }

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .main-headline { font-size: 2.5rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
