/* ===========================
   DONGFANG DINGSHENG
   Architecture • Mobilier • Décoration
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

:root{
    --beige:#E8DDC8;
    --gold:#C8AE7D;
    --brown:#5A4635;
    --white:#ffffff;
    --light:#F8F6F2;
    --dark:#222;
}

body{
    font-family:'Poppins',sans-serif;
    background:#fff;
    color:var(--dark);
    line-height:1.7;
}

h1,h2,h3{
    font-family:'Cormorant Garamond',serif;
}

img{
    width:100%;
    display:block;
}

section{
    padding:90px 10%;
}

/* =====================
 NAVBAR
======================*/

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(10px);
    z-index:1000;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 8%;
}

.logo img{
    width:170px;
}

nav ul{
    display:flex;
    list-style:none;
    gap:35px;
}

nav ul li a{
    text-decoration:none;
    color:var(--brown);
    font-weight:500;
    transition:.3s;
}

nav ul li a:hover{
    color:var(--gold);
}

.contact-btn{
    text-decoration:none;
    background:var(--gold);
    color:white;
    padding:12px 26px;
    border-radius:30px;
    transition:.4s;
}

.contact-btn:hover{
    background:var(--brown);
}

/* =====================
 HERO
======================*/

.hero{
    height:100vh;
    background:url(images/hero.jpg) center/cover no-repeat;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}

.hero-content{
    position:relative;
    color:white;
    max-width:800px;
    z-index:2;
}

.hero h1{
    font-size:75px;
    margin-bottom:15px;
}

.hero h2{
    font-size:30px;
    margin-bottom:25px;
    color:var(--beige);
}

.hero p{
    font-size:19px;
    margin-bottom:35px;
}

.btn{
    display:inline-block;
    background:var(--gold);
    color:white;
    padding:16px 42px;
    border-radius:40px;
    text-decoration:none;
    transition:.4s;
}

.btn:hover{
    background:white;
    color:var(--brown);
}

/* =====================
 ABOUT
======================*/

.container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.about{
    background:var(--light);
}

.about h2{
    font-size:50px;
    margin-bottom:20px;
    color:var(--brown);
}

.about p{
    margin-bottom:18px;
    font-size:17px;
}

.about-image img{
    border-radius:15px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
}

/* =====================
 SERVICES
======================*/

.services{
    text-align:center;
}

.services h2{
    font-size:52px;
    color:var(--brown);
    margin-bottom:50px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

.card{
    background:white;
    padding:45px;
    border-radius:18px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
    transition:.4s;
}

.card:hover{
    transform:translateY(-10px);
}

.card i{
    font-size:55px;
    color:var(--gold);
    margin-bottom:25px;
}

.card h3{
    font-size:34px;
    margin-bottom:15px;
}

.card p{
    color:#666;
}

/* =====================
 GALLERY
======================*/

.projects{
    background:var(--light);
    text-align:center;
}

.projects h2{
    font-size:52px;
    color:var(--brown);
    margin-bottom:50px;
}

.gallery{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.gallery img{
    height:320px;
    object-fit:cover;
    border-radius:15px;
    transition:.4s;
    cursor:pointer;
}

.gallery img:hover{
    transform:scale(1.05);
}

/* =====================
 VIDEO
======================*/

.videos{
    text-align:center;
}

.videos h2{
    font-size:50px;
    color:var(--brown);
    margin-bottom:40px;
}

video{
    width:100%;
    border-radius:15px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
}

/* =====================
 CONTACT
======================*/

.contact{
    background:var(--light);
}

.contact h2{
    text-align:center;
    font-size:52px;
    margin-bottom:45px;
    color:var(--brown);
}

.contact-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
}

.contact form{
    display:flex;
    flex-direction:column;
}

.contact input,
.contact textarea{
    margin-bottom:18px;
    padding:18px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;
}

.contact textarea{
    height:170px;
    resize:none;
}

.contact button{
    background:var(--gold);
    color:white;
    border:none;
    padding:18px;
    border-radius:10px;
    cursor:pointer;
    transition:.4s;
}

.contact button:hover{
    background:var(--brown);
}

/* =====================
 FOOTER
======================*/

footer{
    background:#2c2c2c;
    color:white;
    text-align:center;
    padding:45px;
}

footer img{
    width:140px;
    margin:auto;
    margin-bottom:20px;
}

/* =====================
 RESPONSIVE
======================*/

@media(max-width:992px){

.container,
.contact-container,
.cards,
.gallery{

grid-template-columns:1fr;

}

nav ul{
display:none;
}

.hero h1{
font-size:50px;
}

.hero h2{
font-size:24px;
}

section{
padding:70px 8%;
}

}
/* Animation des sections */

.hidden{
    opacity:0;
    transform:translateY(80px);
    transition:1s;
}

.show{
    opacity:1;
    transform:translateY(0);
}

/* Lightbox */

.lightbox{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.9);

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:9999;

}

.lightbox img{

    max-width:90%;

    max-height:90%;

    border-radius:12px;

}