/* Styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body { line-height: 1.6; }

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: #333;
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo span { color: #00d4ff; }

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
}

/* Menu Burger (caché sur PC) */
.burger { display: none; cursor: pointer; }

.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), 
    url('./car1.jpg') no-repeat bottom/cover;        color: white;
}

.btn {
    margin-top: 20px;
    padding: 10px 30px;
    background: #00d4ff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}
/* Container principal */
.contact-section {
    padding: 80px 10%;
    background: #f0f2f5;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-wrapper {
    display: flex;
    background: white;
    border-radius: 20px;
    overflow: hidden; /* Bach l'image matkhroujch 3la l'card */
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    max-width: 900px;
    width: 100%;
}

/* --- DESIGN PC (Visual) --- */
.contact-visual {
    flex: 1;
    background: linear-gradient(45deg, #1a1a1a, #333);
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('./car2.jpeg'); /* Image de code/tech */
    background-size: cover;
    background-position: center;
}

.contact-visual h3 span { color: #00d4ff; }

.car-badge {
    margin-top: 20px;
    padding: 5px 15px;
    border: 1px solid #00d4ff;
    display: inline-block;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* --- DESIGN CARD (Infos) --- */
.contact-card {
    flex: 1;
    padding: 40px;
    text-align: center;
}

.info-list { margin: 30px 0; }
.info-item { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; justify-content: center; }

.btn-whatsapp-big {
    display: block;
    background: #25D366;
    color: white;
    padding: 15px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    transition: 0.3s;
}

/* --- RESPONSIVE (Mobile) --- */
@media screen and (max-width: 768px) {
    .contact-visual {
        display: none; /* Katmchi l'jiha dial l'image f mobile */
    }
    
    .contact-wrapper {
        box-shadow: none;
        background: transparent;
    }

    .contact-card {
        background: white;
        border-radius: 20px;
        
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), 
    url('./responsivecar.jpg') no-repeat center/cover ;
    /* background-size: cover;
    background-repeat: no-repeat;
    background-position: center; */
    
         color: white;
}
}




/* --- Style du Footer --- */
.main-footer {
    background: #1a1a1a; /* Noir profond */
    color: #ffffff;
    padding: 50px 10% 20px 10%;
    text-align: center;
}

.footer-content {
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-logo span {
    color: #00d4ff; /* Le bleu Akroud Coding */
}

.footer-content p {
    color: #b3b3b3;
    max-width: 500px;
    margin: 0 auto 20px auto;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid #333;
    padding: 8px 15px;
    border-radius: 5px;
    transition: 0.3s ease;
}

.social-icon:hover {
    background: #00d4ff;
    border-color: #00d4ff;
    color: #1a1a1a;
}

/* --- Barre de copyright --- */
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #777;
}


.brands-section {
    padding: 50px 10%;
    background: #333;
    text-align: center;
}
.section-titlee{
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #fff;
}

.brands-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap; /* Bach f mobile i-hbtou l-te7t */
    margin-top: 30px;
}

.brand-box {
    
    width: 100px; /* 9yas l-box */
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%); /* Kay-bano gris f l-lowel bach i-jiw pro */
    opacity: 1;

}

.brand-box img {
    max-width: 100%; /* L-image mat-khroujch 3la l-box */
    max-height: 80px;
    object-fit: contain; /* Bach l-image mat-t-kmechch (pas de déformation) */
    opacity: 1;

}

/* Fach l-client i-douz l-mouse foq l-logo */
.brand-box:hover {
    transform: scale(1.15); /* Kay-kber chwiya */
    filter: grayscale(0%); /* Kay-welli b l-alwan dyalo */
    opacity: 1;
}

/* Responsive Mobile */
@media screen and (max-width: 600px) {
    .brands-container {
        gap: 20px;
    }
    .brand-box {
        width: 80px;
    }
}










/* Responsive Footer */
@media screen and (max-width: 600px) {
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-icon {
        width: 150px;
    }
}
/* RESPONSIVITÉ (Tablettes et Mobiles) */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        height: 92vh;
        top: 8vh;
        background: #333;
        flex-direction: column;
        width: 50%;
        height: 120%;
        transform: translateX(100%);
        transition: 0.5s;border-radius: 10px;
        
    }

    .nav-links.nav-active { transform: translateX(0%); }

    .burger { display: block; 
    }
}

/* Section Services */
.services-section {
    padding: 80px 10%;
    background: #f4f4f4;
    text-align: center;
}

.section-title {
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #333;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid #00d4ff;
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 10px;
    color: #333;
}

.service-card p {
    color: #666;
    font-size: 0.9rem;
}
