/* VARIABLES COULEURS */
:root{
--blanc:#ffffff;
--bleu:#0f3238;
--or:#bd9546;
--gris:#f8f8f8;
}

/* RESET */
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
scroll-behavior:smooth;
}

body{
background:var(--blanc);
color:var(--bleu);
}
/* NAVBAR */
.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 10%;
background:white;
}

/* menu */
.nav-links{
display:flex;
list-style:none;
gap:30px;
}

.nav-links a{
text-decoration:none;
color:#333;
}

/* hamburger */
.hamburger{
display:none;
flex-direction:column;
cursor:pointer;
}

.hamburger span{
width:25px;
height:3px;
background:#333;
margin:4px 0;
}
@media (max-width:768px){

.nav-links{
position:absolute;
top:80px;
left:0;
width:100%;
background:white;
flex-direction:column;
align-items:center;
display:none;
padding:20px 0;
}

.nav-links li{
margin:10px 0;
}

.nav-links.active{
display:flex;
}

.hamburger{
display:flex;
}

.btn-nav{
display:none;
}

}

/* NAVBAR */
.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 8%;
background:var(--blanc);
box-shadow:0 2px 10px rgba(0,0,0,0.05);
position:sticky;
top:0;
z-index:999;
}

.logo{
font-size:22px;
font-weight:bold;
color:var(--bleu);
}

.nav-links{
display:flex;
gap:30px;
list-style:none;
}

.nav-links a{
text-decoration:none;
color:var(--bleu);
transition:0.3s;
}

.nav-links a:hover{
color:var(--or);
}

.btn-nav{
background:var(--or);
color:var(--blanc);
padding:10px 20px;
border-radius:5px;
text-decoration:none;
}

/* HERO CAROUSEL */
/* PAGINATION HERO */

.swiper-pagination{
bottom:40px !important;
}

.swiper-pagination-bullet{
width:12px;
height:12px;
background:#ffffff;
opacity:0.6;
transition:0.3s;
}

.swiper-pagination-bullet-active{
background:#bd9546;
opacity:1;
width:30px;
border-radius:10px;
}

.hero{
height:100vh;
}

.heroSwiper{
height:100%;
}

/* STRUCTURE SLIDE */
.hero-slide{
height:100vh;
position:relative;
display:block;
justify-content:center;
align-items:center;
background-size:cover;
background-position:center;
position:relative;
}

/* OVERLAY */
.hero-slide::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(15,50,56,0.7);
z-index:1;
}

.hero-content{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
z-index:2;
text-align:center;
width:80%;
max-width:700px;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
}
.swiper-slide{
display:flex;
justify-content:center;
align-items:center;
}

/* BACKGROUND INDIVIDUEL */
.slide1{
background-image:url('../images/boiserie.jpg');
}

.slide2{
background-image:url('../images/aluminium.jpg');
}

.slide3{
background-image:url('../images/aluminium.jpg');
}

.slide4{
background-image:url('../images/batiment.jpg');
}

.hero-content h1{
font-size:55px;
margin-bottom:20px;
color:#bd9546;
}

.hero-content p{
margin-bottom:25px;
line-height:1.6;
color: #ffffff;
}

.hero-content h1{
width:auto;
text-align:center;
}

.btn-main{
background:#bd9546;
color:#ffffff;
padding:12px 30px;
border-radius:5px;
text-decoration:none;
transition:0.3s;
}

.btn-main:hover{
background:#0f3238;
}

/* ANIMATION */
@keyframes fadeUp{
from{
opacity:0;
transform:translateY(30px);
}
to{
opacity:1;
transform:translateY(0);
}
}

/* RESPONSIVE */
@media(max-width:768px){

.hero-content h1{
font-size:32px;
}

.hero-content p{
font-size:14px;
}

}

.btn-main{
background:#bd9546;
color:#ffffff;
padding:12px 30px;
border-radius:5px;
text-decoration:none;
transition:0.3s;
}

.btn-main:hover{
background:#0f3238;
}

/* Animation */
@keyframes fadeUp{
from{
opacity:0;
transform:translateY(30px);
}
to{
opacity:1;
transform:translateY(0);
}
}

/* RESPONSIVE */
@media(max-width:768px){

.hero-content h1{
font-size:32px;
}

.hero-content{
padding-right:20px;
}

}

