/* ============================================
   Najmat Anqara - Luxury Auto Parts Advertising
   Light Theme | Premium Design
   ============================================ */

/* ----- CSS Variables ----- */
:root {
    --gold: #1B4F72;
    --gold-dark: #0E3A5C;
    --gold-light: #2E86C1;
    --gold-gradient: linear-gradient(135deg, #1B4F72, #0E3A5C);
    --black: #1A1A1A;
    --dark: #2A2A2A;
    --dark-gray: #4A4A4A;
    --gray: #7A7A7A;
    --light-gray: #A0A0A0;
    --border: #E5E5E5;
    --border-light: #F0F0F0;
    --bg: #FFFFFF;
    --bg-cream: #F0F4F8;
    --bg-light: #F5F7FA;
    --bg-dark-cream: #E8EDF2;
    --text: #2A2A2A;
    --text-muted: #7A7A7A;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);
    --shadow-xl: 0 40px 80px rgba(0,0,0,0.12);
    --shadow-gold: 0 8px 30px rgba(27,79,114,0.2);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease;
    --font-en: 'Poppins', sans-serif;
    --font-ar: 'Noto Kufi Arabic', sans-serif;
    --section-padding: 120px 0;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-en);
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[dir="rtl"] body {
    font-family: var(--font-ar);
}

::selection {
    background: var(--gold);
    color: var(--white);
}

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    position: relative;
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(30px, 4.5vw, 52px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.15;
    color: var(--black);
}

.section-title span {
    color: var(--gold);
}

.section-desc {
    color: var(--gray);
    font-size: 16px;
    max-width: 640px;
    line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

/* ----- Preloader ----- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    transition: opacity 0.5s, visibility 0.5s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ----- Header ----- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
}

.logo-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-gradient);
    border-radius: 12px;
    color: var(--white);
    font-size: 20px;
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

.logo-text {
    color: var(--black);
    letter-spacing: -0.5px;
}

/* Navigation */
.nav-list {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-gray);
    position: relative;
    padding: 6px 0;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-dark);
}

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

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark-gray);
    transition: var(--transition);
    cursor: pointer;
    background: transparent;
}

.lang-switch:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
    background: rgba(27,79,114,0.05);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 90px;
    background: var(--bg-cream);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: var(--bg-cream);
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
    z-index: 0;
}
.hero-slide.active {
    opacity: 1;
}
.hero-slide:nth-child(2) { z-index: 0; }

.hero-bg .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.40) 50%,
        rgba(0,0,0,0.55) 100%
    );
    z-index: 2;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0.03;
    background-image:
        radial-gradient(circle at 20% 50%, var(--gold) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, var(--gold) 1px, transparent 1px);
    background-size: 50px 50px;
}

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

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}

.hero-shape:nth-child(1) {
    width: 600px;
    height: 600px;
    background: var(--gold);
    top: -200px;
    right: -100px;
    animation: floatShape1 25s ease-in-out infinite;
}

.hero-shape:nth-child(2) {
    width: 400px;
    height: 400px;
    background: var(--gold);
    bottom: -100px;
    left: -100px;
    animation: floatShape2 20s ease-in-out infinite;
}

.hero-shape:nth-child(3) {
    width: 200px;
    height: 200px;
    background: var(--gold);
    top: 40%;
    right: 15%;
    animation: floatShape3 15s ease-in-out infinite;
}

@keyframes floatShape1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-50px, 30px) scale(1.05); }
    66% { transform: translate(30px, -50px) scale(0.95); }
}

@keyframes floatShape2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -40px) scale(1.03); }
    66% { transform: translate(-30px, 20px) scale(0.97); }
}

@keyframes floatShape3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -30px); }
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 90px);
}

.hero-content {
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(28px, 4.5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #fff;
}

.hero h1 span {
    color: var(--gold);
    position: relative;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(255,215,0,0.25);
    border-radius: 4px;
    z-index: -1;
}

.hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 34px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(27,79,114,0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(27,79,114,0.4);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--dark);
}

.hero .btn-outline {
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}
.hero .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
    background: rgba(27,79,114,0.05);
}

.btn-outline i {
    color: var(--gold);
}

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

.btn-secondary:hover {
    background: var(--black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}



/* ============================================
   SERVICES / FEATURES
   ============================================ */
.services {
    background: var(--white);
    border-top: 1px solid var(--border-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    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);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(27,79,114,0.2);
}

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

.service-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27,79,114,0.1);
    border-radius: 20px;
    margin: 0 auto 24px;
    font-size: 28px;
    color: var(--gold);
    transition: var(--transition);
}

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

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--bg-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-image-wrap:hover img {
    transform: scale(1.03);
}

.about-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(27,79,114,0.2);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.about-experience {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    min-width: 140px;
}

.about-experience .number {
    font-size: 36px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.about-experience .label {
    font-size: 12px;
    color: var(--gray);
    margin-top: 4px;
    font-weight: 500;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-content p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 16px;
}

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

.stat-item {
    text-align: center;
    padding: 20px 12px;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.stat-item:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1.1;
}

.stat-label {
    font-size: 11px;
    color: var(--gray);
    margin-top: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   CATALOG / PARTS SECTION
   ============================================ */
.catalog {
    background: var(--white);
}

.catalog-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    background: var(--white);
    color: var(--dark-gray);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--gold);
    background: var(--gold-gradient);
    color: var(--white);
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 50px;
}

.part-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.part-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(27,79,114,0.2);
}

