/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* themes */
:root {
    --bg-color: #828891;
    --text-color: #ffffff;
    --card-overlay: rgba(0,0,0,0.5);
    --sidebar-bg: #b1b7bee3;
    --sidebar-text: #000;
    --hover-bg: rgb(202, 201, 207);
    --form-bg: #ffffff50;
    --form-text: #000000;
    --input-bg: rgb(255, 255, 255);
    --btn-border: hsl(0, 0%, 100%);
    --btn-text: #ffffff;
    --model-color: white;
    --card-container-color: #111;
    --card-color: #1c1c1c;
    --card-content-color: white;
    --explore-color: white;
    --explore-hover-bg: white;
    --explore-hover-cn: black;
    --explore-hover-shd: 0 0 15px rgba(255, 255, 255, 0.6);
    --explore-border: white;
}

.dark {
    --bg-color: #000000;
    --text-color: #ff0000d4;
    --sidebar-bg: #1f1f1fe3;
    --sidebar-text: #ff0000d4;
    --hover-bg: #333;
    --form-bg: rgba(0,0,0,0.6);
    --form-text: #ff0000d4;
    --input-bg: rgb(255, 255, 255);
    --btn-border: #ff0000d4;
    --btn-text: #ff0000d4;
    --model-color: #ff0000d4;
    --card-container-color: #b0afaff1;
    --card-color: #1c1c1c;
    --card-content-color: white;
    --explore-color: white;
    --explore-hover-bg: white;
    --explore-hover-cn: black;
    --explore-hover-shd: 0 0 15px rgba(255, 255, 255, 0.6);
    --explore-border: white;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: 0.3s;
}

.Osama {
    background-image: url(Assets/Images/WhatsApp\ Image\ 2026-04-26\ at\ 8.04.17\ PM.jpeg);
    background-size: cover;
    transition: 0.3s;
}

.Passant {
    background-image: url(Assets/Images/background.webp);
    background-size: cover;
    transition: 0.3s;
}


/* ================= HEADER ================= */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: -10px;
    margin-bottom: -6px;
    display: flex;
    background-color: transparent;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 10001;
}

/* توزيع */
.menu-btn,
.icon {
    flex: 1;
}

.icon {
    display: flex;
    justify-content: flex-end;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    padding: 5px;
}

.name {
    color: var(--text-color);
    flex: 2;
    text-align: center;
    font-size: 28px;
    letter-spacing: 3px;
    font-family: 'Michroma', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.logo {
    width: 50px;
}

/* ================= MENU ================= */
.menu-btn {
    cursor: pointer;
    position: relative;
    z-index: 1100;
}

.menu-btn span {
    display: block;
    width: 30px;
    height: 1.8px;
    background-color: var(--text-color);
    margin: 5px 2px;
    transition: 0.4s;
}

.menu-btn.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    opacity: 0;
}

.menu-btn.open span:nth-child(2) {
    opacity: 0;
}

.menu-btn.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    opacity: 0;
}

.menu-btn.open pre {
    opacity: 0;
}


/* ================= SIDEBAR ================= */
.sidebar {
    background-color: var(--sidebar-bg);
    position: fixed;
    top: 0;
    left: -100%;
    width: 350px;
    height: 100%;
    z-index: 1001;
    transition: 0.4s;
    padding-top: 80px;
}

.sidebar.active {
    left: 0;
}

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    border-bottom: 2px solid #19121200;
}

.sidebar-links li a {
    color: var(--sidebar-text);
    display: flex;
    justify-content: space-between;
    padding: 16px 25px;
    text-decoration: none;
    border-bottom: solid 2px #ffffff82;
    font-family: 'Michroma', sans-serif;
    font-size: 18px;
    transition: 0.1s;
}

.sidebar-links li a:hover {
    transform: translateY(1px);
    background-color: var(--hover-bg);
    border-radius: 3px;
}

/* ================= OVERLAY ================= */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 1000;
}

.overlay.show {
    display: block;
}


/* ===== FOOTER ===== */

.footer {
    background: #0a0a0a;
    color: #fff;
    padding: 70px 40px 20px;
}

/* layout */
.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

/* columns */
.footer-col {
    flex: 1;
    min-width: 200px;
}

/* logo */
.footer-logo {
    font-size: 26px;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

/* titles */
.footer-col h3 {
    margin-bottom: 15px;
    font-size: 16px;
    position: relative;
}

/* underline animation */
.footer-col h3::after {
    content: "";
    width: 0;
    height: 2px;
    background: #fff;
    position: absolute;
    left: 0;
    bottom: -5px;
    transition: 0.4s;
}

.footer-col:hover h3::after {
    width: 40px;
}

/* links */
.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin: 8px 0;
}

