/* =====================================
   TIMA LUXURY - PARTIE 1
   Reset + Header + Navbar
===================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Poppins:wght@300;400;500;600&display=swap');

/* Reset */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

:root{

    --gold:#b08d57;
    --gold-light:#d4b27a;
    --white:#ffffff;
    --black:#222;
    --text:#6b6258;
    --bg:#fdfaf6;

}

body{

    font-family:'Poppins',sans-serif;
    background:var(--bg);
    color:var(--text);
    overflow-x:hidden;

}

img{

    width:100%;
    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

/* ==========================
        HEADER
========================== */

header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    z-index:9999;

    background:rgba(255,255,255,.82);

    backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(176,141,87,.15);

}

/* ==========================
        NAVBAR
========================== */

.navbar{

    width:min(92%,1300px);

    margin:auto;

    height:82px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo h2{

    font-family:'Playfair Display',serif;

    color:var(--gold);

    font-size:2rem;

    font-weight:700;

}

.nav-links{

    display:flex;

    gap:40px;

}

.nav-links a{

    color:var(--text);

    font-size:15px;

    font-weight:500;

    position:relative;

    transition:.35s;

}

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--gold);

    transition:.35s;

}

.nav-links a:hover{

    color:var(--gold);

}

.nav-links a:hover::after{

    width:100%;

}

/* ==========================
      MENU MOBILE
========================== */

.menu-toggle{

    display:none;

    font-size:28px;

    color:var(--gold);

    cursor:pointer;

}

/* ==========================
      RESPONSIVE
========================== */

@media (max-width:900px){

    .menu-toggle{

        display:block;

    }

    .nav-links{

        position:fixed;

        top:82px;

        right:-100%;

        width:280px;

        height:calc(100vh - 82px);

        background:#fff;

        display:flex;

        flex-direction:column;

        justify-content:flex-start;

        align-items:center;

        gap:35px;

        padding-top:50px;

        transition:.4s;

        box-shadow:-10px 0 30px rgba(0,0,0,.08);

    }

    .nav-links.active{

        right:0;

    }

    .logo h2{

        font-size:1.7rem;

    }

}
/* =====================================
   PARTIE 2 - HERO SECTION
===================================== */

.hero{
    position:relative;
    width:100%;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    overflow:hidden;
    padding:120px 20px 80px;
}

.hero-bg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:-2;
}

.overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        rgba(0,0,0,.45),
        rgba(0,0,0,.55)
    );
    z-index:-1;
}

.hero-content{
    max-width:850px;
    animation:heroFade 1.2s ease;
}

.subtitle{
    display:inline-block;
    background:rgba(255,255,255,.95);
    color:var(--gold);
    padding:12px 28px;
    border-radius:40px;
    font-size:14px;
    letter-spacing:2px;
    margin-bottom:30px;
    font-weight:600;
}

.hero h1{
    font-family:'Playfair Display',serif;
    color:#fff;
    font-size:4.5rem;
    line-height:1.15;
    margin-bottom:25px;
}

.hero p{
    color:#fff;
    font-size:20px;
    line-height:1.8;
    max-width:650px;
    margin:auto;
}

/* Animation */

