/* ===========================
   Luxury Estate
   style.css
===========================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Vazirmatn',sans-serif;
    background:#0b0b0b;
    color:#fff;
    overflow-x:hidden;
    line-height:1.8;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    width:100%;
    display:block;
}

ul{
    list-style:none;
}

.container{
    width:90%;
    max-width:1400px;
    margin:auto;
}

/* ===========================
Loader
=========================== */

#loader{
    position:fixed;
    inset:0;
    background:#000;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.loader-logo{
    font-size:45px;
    font-weight:800;
    color:#d4af37;
    letter-spacing:3px;
}

/* ===========================
Header
=========================== */

header{
    position:fixed;
    top:0;
    width:100%;
    z-index:1000;
    backdrop-filter:blur(18px);
    background:rgba(0,0,0,.35);
    border-bottom:1px solid rgba(255,255,255,.08);
}

header .container{

display:flex;

justify-content:space-between;

align-items:center;

height:90px;

}

.logo{

font-size:30px;

font-weight:800;

color:#d4af37;

}

nav ul{

display:flex;

gap:35px;

}

nav a{

font-size:15px;

transition:.4s;

}

nav a:hover{

color:#d4af37;

}

.btn{

padding:14px 30px;

border-radius:50px;

background:#d4af37;

color:#000;

font-weight:700;

transition:.4s;

}

.btn:hover{

transform:translateY(-3px);

box-shadow:0 10px 30px rgba(212,175,55,.35);

}

.mobile-menu{

display:none;

font-size:28px;

cursor:pointer;

}

/* ===========================
Hero
=========================== */

.hero{

height:100vh;

position:relative;

display:flex;

justify-content:center;

align-items:center;

overflow:hidden;

}

.hero video{

position:absolute;

inset:0;

width:100%;

height:100%;

object-fit:cover;

}

.overlay{

position:absolute;

inset:0;

background:rgba(0,0,0,.55);

}

.hero-content{

position:relative;

z-index:5;

text-align:center;

max-width:900px;

padding:20px;

}

.hero-content span{

display:inline-block;

padding:10px 24px;

border:1px solid rgba(255,255,255,.2);

border-radius:40px;

margin-bottom:25px;

background:rgba(255,255,255,.05);

backdrop-filter:blur(15px);

}

.hero-content h1{

font-size:72px;

font-weight:800;

margin-bottom:25px;

line-height:1.3;

}

.hero-content p{

font-size:20px;

color:#ddd;

margin-bottom:40px;

}

.hero-btn{

display:inline-block;

padding:18px 42px;

border-radius:60px;

background:#d4af37;

color:#000;

font-weight:bold;

transition:.4s;

}

.hero-btn:hover{

transform:translateY(-6px);

box-shadow:0 20px 40px rgba(212,175,55,.4);

}

.scroll-down{

position:absolute;

bottom:35px;

left:50%;

transform:translateX(-50%);

font-size:28px;

animation:scroll 2s infinite;

}

/* ===========================
Search
=========================== */

.search-box{

margin-top:-70px;

position:relative;

z-index:20;

}

.search-box form{

background:#151515;

padding:35px;

border-radius:20px;

box-shadow:0 30px 80px rgba(0,0,0,.4);

}

.search-grid{

display:grid;

grid-template-columns:repeat(5,1fr);

gap:20px;

}

.search-grid label{

display:block;

margin-bottom:10px;

font-size:14px;

color:#aaa;

}

.search-grid input,

.search-grid select{

width:100%;

padding:15px;

background:#222;

border:none;

color:#fff;

border-radius:10px;

outline:none;

}

.search-grid button{

width:100%;

height:55px;

border:none;

border-radius:12px;

background:#d4af37;

font-weight:700;

cursor:pointer;

transition:.4s;

}

.search-grid button:hover{

transform:translateY(-3px);

}

/* ===========================
About
=========================== */

.about{

padding:140px 0;

}

.about .container{

display:grid;

grid-template-columns:1fr 1fr;

gap:70px;

align-items:center;

}

.about-left img{

border-radius:20px;

box-shadow:0 30px 60px rgba(0,0,0,.5);

}

.about-right span{

color:#d4af37;

font-weight:700;

}

.about-right h2{

font-size:48px;

margin:20px 0;

}

.about-right p{

color:#bbb;

margin-bottom:40px;

}

.features{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:20px;

}

.features div{

background:#171717;

padding:30px;

border-radius:18px;

text-align:center;

transition:.4s;

}

.features div:hover{

transform:translateY(-10px);

background:#202020;

}

.features i{

font-size:35px;

color:#d4af37;

margin-bottom:20px;

}

.features h3{

font-size:34px;

margin-bottom:10px;

}

/* ادامه در بخش دوم... */

/* ===========================
Section Title
=========================== */

.section-title{
    text-align:center;
    margin-bottom:70px;
}

.section-title span{
    color:#d4af37;
    font-size:15px;
    letter-spacing:2px;
    text-transform:uppercase;
}

.section-title h2{
    font-size:48px;
    margin:15px 0;
    font-weight:800;
}

.section-title p{
    color:#bdbdbd;
    max-width:700px;
    margin:auto;
}

/* ===========================
Featured Properties
=========================== */

.featured{
    padding:120px 0;
}

.property-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:35px;
}