.btn-main{
background:var(--or);
color:var(--blanc);
padding:12px 30px;
text-decoration:none;
border-radius:5px;
}

/* SERVICES */
.cards{
display:flex;
justify-content:center;
gap:30px;
padding:80px 8%;
}

.card{
background:var(--gris);
padding:30px;
border-radius:10px;
text-align:center;
transition:0.3s;
}

.card i{
font-size:40px;
margin-bottom:10px;
color:var(--or);
}

.card:hover{
transform:translateY(-10px);
background:var(--bleu);
color:white;
}

/* ABOUT */
.about-section{
padding:80px 8%;
background:#f9f9f9;
}

.about-section h2{
margin-bottom:20px;
}

/* EXPERTISE */
.expertise{
padding:80px 8%;
text-align:center;
}

.expertise-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
margin-top:40px;
}

/* REALISATIONS */
.collections{
padding:80px 8%;
}

.collections h2{
margin-bottom:40px;
}

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
}

.grid-item img{
width:100%;
border-radius:10px;
transition:0.3s;
}

.grid-item img:hover{
transform:scale(1.05);
}

/* WHY */
.why{
padding:80px 8%;
background:var(--bleu);
color:white;
text-align:center;
}

.why-grid{
display:flex;
justify-content:center;
gap:50px;
margin-top:40px;
}

.why-grid i{
font-size:40px;
color:var(--or);
}

/* CTA */
.cta{
padding:80px 8%;
text-align:center;
background:var(--or);
color:white;
}

/* FOOTER */
footer{
background:var(--bleu);
color:white;
text-align:center;
padding:20px;
margin-top:40px;
}

/* WHATSAPP */
.whatsapp-float{
position:fixed;
width:60px;
height:60px;
bottom:40px;
right:40px;
background:var(--or);
color:white;
border-radius:50%;
text-align:center;
font-size:30px;
line-height:60px;
z-index:100;
box-shadow:0 5px 15px rgba(0,0,0,0.3);
transition:0.3s;
}

.whatsapp-float:hover{
transform:scale(1.1);
background:var(--bleu);
}

/* RESPONSIVE */
@media(max-width:768px){

.nav-links{
display:none;
}

.cards{
flex-direction:column;
}

.hero h1{
font-size:32px;
}

.why-grid{
flex-direction:column;
}

}


/* ===== SERVICES SECTION ===== */

.services {
    padding: 100px 8%;
    background: #ffffff;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h2 {
    font-size: 38px;
    color: #0f3238;
    margin-bottom: 10px;
}

.services-header p {
    color: #555;
    font-size: 16px;
}

.services-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* CARD */

.service-card {
    background: #fff;
    padding: 40px 25px;
    text-align: center;
    border-radius: 15px;
    transition: 0.4s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
}

/* IMAGE CIRCULAIRE */

.service-img {
    width: 120px;
    height: 120px;
    margin: auto;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 4px solid #bd9546;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TITRE */

.service-card h3 {
    font-size: 22px;
    color: #0f3238;
    margin-bottom: 10px;
}

/* DESCRIPTION */

.service-card p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

/* BOUTON */

.service-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #bd9546;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
}

.service-btn:hover {
    background: #0f3238;
}

/* ===== ABOUT SECTION ===== */

.about-section{
    padding:100px 8%;
    background:#ffffff;
}

.about-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
    flex-wrap:wrap;
}

.about-images{
    position:relative;
    width:500px;
}

.main-img{
    width:100%;
    border-radius:15px;
}

/* SLIDER SUPERPOSE */

.aboutSwiper{
    position:absolute;
    bottom:-40px;
    right:-40px;
    width:260px;
    height:260px;
}

.aboutSwiper img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:15px;
    border:5px solid #bd9546;
}

/* TEXTE */

.about-text{
    max-width:500px;
}

.about-text h4{
    color:#bd9546;
    margin-bottom:10px;
}

.about-text h2{
    font-size:36px;
    color:#0f3238;
    margin-bottom:20px;
}

.about-text p{
    margin-bottom:15px;
    line-height:1.6;
    color:#555;
}