.part-card.featured {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold);
}

.part-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: var(--gold-gradient);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.part-image {
    height: 240px;
    overflow: hidden;
    position: relative;
    background: var(--bg-cream);
}

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

.part-card:hover .part-image img {
    transform: scale(1.06);
}

.part-info {
    padding: 28px;
}

.part-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
}

.part-info p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.part-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.part-feature {
    padding: 4px 12px;
    background: rgba(200,168,78,0.08);
    border: 1px solid rgba(27,79,114,0.15);
    border-radius: 50px;
    font-size: 11px;
    color: var(--gold-dark);
    font-weight: 500;
}

.part-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--black);
    color: var(--white);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.part-btn:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
    background: var(--bg-cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

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

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

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

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

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

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

.gallery-overlay span {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
}

/* ============================================
   FEATURES EXTENDED
   ============================================ */
.features-extended {
    background: var(--white);
    border-top: 1px solid var(--border-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.feature-block {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--bg-cream);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.feature-block:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(27,79,114,0.2);
}

.feature-block-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27,79,114,0.1);
    border-radius: 16px;
    font-size: 24px;
    color: var(--gold);
    flex-shrink: 0;
}

.feature-block h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.feature-block p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* ============================================
   BRANDS SECTION
   ============================================ */
.brands {
    background: var(--bg-cream);
    padding: 60px 0;
}

.brands-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    opacity: 0.5;
}

.brand-item {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 12px 24px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-top: 50px;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    background: var(--bg-cream);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-sm);
}

.contact-item .icon-wrap {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27,79,114,0.1);
    border-radius: 14px;
    color: var(--gold);
    font-size: 20px;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .icon-wrap {
    background: var(--gold-gradient);
    color: var(--white);
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 14px;
    color: var(--gray);
}

.contact-form-wrap {
    background: var(--bg-cream);
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.contact-form-wrap h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.contact-form-wrap .form-desc {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 28px;
}

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

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.form-group label .required {
    color: #e74c3c;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(27,79,114,0.1);
}

.form-control::placeholder {
    color: var(--light-gray);
}

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

.form-submit {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 15px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand .logo-icon {
    box-shadow: none;
}

.footer-brand > p {
    color: rgba(255,255,255,0.55);
    font-size: 14px;
    line-height: 1.8;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.55);
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    color: rgba(255,255,255,0.55);
    font-size: 14px;
    margin-bottom: 16px;
}

.footer-contact li i {
    color: var(--gold);
    margin-top: 4px;
    width: 16px;
}

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

.footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: rgba(255,255,255,0.55);
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gold-gradient);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.35);
    font-size: 13px;
}

/* ----- Scroll to Top ----- */
.scroll-top {
    position: fixed;
    bottom: 90px;
    left: 24px;
    z-index: 999;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-gradient);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
}

[dir="rtl"] .scroll-top {
    left: auto;
    right: 24px;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(27,79,114,0.4);
}

/* ----- Pagination ----- */
.pagination .btn-sm{padding:8px 16px;font-size:13px}

/* ----- Map Section ----- */
.map-section{padding:60px 0 0;background:var(--bg-cream)}
.map-title{font-size:22px;font-weight:700;margin-bottom:6px;color:var(--dark);text-align:center}
.map-desc{font-size:14px;color:var(--gray);margin-bottom:30px;text-align:center}
.map-container{max-width:800px;margin:0 auto;border-radius:12px;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,0.08)}
.map-container iframe{display:block}

/* ----- WhatsApp Float ----- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 24px;
}

.whatsapp-float.visible {
    opacity: 1;
    transform: scale(1);
}

.whatsapp-float a {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.animate-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.animate-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.animate-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.animate-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }

.animate-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   TOAST
   ============================================ */
.toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--white);
    border: 1px solid var(--border);
    padding: 16px 28px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-lg);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.success .toast-icon { color: #22c55e; }
.toast.error .toast-icon { color: #ef4444; }

.toast-icon { font-size: 20px; }
.toast-message { font-size: 14px; color: var(--text); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; gap: 50px; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .about-experience { bottom: 10px; right: 10px; }
    .about-experience .number { font-size: 28px; }
    .hero .container { align-items: flex-start; padding-top: 120px; }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .nav {
        position: fixed;
        top: 74px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 24px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
        box-shadow: var(--shadow-md);
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .nav-link { font-size: 16px; }

    .menu-toggle { display: flex; }

    .hero h1 { font-size: 36px; }
    .hero p { font-size: 15px; }

    .services-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .parts-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px; }
    .form-row { grid-template-columns: 1fr; }
    .hero-badge { font-size: 10px; padding: 6px 16px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 30px; }
    .hero-btns { flex-direction: column; }
    .btn { justify-content: center; padding: 14px 28px; }
    .section-title { font-size: 26px; }
    .about-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stat-item { padding: 16px 12px; }
    .stat-number { font-size: 24px; }
}

/* ----- Lightbox ----- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.lightbox.open {
    display: flex;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.lightbox-close:hover {
    opacity: 1;
}
.nav-link,
.lang-switch {
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 8px 16px;
    transition: all 0.3s;
}
.lang-switch {
    padding: 8px 14px;
}
.nav-link:hover,
.lang-switch:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.3);
}
.header.scrolled .nav-link,
.header.scrolled .lang-switch {
    border-color: rgba(0,0,0,0.10);
}
.header.scrolled .nav-link:hover,
.header.scrolled .lang-switch:hover {
    background: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.15);
}