/* =====================================
   DreamNest Properties
   Developed by GenX Technologies
===================================== */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
scroll-behavior:smooth;
}

body{
background:#f5f5f5;
color:#222;
overflow-x:hidden;
}

img{
width:100%;
display:block;
}

a{
text-decoration:none;
}

ul{
list-style:none;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}

/* ================= NAVBAR ================= */

header{

position:fixed;
top:0;
left:0;
width:100%;
background:rgba(20,20,20,.9);
backdrop-filter:blur(15px);
z-index:999;

}

.navbar{

height:80px;
display:flex;
justify-content:space-between;
align-items:center;
width:90%;
max-width:1200px;
margin:auto;

}

.logo{

font-size:30px;
font-weight:700;
color:#d4af37;

}

.logo i{

margin-right:10px;

}

.nav-links{

display:flex;
gap:35px;

}

.nav-links a{

color:white;
transition:.3s;

}

.nav-links a:hover{

color:#d4af37;

}

/* ================= BUTTONS ================= */

.btn{

display:inline-block;
padding:14px 30px;
background:#d4af37;
color:#111;
border-radius:40px;
font-weight:600;
transition:.3s;

}

.btn:hover{

background:white;
transform:translateY(-4px);

}

.btn-outline{

display:inline-block;
padding:14px 30px;
border:2px solid #d4af37;
color:#d4af37;
border-radius:40px;
margin-left:15px;
transition:.3s;

}

.btn-outline:hover{

background:#d4af37;
color:#111;

}

/* ================= HERO ================= */

.hero{

height:100vh;
background:
linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.65)),
url("../images/hero.jpg") center/cover;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
padding:120px 20px;

}

.hero-content{

max-width:850px;
color:white;

}

.hero h1{

font-size:65px;
margin-bottom:20px;

}

.hero p{

font-size:20px;
margin-bottom:40px;
color:#ddd;

}

/* ================= ABOUT ================= */

.about{

padding:100px 0;
background:white;

}

.about .container{

display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;

}

.about img{

border-radius:20px;

}

.about h4{

color:#d4af37;
margin-bottom:10px;

}

.about h2{

font-size:42px;
margin-bottom:20px;

}

.about p{

color:#666;
line-height:1.8;
margin-bottom:35px;

}

/* ================= PROPERTIES ================= */

.properties{

padding:100px 0;
background:#f7f7f7;

}

.section-title{

text-align:center;
font-size:46px;
margin-bottom:60px;
color:#222;

}

.properties .container{

display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;

}

.property{

background:white;
border-radius:20px;
overflow:hidden;
box-shadow:0 15px 40px rgba(0,0,0,.08);
transition:.4s;

}

.property:hover{

transform:translateY(-10px);

}

.property img{

height:250px;
object-fit:cover;

}

.property h3{

padding:20px 20px 10px;

}

.property p{

padding:0 20px 20px;
font-size:22px;
font-weight:600;
color:#d4af37;

}

.property .btn{

margin:0 20px 25px;

}

/* ================= AGENTS ================= */

.agents{

padding:100px 0;
background:white;

}

.agents .container{

display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;

}

.agent{

background:#fafafa;
border-radius:20px;
overflow:hidden;
text-align:center;
box-shadow:0 10px 25px rgba(0,0,0,.08);
transition:.3s;

}

.agent:hover{

transform:translateY(-10px);

}

.agent img{

height:300px;
object-fit:cover;

}

.agent h3{

margin-top:20px;

}

.agent p{

margin:15px 0;
color:#666;

}

.agent .btn{

margin-bottom:25px;

}

/* ================= CONTACT ================= */

.contact{

padding:100px 20px;
background:#1b1b1b;
text-align:center;
color:white;

}

.contact h2{

font-size:42px;
margin-bottom:20px;

}

.contact p{

margin-bottom:35px;
color:#ccc;

}

/* ================= FOOTER ================= */

footer{

background:#111;
padding:25px;
text-align:center;
color:#aaa;

}

/* ================= POPUP ================= */

.popup{

display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.75);
justify-content:center;
align-items:center;
z-index:99999;

}

.popup-box{

width:90%;
max-width:500px;
background:white;
padding:40px;
border-radius:20px;
text-align:center;

}

.popup-box h2{

color:#d4af37;
margin-bottom:20px;

}

.popup-box p{

line-height:1.8;
color:#666;
margin-bottom:30px;

}

.popup-buttons{

display:flex;
justify-content:center;
gap:15px;
flex-wrap:wrap;

}

/* ================= RESPONSIVE ================= */

@media(max-width:991px){

.nav-links{

display:none;

}

.about .container{

grid-template-columns:1fr;

}

.properties .container{

grid-template-columns:1fr;

}

.agents .container{

grid-template-columns:1fr;

}

.hero h1{

font-size:45px;

}

}

@media(max-width:600px){

.hero h1{

font-size:34px;

}

.hero p{

font-size:16px;

}

.section-title{

font-size:34px;

}

.about h2{

font-size:30px;

}

.contact h2{

font-size:30px;

}

.btn,
.btn-outline{

display:block;
width:220px;
margin:10px auto;

}

}