/* =============================================
   LUXURIA CARS - Premium Black & Gold Design
   ============================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,700&family=Inter:wght@300;400;500;600;700&family=Noto+Sans+Arabic:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Reset ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---------- CSS Variables ---------- */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: #141414;
    --bg-hover: #1e1e1e;
    --gold-primary: #d4a853;
    --gold-light: #e8c76a;
    --gold-dark: #b8922f;
    --gold-gradient: linear-gradient(135deg, #b8922f, #d4a853, #f0d78c, #d4a853, #b8922f);
    --gold-shimmer: linear-gradient(90deg, #d4a853, #f0d78c, #d4a853);
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --text-muted: #666666;
    --border-color: rgba(212, 168, 83, 0.15);
    --border-gold: rgba(212, 168, 83, 0.4);
    --shadow-gold: 0 0 30px rgba(212, 168, 83, 0.1);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.4);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-arabic: 'Noto Sans Arabic', 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- RTL Support ---------- */
[dir="rtl"] {
    font-family: var(--font-arabic);
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 {
    font-family: var(--font-arabic);
}

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

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
    background: var(--gold-gradient);
    border-radius: 10px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: var(--gold-primary);
    transition: var(--transition);
}
a:hover { color: var(--gold-light); }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---------- Utility Classes ---------- */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

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

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-header h2 span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gold-line {
    width: 80px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 16px auto;
    border-radius: 10px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-xl);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.btn-gold {
    background: var(--gold-gradient);
    color: #0a0a0a;
    box-shadow: 0 4px 20px rgba(212, 168, 83, 0.3);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 83, 0.5);
    color: #0a0a0a;
}

.btn-outline {
    background: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
}
.btn-outline:hover {
    background: var(--gold-primary);
    color: #0a0a0a;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
    background: #1ebe57;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}
.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.navbar-logo img {
    height: 55px;
    transition: var(--transition);
}
.navbar.scrolled .navbar-logo img {
    height: 45px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.navbar-menu a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: var(--radius-xl);
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.3px;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--gold-primary);
    background: rgba(212, 168, 83, 0.08);
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    border-radius: 10px;
    transition: var(--transition);
}
.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 30px;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid var(--border-color);
}
[dir="rtl"] .lang-switcher {
    margin-left: 0;
    margin-right: 16px;
    padding-left: 0;
    padding-right: 16px;
    border-left: none;
    border-right: 1px solid var(--border-color);
}

.lang-switcher a {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    letter-spacing: 1px;
}
.lang-switcher a.active,
.lang-switcher a:hover {
    color: var(--gold-primary);
    background: rgba(212, 168, 83, 0.1);
}

/* Mobile Menu Toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}
.navbar-toggle span {
    width: 28px;
    height: 2px;
    background: var(--gold-primary);
    border-radius: 10px;
    transition: var(--transition);
}
.navbar-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}
.navbar-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

/* YouTube Video Background */
.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-video-wrap iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110vw;
    height: 110vh;
    min-width: 110vw;
    min-height: 110vh;
    transform: translate(-50%, -50%);
    border: none;
    object-fit: cover;
}

/* Dark cinematic overlay on top of video */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.45) 40%,
        rgba(0, 0, 0, 0.55) 70%,
        rgba(10, 10, 10, 0.85) 100%
    );
    pointer-events: none;
}

/* Gold subtle radial glow on top of overlay */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse at 50% 50%, rgba(212, 168, 83, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold-primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-20vh) scale(1); }
}

