/* Styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PT Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
}

header{}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

header{background-color: white; display: flex; width: 100%;}

label a{
    text-decoration: none;   
}

.nav-menu {
    display: flex;
    width: 100%;
    justify-content: right;
    align-items: center;
    position: sticky;
    
    list-style: none;
}

.nav-menu .connexion{

    text-decoration: none;
    border: solid 1px #E07118;
    border-radius: 10px;
    padding: 7px;
    margin-left: 10px;

}

.connexion:hover{
    background-color: #E07118;
    color: white;
}

#nav-item {
    margin-left: 2rem;
    padding-left: 10px;
}

.nav-menu .nav-item{margin-left: 15px;}

.nav-link {
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #E07118;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #faf9f8;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #333;
    transition: all 0.3s ease;
}

/* Styles pour l'Afrique - couleurs chaudes */
.nav-link {
    color: black;
    
}

.nav-link:hover {
    color: #E07118;
}

.nav-link::after {
    background: #E07118;
}

.services-nav {
    padding: 3rem 5%;
    background-color: #fff;
}

.barre-blanche{
    background-color: #E07118;
    width: 100%;
    height: 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #2c3e50;
    font-size: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: #E07118;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.service-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    width: 220px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.circle-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #E07118, #E07118);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.service-card:hover .circle-icon {
    transform: rotate(360deg);
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.service-card p {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Effet africain - motifs */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #FF0028, #FF0028, #FF0028);
}




/* Styles pour le slider */
.slider-section {
    padding: 0px;
    background-color: #f9f9f9;
}

.slider-container {
    position: relative;
    width: 100%;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slide {
    position: relative;
    width: 100%;
    display: none;
    animation: fade 1.5s ease;
}

.slide.active {
    display: block;
}

.slider-container .flou{width: 100%; height: 100%; background-color: rgba(90, 72, 72, 0.842);}

.slide img {
    width: 100%;
    height: 460px;
    object-fit: contain;
    display: block;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 2rem;
    padding-top: 4rem;
}

.slide-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 80%;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(230, 126, 34, 0.8);
}

.prev-btn {
    left: 2rem;
}

.next-btn {
    right: 2rem;
}

.indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #e67e22;
    transform: scale(1.2);
}


/* Styles de base */
:root {
    --primary-color: #3498db;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --success-color: #2ecc71;
    --text-color: #333;
    --text-light: #7f8c8d;
}

/* Section principale */
.mobile-shop-section {
    padding: 3rem 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--dark-color);
    font-size: 2.2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Conteneur des cartes */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Style des cartes */
.mobile-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: var(--dark-color);
    color: white;
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.card-header .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.contact-info {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #eee;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    color: var(--accent-color);
    min-width: 20px;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.emergency {
    color: var(--secondary-color) !important;
}

.services-list {
    list-style: none;
}

.services-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.services-list i {
    color: var(--success-color);
    position: absolute;
    left: 0;
    top: 3px;
}

.repair-card .services-list i {
    color: var(--accent-color);
}

.promo-section {
    margin-top: 1.5rem;
}

.promo-section h4 {
    margin-bottom: 1rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.promo-section h4 i {
    color: var(--secondary-color);
}

.promo-list {
    list-style: none;
}

.promo-list li {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: #f9f9f9;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
}

.price {
    font-weight: bold;
    color: var(--dark-color);
}

.discount {
    font-weight: bold;
    color: var(--secondary-color);
}

.card-promo {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    text-align: center;
    border-top: 2px solid var(--accent-color);
    margin-top: auto;
}

.card-promo p {
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.card-promo i {
    color: var(--accent-color);
}

.card-promo strong {
    color: var(--secondary-color);
}

/* Styles spécifiques pour les cartes */
.repair-card .card-header {
    background: var(--primary-color);
}

.promo-card .card-header {
    background: var(--secondary-color);
}

/* Media Queries pour le responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-item {
        margin: 1rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-container {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .services-container {
        flex-direction: column;
        align-items: center;
    }
    
    .service-card {
        width: 80%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .services-nav {
        padding: 2rem 3%;
    }
    
    .service-card {
        width: 95%;
    }
}

@keyframes fade {
    from {opacity: 0.4}
    to {opacity: 1}
}

/* Responsive Design */
@media (max-width: 768px) {
    .slide-content {
        padding: 1.5rem;
        padding-top: 3rem;
    }
    
    .slide-content h3 {
        font-size: 1.4rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
        max-width: 100%;
    }
    
    .slider-btn {
        padding: 0.8rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .slide-content {
        padding: 1rem;
        padding-top: 2rem;
    }
    
    .slide-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .mobile-shop-section {
        padding: 2rem 3%;
    }
    
    .card-header h3 {
        font-size: 1.3rem;
    }
    
    .card-body, .card-promo {
        padding: 1.2rem;
    }
}