*{
box-sizing:border-box;
}

/* =========================
BODY
========================= */

body{
font-family: Arial, sans-serif;
margin:0;
background:#111;
color:white;
}

/* =========================
HEADER
========================= */

header{
position:sticky;
top:0;
display:flex;
align-items:center;
justify-content:flex-end;
padding:20px 60px;
background:black;
height:160px;
z-index:1000;
}

/* =========================
LOGO
========================= */

.logo{
position:absolute;
left:50%;
transform:translateX(-50%);
}

.logo img{
height:135px;
}

/* =========================
MENU
========================= */

.menu-tools{
position:relative;
}

.hamburger{
background:#d4af37;
border:none;
width:50px;
height:45px;
border-radius:6px;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
gap:6px;
cursor:pointer;
}

.hamburger span{
width:22px;
height:3px;
background:black;
border-radius:2px;
transition:0.3s;
}

.hamburger.active span:nth-child(1){
transform:rotate(45deg) translate(5px,5px);
}

.hamburger.active span:nth-child(2){
opacity:0;
}

.hamburger.active span:nth-child(3){
transform:rotate(-45deg) translate(5px,-5px);
}
#menuPanel i{
width:20px;
height:20px;
stroke:#d4af37;
margin-right:10px;
}
#menuPanel a:hover i{
stroke:black;
}
/* =========================
MENU PANEL
========================= */

#menuPanel{
position:absolute;
right:0;
top:55px;
background:#1c1c1c;
border-radius:10px;
display:flex;
flex-direction:column;
min-width:200px;
max-height:0;
overflow:hidden;
transition:max-height 0.3s ease;
}

#menuPanel.open{
max-height:300px;
}

#menuPanel a{
padding:14px 18px;
text-decoration:none;
color:white;
display:flex;
align-items:center;
gap:10px;
border-bottom:1px solid #333;
}

#menuPanel a:hover{
background:#d4af37;
color:black;
}

#menuPanel a.active{
background:#d4af37;
color:black;
}

.icon{
font-size:18px;
}

/* =========================
HERO
========================= */

.hero{
text-align:center;
padding:140px 20px;
background-image:url("../images/fond.jpeg");
background-size:cover;
background-position:center 150%;
background-repeat:no-repeat;
position:relative;
min-height:70vh;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
}

.hero h1{
font-size:48px;
margin-bottom:20px;
}

.hero::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
}

.hero *{
position:relative;
z-index:1;
}

/* =========================
BOUTONS
========================= */

.btn{
background:#d4af37;
color:black;
padding:14px 30px;
text-decoration:none;
font-weight:bold;
border-radius:6px;
display:inline-block;
}

/* =========================
FEATURES
========================= */

.features{
display:flex;
justify-content:center;
gap:40px;
padding:80px 20px;
flex-wrap:wrap;
}

.feature{
background:#1c1c1c;
padding:40px 30px;
border-radius:12px;
width:260px;
text-align:center;
transition:0.3s;
border:1px solid #222;
}

.feature:hover{
transform:translateY(-8px);
box-shadow:0 10px 25px rgba(0,0,0,0.4);
border:1px solid #d4af37;
}

.feature-icon{
width:60px;
height:60px;
background:#d4af37;
color:black;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:28px;
margin:0 auto 15px auto;
font-weight:bold;
}

/* =========================
CATALOGUE
========================= */

.catalog{
padding:70px;
text-align:center;
}

.cars{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:40px;
margin-top:50px;
}

.car{
background:#1c1c1c;
padding:25px;
border-radius:10px;
text-align:center;
}

.car img{
width:100%;
max-width:220px;
height:auto;
display:block;
margin:0 auto 10px auto;
border-radius:6px;
}

.price{
color:#d4af37;
font-size:22px;
font-weight:bold;
}

/* =========================
PAGE VEHICULE
========================= */

.vehicle{
display:flex;
gap:80px;
padding:80px;
flex-wrap:wrap;
align-items:flex-start;
}

.vehicle-gallery{
flex:1;
display:flex;
flex-direction:column;
align-items:center;
gap:15px;
}

.vehicle-gallery #mainPhoto{
width:100%;
max-width:420px;
height:300px;
object-fit:cover;
border-radius:10px;
}

.vehicle-thumbnails{
display:flex;
gap:10px;
margin-top:15px;
flex-wrap:wrap;
}