/* Keep video aspect ratio on all screens */
@media (min-aspect-ratio: 16/9) {
    .hero-video-wrap iframe {
        width: 110vw;
        height: calc(110vw * 9 / 16);
        min-height: 110vh;
    }
}
@media (max-aspect-ratio: 16/9) {
    .hero-video-wrap iframe {
        height: 110vh;
        width: calc(110vh * 16 / 9);
        min-width: 110vw;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 900px;
}

.hero-logo {
    width: 200px;
    margin: 0 auto 30px;
    animation: fadeInDown 1s ease-out;
    filter: drop-shadow(0 0 40px rgba(212, 168, 83, 0.3));
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 16px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero h1 span {
    display: block;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 12px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--gold-primary);
    font-style: italic;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.5s both;
    font-family: var(--font-heading);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    margin-top: 60px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.hero-scroll svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: var(--gold-primary);
    stroke-width: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: var(--transition-slow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(212, 168, 83, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gold-gradient);
    transform: scale(1.1);
}

.service-card:hover .service-icon svg {
    stroke: #0a0a0a;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--gold-primary);
    stroke-width: 1.8;
    fill: none;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 600;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =============================================
   CARS SECTION / LISTING
   ============================================= */
.cars-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
    align-items: center;
}

.cars-filters .filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cars-filters select,
.cars-filters input[type="text"] {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 20px;
    border-radius: var(--radius-xl);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
    min-width: 160px;
}

.cars-filters select:focus,
.cars-filters input[type="text"]:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
}

.cars-filters select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding-left: 45px;
}
[dir="rtl"] .search-box input {
    padding-left: 20px;
    padding-right: 45px;
}

.search-box svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    stroke: var(--text-muted);
    fill: none;
    stroke-width: 2;
}
[dir="rtl"] .search-box svg {
    left: auto;
    right: 16px;
}

/* Cars Grid */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
}

.car-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.car-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold);
}

.car-card-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.car-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.car-card:hover .car-card-image img {
    transform: scale(1.08);
}

.car-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
[dir="rtl"] .car-card-badge {
    left: auto;
    right: 16px;
}

.badge-available { background: rgba(37, 211, 102, 0.9); color: #fff; }
.badge-sold { background: rgba(239, 68, 68, 0.9); color: #fff; }
.badge-reserved { background: rgba(251, 191, 36, 0.9); color: #0a0a0a; }

.car-card-featured {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(212, 168, 83, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
[dir="rtl"] .car-card-featured {
    right: auto;
    left: 16px;
}

.car-card-featured svg {
    width: 18px;
    height: 18px;
    fill: #0a0a0a;
}

.car-card-images-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    padding: 5px 12px;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 4px;
}
[dir="rtl"] .car-card-images-count {
    right: auto;
    left: 12px;
}

.car-card-body {
    padding: 24px;
}

.car-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
    font-family: var(--font-body);
}

.car-card-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.car-card-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.car-spec {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.car-spec svg {
    width: 16px;
    height: 16px;
    stroke: var(--gold-primary);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

.car-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.car-card-price {
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.car-card-price small {
    font-size: 0.75rem;
    font-weight: 400;
    -webkit-text-fill-color: var(--text-muted);
}

/* =============================================
   CAR DETAIL PAGE
   ============================================= */
.car-detail {
    padding-top: 100px;
}

.car-detail-header {
    margin-bottom: 40px;
}

.car-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.car-detail-back:hover {
    color: var(--gold-primary);
}

.car-detail-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 8px;
}

.car-detail-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Image Gallery */
.car-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.car-gallery-main {
    height: 500px;
    cursor: pointer;
    overflow: hidden;
}

.car-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.car-gallery-main:hover img {
    transform: scale(1.03);
}

.car-gallery-thumbs {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 12px;
}

.car-gallery-thumb {
    overflow: hidden;
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.car-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    opacity: 0.7;
}
.car-gallery-thumb:hover img,
.car-gallery-thumb.active img {
    opacity: 1;
    transform: scale(1.05);
}

/* Car Info Layout */
.car-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.car-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.car-spec-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.car-spec-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--gold-primary);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

.car-spec-item .spec-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.car-spec-item .spec-value {
    font-weight: 600;
    font-size: 1rem;
}

/* Car Detail Sidebar */
.car-detail-sidebar {
    position: sticky;
    top: 100px;
}

.car-price-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 20px;
}

.car-price-card .price-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.car-price-card .price-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.car-price-card .btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 12px;
}

.car-description {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 30px;
}

.car-description h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    font-family: var(--font-body);
}

.car-description p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* =============================================
   GALLERY PAGE
   ============================================= */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 10px 24px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--gold-primary);
    color: #0a0a0a;
    border-color: var(--gold-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-caption {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.lightbox-close:hover {
    background: var(--gold-primary);
}
.lightbox-close svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.lightbox-nav:hover {
    background: var(--gold-primary);
}
.lightbox-nav svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-family: var(--font-body);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.about-stat {
    text-align: center;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.about-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-heading);
}

.about-stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--border-gold);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

