/*==============================
HOME RENOVATION
Premium CSS - Part 1
==============================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#ffffff;
    color:#222;
    overflow-x:hidden;
}

/* Colors */

:root{

--gold:#D4AF37;
--black:#111111;
--white:#ffffff;
--gray:#f5f5f5;
--green:#25D366;

}

/* Scrollbar */

::-webkit-scrollbar{
width:8px;
}

::-webkit-scrollbar-thumb{
background:var(--gold);
border-radius:20px;
}

/* Links */

a{
text-decoration:none;
color:inherit;
}

img{
max-width:100%;
display:block;
}

/* Header */

header{

position:fixed;

top:0;

left:0;

width:100%;

height:80px;

background:rgba(17,17,17,.95);

display:flex;

align-items:center;

justify-content:space-between;

padding:0 7%;

z-index:999;

box-shadow:0 5px 20px rgba(0,0,0,.3);

}

/* Logo */

.logo{

display:flex;

align-items:center;

gap:10px;

}

.logo img{

width:50px;

height:50px;

border-radius:50%;

}

.logo h2{

color:var(--gold);

font-size:24px;

font-weight:700;

}

/* Navigation */

nav{

display:flex;

gap:30px;

}

nav a{

color:white;

font-weight:500;

transition:.4s;

}

nav a:hover{

color:var(--gold);

}

/* Button */

.quote-btn{

background:var(--gold);

padding:12px 24px;

border-radius:30px;

color:black;

font-weight:700;

transition:.4s;

}

.quote-btn:hover{

background:white;

transform:translateY(-3px);

}

/* Hero */

.hero{

height:100vh;

background:url("../images/banner.jpg") center/cover;

display:flex;

align-items:center;

justify-content:center;

position:relative;

}

.overlay{

position:absolute;

inset:0;

background:rgba(0,0,0,.55);

}

.hero-content{

position:relative;

z-index:2;

text-align:center;

width:90%;

max-width:900px;

}

.hero-content h1{

font-size:60px;

color:white;

font-weight:800;

line-height:1.2;

}

.hero-content span{

color:var(--gold);

}

.hero-content p{

margin-top:20px;

font-size:20px;

color:#ddd;

line-height:1.8;

}

.buttons{

margin-top:35px;

display:flex;

justify-content:center;

gap:20px;

flex-wrap:wrap;

}

.btn1{

background:var(--gold);

padding:15px 35px;

border-radius:50px;

font-weight:700;

color:black;

transition:.4s;

}

.btn1:hover{

background:white;

transform:translateY(-5px);

}

.btn2{

background:transparent;

border:2px solid var(--gold);

padding:15px 35px;

border-radius:50px;

font-weight:700;

color:white;

transition:.4s;

}

.btn2:hover{

background:var(--gold);

color:black;

}

/* Services */

.services{

padding:90px 8%;

background:#fff;

}

.services h2{

text-align:center;

font-size:42px;

margin-bottom:50px;

color:#222;

}

.service-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:30px;

}

.card{

background:#fff;

padding:40px 25px;

border-radius:20px;

text-align:center;

box-shadow:0 10px 30px rgba(0,0,0,.08);

transition:.4s;

}

.card:hover{

transform:translateY(-10px);

box-shadow:0 15px 40px rgba(0,0,0,.15);

}

.card i{

font-size:50px;

color:var(--gold);

margin-bottom:20px;

}

.card h3{

font-size:22px;

margin-bottom:10px;

}

.card p{

color:#666;

font-size:15px;

line-height:1.7;

}

/*==============================
ABOUT SECTION
==============================*/

.about{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
    padding:90px 8%;
    background:#f8f8f8;
    flex-wrap:wrap;
}

.about-image{
    flex:1;
}

.about-image img{
    width:100%;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
}

.about-content{
    flex:1;
}

.about-content h5{
    color:var(--gold);
    font-size:18px;
    margin-bottom:10px;
}

.about-content h2{
    font-size:42px;
    color:#111;
    margin-bottom:20px;
}

.about-content p{
    color:#666;
    line-height:1.8;
    margin-bottom:30px;
}

/*==============================
WHY CHOOSE US
==============================*/

.why{
    padding:90px 8%;
    background:#111;
}