.vehicle-thumbnails img{
width:70px;
height:60px;
object-fit:cover;
border-radius:6px;
cursor:pointer;
opacity:0.8;
transition:0.2s;
border:2px solid transparent;
}

.vehicle-thumbnails img:hover{
opacity:1;
transform:scale(1.05);
border-color:#d4af37;
}

.vehicle-info{
flex:1;
max-width:420px;
}

/* =========================
FOOTER
========================= */

footer{
text-align:center;
padding:30px;
background:#000;
margin-top:60px;
}

/* =========================
BOUTONS FLOTTANTS
========================= */

.floating-buttons{
position:fixed;
bottom:25px;
right:25px;
display:flex;
flex-direction:column;
gap:12px;
z-index:1200;
}

.call-button{
background:#630404;
width:55px;
height:55px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 5px 15px rgba(0,0,0,0.3);
transition:0.3s;
}

.call-button:hover{
transform:scale(1.1);
}

.whatsapp-button{
background:#25D366;
width:55px;
height:55px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 5px 15px rgba(0,0,0,0.3);
transition:0.3s;
}

.whatsapp-button:hover{
transform:scale(1.1);
}

/* =========================
CONTACT PAGE
========================= */

.contact-page{
padding:80px 20px;
text-align:center;
}

.contact-container{
display:flex;
justify-content:center;
align-items:flex-start;
gap:100px;
margin-top:50px;
flex-wrap:wrap;
}

.contact-info{
background:#1c1c1c;
padding:35px;
border-radius:10px;
width:320px;
text-align:left;
}

.contact-form{
background:#1c1c1c;
padding:35px;
border-radius:10px;
width:380px;
}

.contact-info a{
color:#d4af37;
text-decoration:none;
}

.contact-form form{
display:flex;
flex-direction:column;
gap:15px;
}

.contact-form input,
.contact-form textarea{
padding:10px;
border:none;
border-radius:5px;
}

/* =========================
GOOGLE REVIEWS
========================= */

.google-reviews{
text-align:center;
padding:80px 20px;
background:#1a1a1a;
margin-top:60px;
}

.google-reviews h2{
margin-bottom:40px;
font-size:32px;
}

.map-container{
max-width:900px;
margin:auto;
border-radius:10px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.4);
}

.google-rating{
text-align:center;
margin-top:15px;
margin-bottom:25px;
font-size:22px;
font-weight:bold;
}

/* étoiles */

.google-stars{
font-size:34px;
letter-spacing:6px;
background:linear-gradient(180deg,#ffd700,#f5b301);
background-clip:text;
-webkit-background-clip:text;
color:transparent;
-webkit-text-fill-color:transparent;
text-shadow:0 0 6px rgba(255,215,0,0.5);
animation:starsGlow 3s ease-in-out infinite;
}

.google-score{
font-size:20px;
margin-top:8px;
font-weight:600;
color:white;
}

@keyframes starsGlow{
0%{text-shadow:0 0 6px rgba(255,215,0,0.4);}
50%{text-shadow:0 0 16px rgba(255,215,0,0.8);}
100%{text-shadow:0 0 6px rgba(255,215,0,0.4);}
}

.review-link{
margin:10px 0;
}

.review-link a{
color:#d4af37;
font-weight:600;
text-decoration:none;
transition:0.2s;
}

.review-link a:hover{
color:white;
}
.seo-text{
max-width:900px;
margin:60px auto;
padding:20px;
font-size:16px;
line-height:1.6;
color:#333;
}

.seo-text h1{
font-size:28px;
margin-bottom:20px;
}
/* =========================
MOBILE
========================= */

@media (max-width:768px){

header{
padding:15px 20px;
height:120px;
}

.logo img{
height:90px;
}

.hero{
padding:100px 20px;
min-height:60vh;
background-position:center top;
}

.hero h1{
font-size:28px;
}

.features{
flex-direction:column;
align-items:center;
gap:20px;
padding:40px 10px;
}

.feature{
width:100%;
max-width:300px;
margin:auto;
border:1px solid #d4af37;
box-shadow:0 6px 15px rgba(0,0,0,0.3);
}

.vehicle{
flex-direction:column;
padding:40px 20px;
}

.vehicle-gallery #mainPhoto{
height:250px;
}

body{
overflow-x:hidden;
}

}