.footer-col ul li a {
    text-decoration: none;
    color: #aaa;
    transition: 0.3s;
    position: relative;
}

/* hover line effect */
.footer-col ul li a::after {
    content: "";
    width: 0;
    height: 1px;
    background: #fff;
    position: absolute;
    left: 0;
    bottom: -2px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-col ul li a:hover::after {
    width: 100%;
}

/* socials */
.socials a {
    display: inline-block;
    margin-right: 12px;
    color: #aaa;
    font-size: 14px;
    letter-spacing: 1px;
    transition: 0.3s;
}

.socials a:hover {
    color: #fff;
    transform: translateY(-3px);
}

/* divider line */
.footer-line {
    height: 1px;
    background: #222;
    margin: 40px 0 20px;
}

/* bottom */
.footer-bottom {
    text-align: center;
    font-size: 15px;
    color: #777;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    .gallery {
        flex-direction: column;
        height: 250px;
    }
    
    .gallery img {
        width: 100%;
        height: 50%;
    }
    
    .content {
        height: 500px;
    }
    
    .model {
        font-size: 18px;
    }
    
    ul {
        font-size: 14px;
    }
    
    .button {
        font-size: 12px;
        padding: 8px 15px;
    }

    .footer-top {
        flex-direction: column;
    }

}




/* Find a dealer */
/* شريط البحث */
.map-section {
    background: #cf020200; /* نفس اللون الرمادي في صورتك */
    padding: 15px;
    display: flex;
    justify-content: flex-start;
}

.search-box input {
    margin-top: 60px;
    padding: 8px 15px;
    border: 1px solid var(--text-color);
    width: 250px;
    outline: none;
}

/* الخريطة - تأكد من وجود height */
#map {
    height: 500px; /* هذا السطر هو الأهم لظهور الخريطة */
    width: 100%;
    background-color: #333; /* لون مؤقت */
}

/* تصميم علامة المدينة */
.custom-label {
    background: var(--text-color);
    color: #000000;
    border: 1px solid #fff;
    border-radius: 5px;
    text-align: center;
    line-height: 25px;
    font-weight: bold;
    font-size: 12px;
}




/* Ahmed */
/* ================= CARDS ================= */
.cards-container {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding-bottom: 50px;
}

/* الكارت */
.card {
    width: 100%;
    max-width: 1160px;
    margin: auto;
    border-radius: 50px;
    overflow: hidden;
}

/* الصور */
.gallery {
    display: flex;
    height: 400px;
}

.gallery img {
    width: 50%;
    height: 100%;
    object-fit: cover;
}

/* المحتوى */
.content {
    position: relative;
    height: 380px;
    overflow: hidden;
}

/* الفيديو */
.vcarrera {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}


/* النص */
.convideo {
    position: relative;
    z-index: 2;
    color: white;
    padding: 30px;
}

.model {
    text-align: center;
    font-size: 24px;
    margin-bottom: 5px;
}

.ahmedul {
    padding: 20px;
    font-size: 18px;
}

/* الزرار */
.button {
    position: absolute;
    bottom: 100px;
    right: 75px;
    z-index: 3;
    padding: 10px 25px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
}




/* Anas */
/* --- Login Form Styles --- */
.login-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px; /* Space for fixed header */
}

.login-form {
    background: var(--form-bg);
    color: var(--form-text);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 5px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.login-form h2 {
    font-family: 'Michroma', sans-serif;
    color: var(--text-color);
    margin-bottom: 30px;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.input-group {
    margin-bottom: 20px;
    background: var(--input-bg);
    color: var(--);
}

.input-group input {
    width: 100%;
    padding: 15px;
    background: var(--input-bg);
    color: var(--form-text);
    border: none;
    outline: none;
    font-size: 1rem;
    border-radius: 1px;
    transition: 0.3s;
    border: 1px solid var(--btn-border);
}

.input-group input:focus {
    background: var(--form-bg);
    box-shadow: 0 0 10px;
}

.login-btn {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--btn-border);
    background: var(--form-bg);
    color: var(--btn-text);
    font-family: 'Michroma', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.4s;
    margin-top: 10px;
}

.login-btn:hover {
    background: var(--btn-text);
    color: var(--bg-color)
}

.form-footer {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 0.8rem;
}

.form-footer a {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.7;
    transition: 0.3s;
}

.form-footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

.form-footer span {
    color: var(--text-color)
}




/* Adham */
.acar1 {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

}

/* الطبقة اللي بتعمل التأثير */
.avideo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* 1. تأثير الضلمة عند الحواف (Vignette) */
    box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.9);

    /* 2. تدرج أسود من فوق وتحت عشان الكلام يبان (Gradient) */
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.5) 0%,
            transparent 20%,
            transparent 80%,
            rgba(0, 0, 0, 0.8) 100%);

    pointer-events: none;
    /* عشان ميعطلش أي ضغطة على الفيديو */
}

