{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    color:#222;
    background:#fff;
    overflow-x:hidden;
    line-height:1.7;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

.container{
    width:90%;
    max-width:1280px;
    margin:auto;
}

section{
    padding:90px 0;
}


.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    transition:.4s;
    background:rgba(0,0,0,.15);
    backdrop-filter:blur(12px);
}

.header .container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:85px;
}

.logo img{
    height:62px;
}

nav ul{
    display:flex;
    gap:40px;
}

nav ul li a{
    color:#fff;
    font-size:15px;
    font-weight:500;
    transition:.3s;
}

nav ul li a:hover{
    color:#d6b25e;
}

.btn-nav{
    background:#d6b25e;
    color:#fff;
    padding:13px 28px;
    border-radius:50px;
    font-weight:600;
    transition:.35s;
}

.btn-nav:hover{
    transform:translateY(-3px);
    box-shadow:0 15px 30px rgba(0,0,0,.25);
}

.menu-btn{
    display:none;
    color:#fff;
    font-size:30px;
    cursor:pointer;
}


.hero{
    position:relative;
    height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    background:url("https://affinitybelgravia.com/assets/home/home_slide2.jpg") center/cover;
}

.overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to right,
    rgba(0,0,0,.78),
    rgba(0,0,0,.45));
}

.hero-content{
    position:relative;
    z-index:2;
    width:90%;
    max-width:620px;
    color:#fff;
    margin-right:auto;
    margin-left:8%;
}

.hero-content h4{
    color:#d6b25e;
    letter-spacing:4px;
    margin-bottom:15px;
}

.hero-content h1{
    font-size:65px;
    line-height:1.1;
    font-weight:800;
    margin-bottom:20px;
}

.hero-content p{
    font-size:18px;
    margin-bottom:35px;
    color:#eee;
}

.hero-buttons{
    display:flex;
    gap:20px;
}

.btn1,
.btn2{
    padding:16px 34px;
    border-radius:50px;
    font-weight:600;
    transition:.35s;
}

.btn1{
    background:#d6b25e;
    color:#fff;
}

.btn2{
    border:2px solid #fff;
    color:#fff;
}

.btn1:hover,
.btn2:hover{
    transform:translateY(-5px);
}

.lead-form{
    position:absolute;
    right:7%;
    background:#fff;
    width:360px;
    padding:35px;
    border-radius:20px;
    z-index:2;
    box-shadow:0 30px 60px rgba(0,0,0,.18);
}

.lead-form h3{
    text-align:center;
    margin-bottom:25px;
    font-size:28px;
}

.lead-form input{
    width:100%;
    height:54px;
    border:1px solid #ddd;
    border-radius:10px;
    padding:0 15px;
    margin-bottom:18px;
    outline:none;
    transition:.3s;
}

.lead-form input:focus{
    border-color:#d6b25e;
}

.lead-form button{
    width:100%;
    height:55px;
    border:none;
    background:#d6b25e;
    color:#fff;
    font-size:16px;
    border-radius:10px;
    cursor:pointer;
    transition:.3s;
}

.lead-form button:hover{
    background:#b78d35;
}



.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.about-image{
    overflow:hidden;
    border-radius:18px;
}

.about-image img{
    transition:.5s;
}

.about-image:hover img{
    transform:scale(1.08);
}

.about-content span{
    color:#c89f45;
    font-weight:600;
    letter-spacing:3px;
}

.about-content h2{
    font-size:44px;
    margin:15px 0 25px;
}

.about-content p{
    margin-bottom:18px;
    color:#666;
}

.about-points{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
    margin:35px 0;
}

.about-points div{
    display:flex;
    align-items:center;
    gap:12px;
    font-weight:600;
}

.about-points i{
    color:#c89f45;
}

.about-btn{
    display:inline-block;
    background:#d6b25e;
    color:#fff;
    padding:16px 34px;
    border-radius:50px;
    transition:.35s;
}

.about-btn:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 40px rgba(0,0,0,.2);
}