.why h2{
    text-align:center;
    color:#fff;
    font-size:42px;
    margin-bottom:50px;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
}

.why-box{
    background:#1b1b1b;
    padding:35px;
    border-radius:18px;
    text-align:center;
    transition:.4s;
    border:1px solid rgba(212,175,55,.25);
}

.why-box:hover{
    transform:translateY(-8px);
    background:#222;
}

.why-box i{
    font-size:48px;
    color:var(--gold);
    margin-bottom:20px;
}

.why-box h3{
    color:#fff;
    margin-bottom:12px;
}

.why-box p{
    color:#bbb;
    line-height:1.7;
}

/*==============================
PROJECT GALLERY
==============================*/

.projects{
    padding:90px 8%;
    background:#fff;
}

.projects h2{
    text-align:center;
    font-size:42px;
    margin-bottom:50px;
}

.gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:20px;
}

.gallery-item{
    overflow:hidden;
    border-radius:18px;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
}

.gallery-item img{
    width:100%;
    height:260px;
    object-fit:cover;
    transition:.5s;
}

.gallery-item:hover img{
    transform:scale(1.08);
}

.center{
    text-align:center;
    margin-top:45px;
}

/*==============================
COUNTER
==============================*/

.counter{
    background:linear-gradient(135deg,#111,#222);
    color:#fff;
    padding:70px 8%;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.counter-box{
    text-align:center;
}

.counter-box h2{
    color:var(--gold);
    font-size:48px;
    margin-bottom:10px;
}

.counter-box p{
    font-size:18px;
    color:#ddd;
}

/*==============================
TESTIMONIALS
==============================*/

.testimonials{
    padding:90px 8%;
    background:#f8f8f8;
}

.testimonials h2{
    text-align:center;
    font-size:42px;
    margin-bottom:50px;
    color:#111;
}

.testimonial-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.testimonial-card{
    background:#fff;
    border-radius:20px;
    padding:35px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.4s;
}

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

.testimonial-card img{
    width:90px;
    height:90px;
    border-radius:50%;
    object-fit:cover;
    margin:0 auto 20px;
    border:4px solid var(--gold);
}

.testimonial-card h3{
    margin-bottom:10px;
    color:#111;
}

.testimonial-card p{
    color:#666;
    line-height:1.8;
}

/*==============================
CONTACT FORM
==============================*/

.contact{
    padding:90px 8%;
    background:#111;
}

.contact h2{
    text-align:center;
    color:#fff;
    font-size:42px;
    margin-bottom:40px;
}

.contact form{
    max-width:700px;
    margin:auto;
}

.contact input,
.contact textarea{
    width:100%;
    padding:18px;
    margin-bottom:20px;
    border:none;
    border-radius:10px;
    outline:none;
    font-size:16px;
    background:#fff;
}

.contact textarea{
    resize:none;
}

.contact button{
    width:100%;
    padding:18px;
    background:var(--gold);
    color:#111;
    font-size:18px;
    font-weight:700;
    border:none;
    border-radius:50px;
    cursor:pointer;
    transition:.3s;
}

.contact button:hover{
    background:#fff;
}

/*==============================
CONTACT INFO
==============================*/

.contact-info{
    padding:70px 8%;
    background:#fff;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    text-align:center;
}

.contact-info div{
    background:#f8f8f8;
    padding:30px;
    border-radius:15px;
    transition:.3s;
}

.contact-info div:hover{
    transform:translateY(-8px);
}

.contact-info h3{
    color:var(--gold);
    margin-bottom:10px;
}

.contact-info p{
    color:#555;
}

/*==============================
GOOGLE MAP
==============================*/

.map{
    width:100%;
    height:450px;
}

.map iframe{
    width:100%;
    height:100%;
    border:0;
}
.hidden{
opacity:0;
transform:translateY(40px);
transition:.8s;
}

.show{
opacity:1;
transform:translateY(0);
}

nav a.active{
color:#D4AF37;
font-weight:700;
}

#topBtn{
position:fixed;
bottom:90px;
right:20px;
width:50px;
height:50px;
border:none;
border-radius:50%;
background:#D4AF37;
color:#111;
font-size:24px;
cursor:pointer;
display:none;
z-index:999;
box-shadow:0 10px 25px rgba(0,0,0,.3);
}