.aback1 {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.acontent {
    position: absolute;
    bottom: 15%;
    left: 8%;
    z-index: 5;
}

.amodel {
    font-size: 85px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: -2px;
    color: var(--model-color);
    font-family: 'Michroma', sans-serif;
    z-index: 5;
}

.adiscover-btn {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid var(--model-color);
    color: var(--model-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s ease;
    background: transparent;
}

.adiscover-btn:hover {
    background: rgba(255, 255, 255, .2);
    color: white;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, .5);

}

.amodel-title {
    color: var(--model-color);
    font-family: 'Michroma', sans-serif;
    padding: 50px 0;
    text-align: left;
    margin-left: 5%;
}

.acards-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 50px 5%;
    background-color: var(--card-container-color);
    /* متناسق مع خلفية الـ body */
}

.acard {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--card-color);
    min-width: 300px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    /* تكبير الكارد */
}

.acard:hover {
    transform: scale(1.03);
    /* الكارد بتكبر لما تقف عليها */
}

/* تداخل الصورة والفيديو */
.amedia-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
}

.acard-img,
.acard-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.acard-video {
    opacity: 0;
    /* الفيديو مخفي في البداية */
}

.acard:hover .acard-video {
    opacity: 1;
    /* الفيديو يظهر بدل الصورة */
}

/* زرار الإكسبلور والكلام */
.acard-content {
    padding: 20px;
    color: var(--model-color);
    font-family: 'Michroma', sans-serif;
}

.aexplore-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 20px;
    color: var(--explore-color);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* إطار شفاف خفيف */
    font-size: 14px;
    opacity: 0;
    /* الزرار مخفي */
    transform: translateY(15px);
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
}

/* تأثير الهوفر اللي حوالين الزرار */
.aexplore-btn:hover {
    background-color: var(--model-color);
    /* الزرار نفسه يبيض */
    color: var(--explore-hover-cn);
    /* الكتابة تسود */
    box-shadow: var(--explore-hover-shd);
    /* الهالة اللي حوالين الزرار */
    border-color: var(--explore-border);
    transform: translateY(-2px);
    /* رفعة بسيطة لفوق */
}

.acard:hover .aexplore-btn {
    opacity: 1;
    /* الزرار بيبان لما تقف على الكارد */
    transform: translateY(0);
}




/* Jana */
.car-btn {
    border-radius: 40px;

    padding: 14px 35px;
    
    background: transparent;
    backdrop-filter: blur(6px);

    
    color: white;
    text-decoration: none;
    font-family: 'Michroma', sans-serif;
    letter-spacing: 2px;
    font-size: 0.95rem;

    border: 1px solid rgba(255, 255, 255, 0.5);
    
    transition: 0.4s ease;
    z-index: 9999;
}

.car-btn:hover {
    background: white;
    color: black;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.video-background {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.77vh;
    height: 100vh;
    transform:translate(-50%,-50%);
    pointer-events: none !important;
}

.video-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.hero-text {
    position: absolute;
    left: 1%;
    transform:none;
    color: white; /* 👈 ده اللي يخلي الكلام أبيض */
    text-align: left;
    bottom: 30px; 
}

.hero-text h1 {
    font-size: 70px;
}

.hero-text p {
    font-size: 20px;
}

.hero-buttons {
    position: absolute;
    bottom: 60px;
    right: 5%;

    display: flex;
    gap: 15px; /* 👈 المسافة بين الزرارين */
}

.about-products {
    padding: 80px 10%;
    background: var(--bg-color);
    color: white;
    text-align: center;
}

/* العنوان مع الخطين */
.models-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.models-header .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, white, transparent);
    opacity: 0.5;
}

.models-header h2 {
    font-size: 40px;
    letter-spacing: 2px;
    color: white;
    font-family: 'Michroma', sans-serif;
    white-space: nowrap;
}

/* النص */
.about-text p {
    max-width: 700px;
    margin: auto;
    font-size: 16px;
    opacity: 0.8;
    line-height: 1.6;
}

/* صور العربيات */
.cars-grid {
    margin-top: 50px;
    display: flex;
    gap: 300px;
    justify-content: center;
    flex-wrap: wrap;
}

.car-item {
    position: relative;
    width: 450px;
    overflow: hidden;
    border-radius: 15px;
}

.car-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: 0.4s;
}