/* ==========================
SECTION TITLE
========================== */

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title span{
    color:#c89f45;
    letter-spacing:3px;
    font-weight:600;
}

.section-title h2{
    font-size:42px;
    margin-top:12px;
    margin-bottom:15px;
}

.section-title p{
    color:#777;
    max-width:650px;
    margin:auto;
}
/* ==========================
VIDEO SECTION
========================== */

.video-section{
    background:#f8f8f8;
}

.video-wrapper{
    width:100%;
    max-width:1100px;
    margin:50px auto 0;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 25px 60px rgba(0,0,0,.15);
}

.video-wrapper iframe{
    width:100%;
    height:620px;
    border:none;
}

/* ==========================
STATS
========================== */

.stats{
    background:#111;
    color:#fff;
    padding:70px 0;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    text-align:center;
}

.stat-box{
    padding:30px;
}

.stat-box h2{
    font-size:52px;
    color:#d6b25e;
    margin-bottom:10px;
}

.stat-box p{
    font-size:18px;
    color:#ddd;
}

/* ==========================
FLOOR PLANS
========================== */

.floorplans{
    background:#fff;
}

.floor-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:40px;
}

.floor-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.35s;
}

.floor-card:hover{
    transform:translateY(-8px);
}

.floor-card h3{
    text-align:center;
    padding:25px;
    font-size:26px;
    font-weight:700;
}

.blur-image{
    position:relative;
    overflow:hidden;
}

.blur-image img{
    width:100%;
    height:420px;
    object-fit:cover;
    filter:blur(10px);
    transition:.4s;
}

.blur-overlay{
    position:absolute;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:center;
    background:rgba(0,0,0,.25);
}

.unlock-btn{
    border:none;
    background:#d6b25e;
    color:#fff;
    padding:16px 35px;
    border-radius:50px;
    cursor:pointer;
    font-size:16px;
    font-weight:600;
    transition:.3s;
}

.unlock-btn:hover{
    transform:scale(1.05);
    background:#b98f3b;
}

/* ==========================
COMMERCIAL & CLUBHOUSE
========================== */

.premium-section{
    background:#fafafa;
}

.premium-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:40px;
}

.premium-card{
    overflow:hidden;
    border-radius:20px;
    background:#fff;
    box-shadow:0 20px 50px rgba(0,0,0,.08);
    transition:.35s;
}

.premium-card:hover{
    transform:translateY(-8px);
}

.premium-card img{
    width:100%;
    height:350px;
    object-fit:cover;
}

.premium-content{
    padding:35px;
}

.premium-content h3{
    font-size:32px;
    margin-bottom:15px;
}

.premium-content p{
    color:#666;
    margin-bottom:25px;
}

.premium-content a{
    display:inline-block;
    background:#d6b25e;
    color:#fff;
    padding:14px 30px;
    border-radius:40px;
    transition:.3s;
}

.premium-content a:hover{
    background:#b98f3b;
}

/* ==========================
POPUP
========================== */

.popup{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.75);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:99999;
}

.popup.active{
    display:flex;
}

.popup-box{
    width:420px;
    background:#fff;
    border-radius:18px;
    padding:40px;
    position:relative;
    animation:popup .35s ease;
}

@keyframes popup{
    from{
        transform:translateY(40px);
        opacity:0;
    }
    to{
        transform:translateY(0);
        opacity:1;
    }
}

.close-popup{
    position:absolute;
    right:18px;
    top:12px;
    font-size:34px;
    cursor:pointer;
    color:#777;
}

.popup-box h2{
    margin-bottom:15px;
    font-size:30px;
}

.popup-box p{
    color:#666;
    margin-bottom:25px;
}

.popup-box input{
    width:100%;
    height:54px;
    border:1px solid #ddd;
    border-radius:10px;
    margin-bottom:18px;
    padding:0 15px;
    outline:none;
}

.popup-box input:focus{
    border-color:#d6b25e;
}