/* =============================================
   CONTACT SECTION / PAGE
   ============================================= */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(212, 168, 83, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--gold-primary);
    fill: none;
    stroke-width: 2;
}

.contact-info-item h4 {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Alert Messages */
.alert {
    padding: 16px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25d366;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.footer-social a svg {
    width: 18px;
    height: 18px;
    fill: var(--text-secondary);
    transition: var(--transition);
}

.footer-social a:hover svg {
    fill: #0a0a0a;
}

.footer-column h4 {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--gold-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-column ul a:hover {
    color: var(--gold-primary);
    padding-left: 4px;
}
[dir="rtl"] .footer-column ul a:hover {
    padding-left: 0;
    padding-right: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 900;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulseWhatsapp 2s infinite;
}
[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 30px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

@keyframes pulseWhatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =============================================
   PAGE HEADER (for inner pages)
   ============================================= */
.page-header {
    padding: 140px 0 60px;
    text-align: center;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(212, 168, 83, 0.05) 0%, transparent 70%);
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 12px;
    position: relative;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .cars-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .about-content { grid-template-columns: 1fr; gap: 40px; }
    .contact-content { grid-template-columns: 1fr; }
    .car-detail-content { grid-template-columns: 1fr; }
    .car-gallery { grid-template-columns: 1fr; }
    .car-gallery-main { height: 350px; }
    .car-gallery-thumbs {
        grid-template-rows: none;
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-stats { gap: 30px; }
}

@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: rgba(17, 17, 17, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 4px;
        transition: var(--transition-slow);
        border-left: 1px solid var(--border-color);
    }
    [dir="rtl"] .navbar-menu {
        right: auto;
        left: -100%;
        border-left: none;
        border-right: 1px solid var(--border-color);
    }
    .navbar-menu.active {
        right: 0;
    }
    [dir="rtl"] .navbar-menu.active {
        right: auto;
        left: 0;
    }
    .navbar-menu a {
        font-size: 1.1rem;
        padding: 14px 20px;
        width: 100%;
    }
    .lang-switcher {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        padding-top: 16px;
        border-top: 1px solid var(--border-color);
        margin-top: 16px;
        justify-content: center;
    }
    [dir="rtl"] .lang-switcher {
        margin-right: 0;
        padding-right: 0;
        border-right: none;
    }
    .navbar-toggle { display: flex; }

    .hero h1 { font-size: 2.2rem; }
    .hero-logo { width: 140px; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .hero-buttons { flex-direction: column; align-items: center; }

    .services-grid { grid-template-columns: 1fr; }
    .cars-grid { grid-template-columns: 1fr; }
    .cars-filters { flex-direction: column; }
    .search-box { min-width: 100%; }
    .car-specs-grid { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-stats { grid-template-columns: 1fr; gap: 16px; }

    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

    .section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .car-card-image { height: 200px; }
    .hero-logo { width: 120px; }
    .car-gallery-main { height: 250px; }
    .car-gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
    .btn-lg { padding: 14px 28px; font-size: 0.95rem; }
}

/* =============================================
   LOADING SKELETON
   ============================================= */
.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-hover) 50%, var(--bg-tertiary) 75%);
    background-size: 200% auto;
    animation: skeletonShimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeletonShimmer {
    to { background-position: -200% 0; }
}

/* =============================================
   NO RESULTS
   ============================================= */
.no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.no-results svg {
    width: 60px;
    height: 60px;
    stroke: var(--text-muted);
    fill: none;
    stroke-width: 1.5;
    margin-bottom: 16px;
}

.no-results h3 {
    font-size: 1.3rem;
    font-family: var(--font-body);
    margin-bottom: 8px;
    color: var(--text-secondary);
}
