:root {
    --deep-red: #C41E3A;
    --crisp-white: #FFFFFF;
    --golden-yellow: #FFB800;
    --dark-bg: #0f0f0f;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    font-family: 'Tajawal', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

body[lang="en"] {
    font-family: 'Inter', sans-serif;
}

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

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

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

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.text-red { color: var(--deep-red); }
.text-white { color: var(--crisp-white); }

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: var(--transition);
}

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

.lang-toggle button {
    background: transparent;
    border: 1px solid var(--crisp-white);
    color: var(--crisp-white);
    padding: 5px 12px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 700;
    transition: var(--transition);
}

.lang-toggle button:hover {
    background: var(--crisp-white);
    color: var(--dark-bg);
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(15, 15, 15, 0.4) 0%, rgba(15, 15, 15, 0.9) 100%);
}

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

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: var(--transition);
}

.btn-yellow {
    background-color: var(--golden-yellow);
    color: #444;
}

.btn-yellow:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 184, 0, 0.3);
}

/* Brand Showcase Carousel */
.brand-showcase {
    background: #050505;
    padding: 40px 0;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

.carousel-container {
    width: 100%;
}

.carousel-track {
    display: flex;
    animation: scroll 20s linear infinite;
    gap: 100px;
}

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

[dir="rtl"] .carousel-track {
    animation: scroll-rtl 20s linear infinite;
}

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

.brand-item {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

/* Trust Bar */
.trust-bar {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.trust-bar .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
    padding: 20px;
}

.trust-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--deep-red);
}

.trust-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Categories Section */
.categories-section {
    padding: 100px 0;
    text-align: center;
}

.categories-section h2 {
    font-size: 3rem;
    margin-bottom: 50px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 50px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--deep-red);
    background: rgba(255, 255, 255, 0.15);
}

.category-card img {
    width: 200px;
    height: auto;
    margin-bottom: 30px;
    transition: var(--transition);
}

.category-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.category-card p {
    color: var(--text-secondary);
}

/* Footer & Contact */
footer {
    background: #000;
    padding: 80px 50px 20px;
    border-top: 2px solid var(--deep-red);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-info h3 {
    font-size: 2rem;
    margin-bottom: 25px;
}

.footer-info p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.footer-info i {
    color: var(--deep-red);
    margin-inline-end: 10px;
}

.footer-contact h4 {
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.footer-contact p {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-contact .btn {
    margin-top: 20px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 20px;
    color: #666;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.1rem; }
    .glass-nav { padding: 15px 20px; }
    .category-grid { padding: 0 20px; }
}