.popup-box button{
    width:100%;
    height:56px;
    border:none;
    background:#d6b25e;
    color:#fff;
    border-radius:10px;
    font-size:16px;
    cursor:pointer;
    transition:.3s;
}

.popup-box button:hover{
    background:#b98f3b;
}
/*==========================
GALLERY
==========================*/

.gallery-section{
    background:#fff;
}

.slider{
    width:100%;
    overflow:hidden;
    margin-top:50px;
    position:relative;
}

.slide-track{
    display:flex;
    width:calc(380px * 12);
    animation:scroll 35s linear infinite;
}

.slide{
    width:380px;
    flex-shrink:0;
    padding:10px;
}

.slide img{
    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:18px;
    transition:.4s;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.slide img:hover{
    transform:scale(1.05);
}

@keyframes scroll{

0%{
transform:translateX(0);
}

100%{
transform:translateX(calc(-380px * 6));
}

}

/*==========================
CONTACT
==========================*/

.contact{
    background:#fafafa;
}

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.contact-info span{
    color:#c89f45;
    font-weight:600;
    letter-spacing:3px;
}

.contact-info h2{
    font-size:44px;
    margin:15px 0;
}

.contact-info p{
    color:#666;
}

.info{
    margin-top:35px;
}

.info p{
    margin-bottom:18px;
    font-size:18px;
}

.info i{
    color:#c89f45;
    width:30px;
}

.contact-form{
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 20px 50px rgba(0,0,0,.08);
}

.contact-form input,
.contact-form textarea{

width:100%;
padding:16px;
margin-bottom:18px;
border:1px solid #ddd;
border-radius:10px;
font-family:Poppins;
outline:none;

}

.contact-form textarea{
resize:none;
}

.contact-form input:focus,
.contact-form textarea:focus{

border-color:#d6b25e;

}

.contact-form button{

width:100%;
height:55px;
border:none;
background:#d6b25e;
color:#fff;
border-radius:10px;
font-size:17px;
cursor:pointer;
transition:.3s;

}

.contact-form button:hover{

background:#b98f3b;

}

/*==========================
MAP
==========================*/

.map-section iframe{

width:100%;
height:450px;
border:none;

}

/*==========================
FOOTER
==========================*/

.footer{

background:#111;
color:#fff;
padding:70px 0;
text-align:center;

}

.footer-logo img{

height:70px;
margin:auto;
margin-bottom:25px;

}

.footer-links{

display:flex;
justify-content:center;
gap:30px;
margin:35px 0;

}

.footer-links a{

color:#ddd;
transition:.3s;

}

.footer-links a:hover{

color:#d6b25e;

}

.social-icons{

display:flex;
justify-content:center;
gap:15px;

}

.social-icons a{

width:48px;
height:48px;
background:#222;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
color:#fff;
transition:.3s;

}

.social-icons a:hover{

background:#d6b25e;

}

/*==========================
FLOATING BUTTONS
==========================*/

.whatsapp-btn,
.call-btn{

position:fixed;
right:25px;
width:58px;
height:58px;
border-radius:50%;
display:flex;
justify-content:center;
align-items:center;
color:#fff;
font-size:24px;
z-index:999;

}

.whatsapp-btn{

bottom:95px;
background:#25D366;

}

.call-btn{

bottom:25px;
background:#d6b25e;

}

/*==========================
RESPONSIVE
==========================*/

@media(max-width:992px){

nav{
display:none;
}

.menu-btn{
display:block;
}

.hero{
height:auto;
padding:170px 0 120px;
}

.hero-content{

margin:auto;
text-align:center;

}

.hero-content h1{

font-size:46px;

}

.hero-buttons{

justify-content:center;

}

.lead-form{

position:relative;
right:auto;
margin:60px auto 0;

}

.about-grid,
.contact-grid,
.premium-grid,
.floor-grid{

grid-template-columns:1fr;

}

.stats-grid{

grid-template-columns:repeat(2,1fr);

}

.video-wrapper iframe{

height:450px;

}

}

@media(max-width:768px){

.hero-content h1{

font-size:36px;

}

.hero-buttons{

flex-direction:column;

}

.stats-grid{

grid-template-columns:1fr;

}

.video-wrapper iframe{

height:250px;

}

.about-content h2,
.contact-info h2,
.section-title h2{

font-size:32px;

}

.footer-links{

flex-direction:column;
gap:15px;

}

.slide{

width:300px;

}

.slide-track{

width:calc(300px * 12);

}

}
/* Premium Popup */

.popup-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
display:none;
justify-content:center;
align-items:center;
background:rgba(0,0,0,.65);
backdrop-filter:blur(5px);
z-index:999999;
}