.about-btn{
    display:inline-block;
    padding:12px 25px;
    background:#bd9546;
    color:#ffffff;
    border-radius:5px;
    text-decoration:none;
    transition:0.3s;
}

.about-btn:hover{
    background:#0f3238;
}

/* RESPONSIVE */

@media(max-width:900px){

.about-container{
    flex-direction:column;
}

.about-images{
    width:100%;
}

.aboutSwiper{
    right:0;
}

}

/* REALISATIONS */

.realisations{
    padding:100px 8%;
    background:#f8f8f8;
}

.section-header{
    text-align:center;
    margin-bottom:60px;
}

.section-header h4{
    color:#bd9546;
    margin-bottom:10px;
}

.section-header h2{
    font-size:36px;
    color:#0f3238;
    margin-bottom:15px;
}

.section-header p{
    max-width:600px;
    margin:auto;
    color:#555;
}

/* GRID */

.realisations-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

/* CARD */

.realisation-card{
    position:relative;
    overflow:hidden;
    border-radius:12px;
}

.realisation-card img{
    width:100%;
    height:350px;
    object-fit:cover;
    transition:0.5s;
}

/* OVERLAY */

.realisation-overlay{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    padding:20px;
    background:linear-gradient(transparent, rgba(15,50,56,0.9));
    color:#ffffff;
    transform:translateY(100%);
    transition:0.4s;
}

.realisation-card:hover img{
    transform:scale(1.1);
}

.realisation-card:hover .realisation-overlay{
    transform:translateY(0);
}

/* COLLECTIONS */

.collections{
    padding:100px 8%;
    background:#ffffff;
}

.collection-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.collection-card{
    background:#ffffff;
    border-radius:12px;
    padding:20px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
    transition:0.4s;
}

.collection-card img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:10px;
    margin-bottom:15px;
}

.collection-card h3{
    color:#0f3238;
    margin-bottom:10px;
}

.collection-card p{
    color:#555;
    margin-bottom:15px;
}

.collection-card:hover{
    transform:translateY(-10px);
}

.btn-collection{
    display:inline-block;
    padding:10px 25px;
    background:#bd9546;
    color:#ffffff;
    border-radius:5px;
    text-decoration:none;
    transition:0.3s;
}

.btn-collection:hover{
    background:#0f3238;
}


/* EXPERTISE */

.expertise{
padding:100px 8%;
background:#ffffff;
}

.expertise-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:40px;
text-align:center;
}

.expertise-card{
padding:30px;
border-radius:12px;
background:#f9f9f9;
transition:0.4s;
}