@keyframes heroFade{

    from{
        opacity:0;
        transform:translateY(50px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/* ==========================
      MOBILE
========================== */

@media(max-width:768px){

    .hero{

        min-height:100vh;
        padding:110px 20px 60px;

    }

    .subtitle{

        font-size:11px;
        padding:10px 20px;
        letter-spacing:1px;

    }

    .hero h1{

        font-size:2.5rem;

    }

    .hero p{

        font-size:15px;
        line-height:1.7;

    }

}

@media(max-width:480px){

    .hero h1{

        font-size:2rem;

    }

    .hero p{

        font-size:14px;

    }

}
/* =====================================
   PARTIE 3 - ABOUT
===================================== */

.about{

    width:min(92%,1300px);

    margin:120px auto;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.section-title{

    display:inline-block;

    color:var(--gold);

    letter-spacing:4px;

    font-size:13px;

    font-weight:600;

    margin-bottom:18px;

}

.about-text h2{

    font-family:'Playfair Display',serif;

    color:#8f7148;

    font-size:3.6rem;

    line-height:1.2;

    margin-bottom:25px;

}

.about-text p{

    font-size:17px;

    line-height:1.9;

    color:var(--text);

    margin-bottom:20px;

}

.about-text strong{

    color:var(--gold);

}

.about-image{

    display:flex;

    justify-content:center;

}

.about-image img{

    width:100%;

    max-width:520px;

    border-radius:30px;

    object-fit:cover;

    box-shadow:0 25px 60px rgba(0,0,0,.12);

    transition:.5s;

}

.about-image img:hover{

    transform:scale(1.03);

}

/* Animation */

.about{

    opacity:0;

    transform:translateY(60px);

    transition:1s ease;

}

.about.show{

    opacity:1;

    transform:translateY(0);

}

/* ==========================
        MOBILE
========================== */

@media(max-width:900px){

    .about{

        grid-template-columns:1fr;

        gap:40px;

        text-align:center;

        margin:90px auto;

    }

    .about-text{

        order:2;

    }

    .about-image{

        order:1;

    }

    .about-text h2{

        font-size:2.3rem;

    }

    .about-text p{

        font-size:15px;

    }

    .about-image img{

        max-width:360px;

    }

}

@media(max-width:480px){

    .about{

        width:94%;

    }

    .about-text h2{

        font-size:2rem;

    }

    .about-image img{

        max-width:100%;

        border-radius:22px;

    }

}
/* =====================================
   PARTIE 4 - GALLERY PREMIUM
===================================== */

.gallery{

    width:min(92%,1300px);

    margin:120px auto;

}

.section-header{

    text-align:center;

    margin-bottom:70px;

}

.section-header span{

    display:inline-block;

    color:var(--gold);

    letter-spacing:4px;

    font-size:13px;

    font-weight:600;

    margin-bottom:18px;

}

.section-header h2{

    font-family:'Playfair Display',serif;

    font-size:3.5rem;

    color:#8f7148;

    margin-bottom:20px;

}

.section-header p{

    max-width:700px;

    margin:auto;

    line-height:1.9;

    color:var(--text);

}

/* GRID */

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:28px;

}

.gallery-item{

    overflow:hidden;

    border-radius:25px;

    background:#fff;

    box-shadow:0 18px 45px rgba(0,0,0,.08);

    cursor:pointer;

    transition:.45s;

}

.gallery-item img{

    width:100%;

    height:430px;

    object-fit:cover;

    transition:.7s;

}

.gallery-item:hover{

    transform:translateY(-10px);

    box-shadow:0 30px 60px rgba(176,141,87,.18);

}

.gallery-item:hover img{

    transform:scale(1.08);

}

/* Animation */

.gallery{

    opacity:0;

    transform:translateY(60px);

    transition:1s ease;

}

.gallery.show{

    opacity:1;

    transform:translateY(0);

}

/* ==========================
        TABLET
========================== */

@media(max-width:992px){

.gallery-grid{

grid-template-columns:repeat(2,1fr);

}

}

/* ==========================
        MOBILE
========================== */

@media(max-width:768px){

.gallery{

width:94%;

margin:90px auto;

}

.section-header h2{

font-size:2.3rem;

}

.section-header p{

font-size:15px;

}

.gallery-grid{

grid-template-columns:1fr;

gap:22px;

}

.gallery-item img{

height:320px;

}

}
.lightbox{

position:fixed;

inset:0;

background:rgba(0,0,0,.9);

display:flex;

justify-content:center;

align-items:center;

opacity:0;

pointer-events:none;

transition:.4s;

z-index:99999;

}

.lightbox.active{

opacity:1;

pointer-events:auto;

}

.lightbox img{

max-width:90%;

max-height:90%;

border-radius:20px;

}
/* =====================================
   PARTIE 5 - CONTACT PREMIUM
===================================== */

.contact{

    width:min(92%,1300px);

    margin:120px auto;

}

.contact-container{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

    margin-top:60px;

}

.contact-card{

    background:rgba(255,255,255,.85);

    backdrop-filter:blur(15px);

    border:1px solid rgba(176,141,87,.15);

    border-radius:25px;

    padding:45px 20px;

    text-align:center;

    color:var(--text);

    transition:.4s;

    box-shadow:0 15px 35px rgba(0,0,0,.06);

}

.contact-card i{

    font-size:42px;

    color:var(--gold);

    margin-bottom:18px;

    transition:.4s;

}

.contact-card h3{

    font-size:18px;

    font-weight:600;

}

.contact-card:hover{

    transform:translateY(-12px);

    box-shadow:0 25px 50px rgba(176,141,87,.18);

    border-color:var(--gold);

}

.contact-card:hover i{

    transform:scale(1.2) rotate(8deg);

}

/* Animation */

.contact{

    opacity:0;

    transform:translateY(60px);

    transition:1s ease;

}

.contact.show{

    opacity:1;

    transform:translateY(0);

}

/* ==========================
        TABLET
========================== */

@media(max-width:992px){

.contact-container{

grid-template-columns:repeat(2,1fr);

}

}

/* ==========================
        MOBILE
========================== */

@media(max-width:768px){

.contact{

width:94%;

margin:90px auto;

}

.contact-container{

grid-template-columns:1fr;

gap:20px;

}

.contact-card{

padding:35px 20px;

}

.contact-card i{

font-size:38px;

}

.contact-card h3{

font-size:17px;

}

}
.contact-card:nth-child(1):hover i{
    color:#E1306C;
}

.contact-card:nth-child(2):hover i{
    color:#1877F2;
}

.contact-card:nth-child(3):hover i{
    color:#000;
}

.contact-card:nth-child(4):hover i{
    color:#25D366;
}
/* =====================================
   PARTIE 6 - FOOTER PREMIUM
===================================== */

footer{

    margin-top:120px;

    background:#faf7f2;

    padding:80px 20px 40px;

    text-align:center;

    border-top:1px solid rgba(176,141,87,.15);

}

footer h2{

    font-family:'Playfair Display',serif;

    font-size:2.6rem;

    color:var(--gold);

    margin-bottom:15px;

}

footer p{

    color:var(--text);

    line-height:1.8;

}

.footer-line{

    width:120px;

    height:2px;

    background:var(--gold);

    margin:30px auto;

    border-radius:50px;

}

.yh{

    display:inline-block;

    margin-top:25px;

    color:var(--gold);

    font-weight:600;

    transition:.35s;

}

.yh:hover{

    letter-spacing:2px;

}

/* =====================================
        LOADER
===================================== */

#loader{

    position:fixed;

    inset:0;

    background:#fdfaf6;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

    transition:.8s;

}

.loader-logo{

    font-family:'Playfair Display',serif;

    font-size:3rem;

    color:var(--gold);

    animation:pulse 1.5s infinite;

}

@keyframes pulse{

0%{

opacity:.4;
transform:scale(.95);

}

50%{

opacity:1;
transform:scale(1);

}

100%{

opacity:.4;
transform:scale(.95);

}

}

/* =====================================
      PROGRESS BAR
===================================== */

#progress-bar{

    position:fixed;

    top:0;

    left:0;

    width:0;

    height:4px;

    background:var(--gold);

    z-index:999999;

}

/* =====================================
      SCROLL TOP BUTTON
===================================== */

#topBtn{

    position:fixed;

    right:25px;

    bottom:25px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:var(--gold);

    color:#fff;

    font-size:20px;

    cursor:pointer;

    display:none;

    box-shadow:0 15px 30px rgba(0,0,0,.18);

    transition:.35s;

    z-index:999;

}

#topBtn:hover{

    transform:translateY(-6px);

}

/* =====================================
        MOBILE
===================================== */

@media(max-width:768px){

footer{

padding:60px 20px 30px;

margin-top:90px;

}

footer h2{

font-size:2rem;

}

footer p{

font-size:15px;

}

#topBtn{

width:48px;

height:48px;

right:18px;

bottom:18px;

}

.loader-logo{

font-size:2.2rem;

}

}
/* ==========================
   WHY CHOOSE US
========================== */

.why{
    width:min(92%,1300px);
    margin:120px auto;
}

.why-container{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    margin-top:60px;
}

.why-card{
    background:#fff;
    padding:40px 25px;
    border-radius:25px;
    text-align:center;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.4s;
}

.why-card i{
    font-size:42px;
    color:#b08d57;
    margin-bottom:20px;
}

.why-card h3{
    margin-bottom:15px;
    color:#8f7148;
}

.why-card p{
    line-height:1.8;
    color:#666;
}

.why-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(176,141,87,.18);
}

@media(max-width:992px){
    .why-container{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){
    .why{
        width:94%;
        margin:90px auto;
    }

    .why-container{
        grid-template-columns:1fr;
    }
}