.popup-card{
width:360px;
background:#fff;
padding:30px;
border-radius:20px;
position:relative;
box-shadow:0 25px 60px rgba(0,0,0,.25);
border-top:5px solid #d6b25e;
animation:popupShow .35s ease;
}

@keyframes popupShow{
from{
opacity:0;
transform:translateY(20px) scale(.95);
}
to{
opacity:1;
transform:translateY(0) scale(1);
}
}

.popup-tag{
display:inline-block;
background:#f8f3e8;
color:#b88b2b;
padding:6px 14px;
border-radius:30px;
font-size:11px;
font-weight:600;
margin:0 auto 15px;
display:flex;
justify-content:center;
width:max-content;
}

.popup-card h2{
text-align:center;
font-size:28px;
font-weight:700;
margin-bottom:10px;
color:#222;
}

.popup-card p{
text-align:center;
font-size:14px;
color:#666;
margin-bottom:20px;
line-height:1.6;
}

.popup-card input{
width:100%;
height:50px;
padding:0 15px;
margin-bottom:14px;
border:1px solid #ddd;
border-radius:10px;
font-size:14px;
background:#fafafa;
}

.popup-card input{
width:100%;
height:50px;
padding:0 15px;
margin-bottom:14px;
border:1px solid #ddd;
border-radius:10px;
font-size:14px;
background:#fafafa;
box-sizing:border-box;
}

.popup-card button{
width:100%;
height:52px;
border:none;
border-radius:10px;
background:linear-gradient(90deg,#b8862b,#d6b25e,#b8862b);
color:#fff;
font-size:16px;
font-weight:600;
cursor:pointer;
transition:.3s;
box-sizing:border-box;
}

.popup-card button:hover{
transform:translateY(-2px);
}

.popup-features{
display:flex;
justify-content:center;
gap:10px;
margin-top:15px;
}

.popup-features span{
background:#f8f3e8;
padding:6px 12px;
border-radius:20px;
font-size:12px;
}

.popup-footer{
margin-top:15px;
text-align:center;
font-size:12px;
color:#999;
}

#closePopup{
position:absolute;
top:12px;
right:16px;
font-size:28px;
cursor:pointer;
color:#888;
}

#closePopup:hover{
color:#d6b25e;
}
/* Extra Compact Mobile Popup */

@media (max-width:768px){

.popup-card{
width:88%;
max-width:280px;
padding:18px;
border-radius:14px;
}

.popup-card h2{
font-size:20px;
margin-bottom:6px;
}

.popup-card p{
font-size:12px;
margin-bottom:12px;
line-height:1.4;
}

.popup-card input{
height:42px;
padding:0 12px;
font-size:13px;
margin-bottom:10px;
}

.popup-card button{
height:44px;
font-size:14px;
}

.popup-features{
display:none;
}

.popup-footer{
font-size:11px;
margin-top:10px;
}

#closePopup{
font-size:22px;
top:8px;
right:10px;
}

}
/* Mobile Hero Layout */

@media (max-width:768px){

.hero{
display:flex;
flex-direction:column;
height:auto;
padding:120px 0 40px;
}

.hero-content{
order:1;
width:90%;
margin:0 auto;
text-align:center;
}

.lead-form{
position:relative;
order:2;
right:auto;
top:auto;
width:90%;
max-width:320px;
margin:25px auto 0;
}

}