.property-card{
    background:#161616;
    border-radius:22px;
    overflow:hidden;
    transition:.45s;
    border:1px solid rgba(255,255,255,.06);
}

.property-card:hover{
    transform:translateY(-12px);
    box-shadow:0 30px 60px rgba(0,0,0,.45);
}

.property-image{
    position:relative;
    overflow:hidden;
}

.property-image img{
    height:270px;
    object-fit:cover;
    transition:.6s;
}

.property-card:hover img{
    transform:scale(1.08);
}

.badge{
    position:absolute;
    top:20px;
    right:20px;
    background:#d4af37;
    color:#000;
    padding:8px 18px;
    border-radius:30px;
    font-weight:700;
    font-size:13px;
}

.price{
    position:absolute;
    left:20px;
    bottom:20px;
    background:rgba(0,0,0,.65);
    backdrop-filter:blur(12px);
    padding:10px 18px;
    border-radius:12px;
    font-weight:bold;
}

.property-content{
    padding:30px;
}

.property-content h3{
    font-size:28px;
    margin-bottom:12px;
}

.property-content p{
    color:#aaa;
    margin-bottom:25px;
}

.property-info{
    display:flex;
    justify-content:space-between;
    margin-bottom:30px;
    color:#ddd;
    font-size:14px;
}

.property-info span{
    display:flex;
    align-items:center;
    gap:8px;
}

.card-btn,
.property-content a{
    display:inline-block;
    background:#d4af37;
    color:#000;
    padding:14px 28px;
    border-radius:40px;
    font-weight:bold;
    transition:.4s;
}

.card-btn:hover,
.property-content a:hover{
    transform:translateY(-4px);
}

/* ===========================
Services
=========================== */

.services{
    padding:120px 0;
    background:#101010;
}

.service-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.service-box{
    background:#171717;
    padding:45px 30px;
    border-radius:20px;
    text-align:center;
    transition:.45s;
}

.service-box:hover{
    transform:translateY(-10px);
    background:#202020;
}

.service-box i{
    font-size:55px;
    color:#d4af37;
    margin-bottom:25px;
}

.service-box h3{
    font-size:24px;
    margin-bottom:15px;
}

.service-box p{
    color:#aaa;
}

/* ===========================
Counter
=========================== */

.counter{
    padding:100px 0;
}

.counter-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.counter-grid div{
    background:#181818;
    border-radius:18px;
    padding:40px;
    text-align:center;
}

.counter-grid h2{
    font-size:55px;
    color:#d4af37;
    margin-bottom:10px;
}

.counter-grid p{
    color:#aaa;
}

/* ===========================
Projects
=========================== */

.projects{
    padding:120px 0;
    background:#111;
}

.project-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.project-item{
    position:relative;
    overflow:hidden;
    border-radius:22px;
}

.project-item img{
    height:420px;
    object-fit:cover;
    transition:.6s;
}

.project-item:hover img{
    transform:scale(1.1);
}

.project-overlay{
    position:absolute;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:flex-end;
    padding-bottom:40px;
    background:linear-gradient(to top,rgba(0,0,0,.75),transparent);
}

.project-overlay h3{
    font-size:30px;
}

/* ===========================
Testimonials
=========================== */

.testimonial{
    padding:120px 0;
}

.testimonial-slider{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.testimonial-card{
    background:#171717;
    padding:40px;
    border-radius:20px;
    text-align:center;
}

.testimonial-card img{
    width:90px;
    height:90px;
    border-radius:50%;
    margin:auto;
    margin-bottom:25px;
}

.testimonial-card p{
    color:#bbb;
    margin-bottom:20px;
}

.testimonial-card h4{
    color:#d4af37;
}

/* ===========================
CTA
=========================== */

.cta{
    padding:120px 0;
    background:linear-gradient(135deg,#d4af37,#9f7b1e);
    color:#000;
    text-align:center;
}

.cta h2{
    font-size:52px;
    margin-bottom:20px;
}

.cta p{
    font-size:20px;
    margin-bottom:40px;
}

.cta a{
    display:inline-block;
    background:#000;
    color:#fff;
    padding:18px 45px;
    border-radius:50px;
    transition:.4s;
}

.cta a:hover{
    transform:translateY(-5px);
}

/* ===========================
Footer
=========================== */

footer{
    background:#080808;
    padding:90px 0 40px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:40px;
}

footer h3{
    font-size:34px;
    color:#d4af37;
    margin-bottom:20px;
}

footer h4{
    margin-bottom:20px;
}

footer p,
footer li{
    color:#aaa;
    margin-bottom:12px;
    transition:.3s;
}

footer li:hover{
    color:#fff;
    cursor:pointer;
}

.social{
    display:flex;
    gap:18px;
    margin-top:20px;
}

.social i{
    width:45px;
    height:45px;
    border-radius:50%;
    background:#1c1c1c;
    display:flex;
    justify-content:center;
    align-items:center;
    cursor:pointer;
    transition:.3s;
}

.social i:hover{
    background:#d4af37;
    color:#000;
}

/* ===========================
Animations
=========================== */

@keyframes scroll{

0%{
    transform:translate(-50%,0);
}

50%{
    transform:translate(-50%,12px);
}

100%{
    transform:translate(-50%,0);
}

}

@keyframes fadeUp{

from{
    opacity:0;
    transform:translateY(40px);
}

to{
    opacity:1;
    transform:translateY(0);
}

}