.expertise-card:hover{
transform:translateY(-10px);
box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

.expertise-img{
width:120px;
height:120px;
margin:auto;
margin-bottom:20px;
border-radius:50%;
overflow:hidden;
border:4px solid #bd9546;
}

.expertise-img img{
width:100%;
height:100%;
object-fit:cover;
}

.expertise-card h3{
color:#0f3238;
margin-bottom:10px;
}

.expertise-card p{
color:#555;
margin-bottom:15px;
}

.btn-exp{
display:inline-block;
padding:10px 20px;
background:#bd9546;
color:#ffffff;
border-radius:5px;
text-decoration:none;
}

/* TEMOIGNAGES */

.temoignages{
padding:100px 8%;
background:#f8f8f8;
text-align:center;
}

.temoignage-card{
background:#ffffff;
padding:40px;
border-radius:12px;
box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.temoignage-card img{
width:80px;
height:80px;
border-radius:50%;
margin-bottom:15px;
object-fit:cover;
border:3px solid #bd9546;
}

.temoignage-card p{
margin-bottom:15px;
color:#555;
}

/* ===============================
TEMOIGNAGES
================================*/

.temoignages{
padding:100px 8%;
background:#f8f8f8;
text-align:center;
}

.temoignages .section-header{
margin-bottom:60px;
}

.temoignages h4{
color:#bd9546;
letter-spacing:2px;
margin-bottom:10px;
}

.temoignages h2{
font-size:40px;
color:#0f3238;
margin-bottom:15px;
}

.temoignages p{
color:#555;
max-width:600px;
margin:auto;
}

.temoignage-card{
background:#ffffff;
padding:40px;
border-radius:10px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
text-align:center;
transition:0.4s;
}

.temoignage-card:hover{
transform:translateY(-10px);
}

.temoignage-card img{
width:80px;
height:80px;
border-radius:50%;
object-fit:cover;
margin-bottom:20px;
border:4px solid #bd9546;
}

.temoignage-card p{
font-size:16px;
line-height:1.6;
margin-bottom:20px;
}

.temoignage-card h4{
color:#0f3238;
margin-bottom:5px;
}

.temoignage-card span{
font-size:14px;
color:#777;
}

/* Pagination */

.temoignages .swiper-pagination{
margin-top:30px;
position:relative;
}

.temoignages .swiper-pagination-bullet{
background:#0f3238;
opacity:0.5;
}

.temoignages .swiper-pagination-bullet-active{
background:#bd9546;
opacity:1;
}

/* ===============================
CONTACT
================================*/

.contact{
padding:100px 8%;
background:#ffffff;
}

.contact .section-header{
text-align:center;
margin-bottom:60px;
}

.contact h4{
color:#bd9546;
letter-spacing:2px;
margin-bottom:10px;
}

.contact h2{
font-size:40px;
color:#0f3238;
margin-bottom:15px;
}

.contact p{
color:#555;
max-width:600px;
margin:auto;
}

/* Container */

.contact-container{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:start;
}

/* Infos */

.contact-info{
display:flex;
flex-direction:column;
gap:30px;
}

.info-box{
display:flex;
align-items:center;
gap:20px;
}

.info-box i{
font-size:22px;
color:#ffffff;
background:#bd9546;
width:50px;
height:50px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
}

.info-box h3{
color:#0f3238;
margin-bottom:5px;
}

.info-box p{
color:#555;
}

/* Formulaire */

.contact-form form{
display:flex;
flex-direction:column;
gap:20px;
}

.contact-form input,
.contact-form textarea{
padding:15px;
border:1px solid #ddd;
border-radius:5px;
font-size:15px;
outline:none;
transition:0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus{
border-color:#bd9546;
}

.contact-form button{
background:#0f3238;
color:#ffffff;
padding:15px;
border:none;
border-radius:5px;
font-size:16px;
cursor:pointer;
transition:0.3s;
}

.contact-form button:hover{
background:#bd9546;
}

/* Responsive */

@media(max-width:900px){

.contact-container{
grid-template-columns:1fr;
}

}

.footer{
background:#111;
color:#fff;
padding:60px 10%;
}

.footer-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:40px;
}

.footer-col h3{
margin-bottom:20px;
font-size:20px;
}

.footer-col p{
font-size:14px;
line-height:1.6;
color:#ccc;
}

.footer-col ul{
list-style:none;
padding:0;
}

.footer-col ul li{
margin-bottom:10px;
}

.footer-col ul li a{
color:#ccc;
text-decoration:none;
transition:0.3s;
}

.footer-col ul li a:hover{
color:#f4b400;
}

.social-icons a{
display:inline-block;
margin-right:10px;
width:40px;
height:40px;
line-height:40px;
text-align:center;
background:#222;
border-radius:50%;
color:#fff;
transition:0.3s;
}

.social-icons a:hover{
background:#f4b400;
color:#000;
}

.footer-bottom{
text-align:center;
margin-top:40px;
padding-top:20px;
border-top:1px solid #333;
font-size:14px;
color:#aaa;
}


.page-hero{
background:#111;
color:white;
text-align:center;
padding:100px 20px;
}

.page-hero h1{
font-size:45px;
margin-bottom:20px;
}
.service-detail{
display:flex;
align-items:center;
justify-content:center;
gap:40px;
padding:80px 10%;
}

.service-img{
flex:1; /* 50% */
max-width:50%;
}

.service-img img{
width:100%;
aspect-ratio:1/1;
object-fit:cover;
border-radius:10px;
border:3px solid #eee;
}

.service-text{
flex:1; /* 50% */
max-width:50%;
}

.service-text h2{
margin-bottom:20px;
font-size:28px;
}

.service-text p{
margin-bottom:20px;
line-height:1.7;
}

.service-text ul li{
margin-bottom:10px;
}

.reverse{
flex-direction:row-reverse;
}
@media(max-width:900px){

.service-detail{
flex-direction:column;
}

.reverse{
flex-direction:column;
}

}