.car-item:hover img {
    transform: scale(1.05);
}

/* زرار اكسبلور */
.explore-btn {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);

    padding: 10px 25px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;

    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(6px);

    transition: 0.3s;
}

.explore-btn:hover {
    background: white;
    color: black;
}


.car-name {
    position: absolute;
    top: 15px;
    left: 15px;

    color: white;
    font-size: 18px;
    font-family: 'Michroma', sans-serif;
    letter-spacing: 2px;

    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);

    padding: 6px 12px;
    border-radius: 8px;
}

/* السكشن كله */
.about-cards {
    background: var(--bg-color);
    padding: 80px 10%;
    text-align: center;

    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}


/* الكارت */
.about-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    margin-top: -40px;
    padding: 30px;
    width: 300px;
    text-align: center;

    color: white;
    transition: 0.3s;
}

/* Hover */
.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

/* عنوان الكارت */
.about-card h3 {
    margin-bottom: 15px;
    letter-spacing: 1px;
    font-size: 18px;
}

/* النص */
.about-card p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
}

.features-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.features-header .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, white, transparent);
    opacity: 0.5;
}

.features-header h2 {
    margin-top: 70px;
    color: white;
    font-size: 32px;
    letter-spacing: 8px;
    font-family: 'Michroma', sans-serif;
    white-space: nowrap;
}
.features-section {
    background: var(--bg-color);
}




/* Osama */
table {
    border-collapse:collapse;
    border: 2px solid rgba(225, 225, 225, 0.3);
    overflow: hidden;
    border-radius: 10px;
    width: 100%;
    width: 1400px;
    margin: 50px auto;
    background-color: rgba(0, 0, 0, 0);
    color: white;
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(5px);
    margin-top: 100px;



}

thead {
    background-color:  #4a4f55;
}

table th,table td {
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(225, 225, 225, 0.2);
    border-collapse: collapse;
    backdrop-filter: blur(3px);
    font-size: blod;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}
table th {
    border-bottom: 3px solid #FFFDD0;
    background-color: rgba(225, 225, 225, 0.1);

}

table img {
    width: 300px;
    border-radius: 8px;
    border: 1px solid #333;
}

table img:hover {
    transform: scale(1.1);
    transition: 0.5s;
}

tbody tr:hover {
background-color: rgba(225, 225, 225, 0.15);
transition: 0.3;
}

thead th {
    font-size: 25px;
    color: white;
}

tbody tr {
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: blod;
}




/* Passant */
form {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    width: 400px;
    margin: auto;
    margin-top: 100px;
    
}

label {

    font-size: 15px;
}

input, select {

    padding: 10px;

    border-radius: 6px;

    border: none;

    outline: none;

    background: #2a2a2a;

    color: white;

    transition: 0.3s;

}


input:focus, select:focus {


    box-shadow: 0 0 12px #ce3c3c;

    border: 1px solid #ce3c3c;

    transition: 0.2s;

}


.book-btn {

    margin-top: 15px;

    margin-bottom: 20px;

    padding: 12px;

    border: none;

    border-radius: 8px;

    background: var(--sidebar-text);

    color: white;
    
    font-size: large;
    
    cursor: pointer;

    transition: 0.5s;

}

.book-btn:hover {

    background: white;
    color:black ;

    transform: scale(1.05);

}



.error-msg{ 
    color: red;
    display: block;
    margin-top: 1px;
}



/* Zizo */
/* Container */
.container {
    width: 80%;
    margin: auto;
    padding: 50px 0;
}

/* Sections */
.section {
    margin-top: 80px;
    margin-bottom: 40px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 15px;
    transition: 0.4s;
}

.section:hover {
  transform: translateY(-5px);
  background: #222;
  box-shadow: 0 10px 25px rgba(255,255,255,0.1);
}

.abd {
  color: #f5a623;
  margin-bottom: 15px;
}

.zizoul {
  padding-left: 20px;
}

.zizoul li {
  margin-bottom: 8px;
}

/* Button */
.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #f5a623;
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
}

.btn:hover {
  background: #fff;
  color: #000;
}




/* Arwa */
.arwa-btn {
    width: 10%;
    padding: 10px;
    background:#2eed0c ;
    color: var(--text-color);
    border: none;
    border-radius: 6px; 
}
.arwa-btn:hover {
    background: #666;
}
.arwa-btn {
    display: block;
    width: 30%;
    margin-bottom: 10px;
}
label {
    display: block;
    width: 50px;
}
input{
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
}
textarea {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #2a2a2a;
    }

#contactForm{
        width: 350px;
        margin: 100px auto;
        display: flex;
        flex-direction: column;
        align-items: center;
}