/*==============================
 GOOGLE FONT
==============================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700;800&display=swap');

/*==============================
 RESET
==============================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#080808;
    color:#ffffff;
    overflow-x:hidden;
    line-height:1.8;
}

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:999;
    backdrop-filter:blur(20px);
    background:rgba(0,0,0,.55);
    border-bottom:1px solid rgba(212,175,55,.25);
}

.navbar{
    width:90%;
    max-width:1400px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
    color:white;
}

.logo img{
    width:60px;
    height:60px;
    border-radius:50%;
    border:2px solid #D4AF37;
}

.logo h2{
    font-size:20px;
    color:#D4AF37;
    font-family:'Playfair Display',serif;
}

.logo p{
    font-size:12px;
    color:#cccccc;
}

nav ul{
    display:flex;
    gap:35px;
}

nav ul li a{
    color:white;
    font-weight:500;
    transition:.4s;
    position:relative;
}

nav ul li a:hover{
    color:#D4AF37;
}

nav ul li a.active{
    color:#D4AF37;
}

nav ul li a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0%;
    height:2px;
    background:#D4AF37;
    transition:.4s;
}

nav ul li a:hover::after{
    width:100%;
}

.menu{
    display:none;
    font-size:28px;
    color:#D4AF37;
    cursor:pointer;
}

/*==============================
 HERO
==============================*/

.hero{
    height:100vh;
    background:url("images/hero.jpg") center center/cover;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.65);
}

.hero-content{
    position:relative;
    z-index:2;
    text-align:center;
    width:90%;
    max-width:900px;
}

.hero h1{
    font-size:65px;
    font-family:'Playfair Display',serif;
    color:#fff;
    margin-bottom:20px;
}

.hero h1 span{
    color:#D4AF37;
}

.hero p{
    font-size:20px;
    color:#ddd;
    margin-bottom:40px;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

/*==============================
 BUTTONS
==============================*/

.gold-btn{
    background:#D4AF37;
    color:#111;
    padding:16px 40px;
    border-radius:50px;
    font-weight:700;
    transition:.4s;
}

.gold-btn:hover{
    background:#f2cf60;
    transform:translateY(-5px);
    box-shadow:0 10px 30px rgba(212,175,55,.4);
}

.glass-btn{
    padding:16px 40px;
    border-radius:50px;
    border:1px solid rgba(255,255,255,.2);
    backdrop-filter:blur(12px);
    color:white;
    transition:.4s;
}

.glass-btn:hover{
    background:#D4AF37;
    color:#111;
}

/*==============================
 SECTION
==============================*/

.section{
    width:90%;
    max-width:1300px;
    margin:120px auto;
}

.title{
    text-align:center;
    margin-bottom:60px;
}

.title h2{
    font-size:48px;
    color:#D4AF37;
    font-family:'Playfair Display',serif;
    position:relative;
}

.title h2::after{
    content:"";
    width:120px;
    height:3px;
    background:#D4AF37;
    display:block;
    margin:15px auto;
}

/*==============================
 GLASS CARD
==============================*/

.glass{
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(18px);
    border:1px solid rgba(212,175,55,.15);
    border-radius:25px;
    padding:50px;
    box-shadow:0 20px 60px rgba(0,0,0,.45);
}

.glass p{
    color:#d7d7d7;
    font-size:17px;
}
/*==============================
 FEATURE CARDS
==============================*/

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:35px;
}

.card{
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(20px);
    border:1px solid rgba(212,175,55,.2);
    border-radius:20px;
    padding:40px 30px;
    text-align:center;
    transition:.4s;
}

.card:hover{
    transform:translateY(-12px);
    border-color:#D4AF37;
    box-shadow:0 20px 40px rgba(212,175,55,.2);
}

.card i{
    font-size:55px;
    color:#D4AF37;
    margin-bottom:20px;
}

.card h3{
    margin-bottom:15px;
    font-size:24px;
}

.card p{
    color:#cfcfcf;
}

/*==============================
 PROPERTY SECTION
==============================*/

.property-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(330px,1fr));
    gap:35px;
}

.property{
    background:#111;
    border-radius:20px;
    overflow:hidden;
    border:1px solid rgba(212,175,55,.2);
    transition:.4s;
}

.property:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(212,175,55,.25);
}

.property img{
    width:100%;
    height:260px;
    object-fit:cover;
    transition:.6s;
}

.property:hover img{
    transform:scale(1.08);
}

.property-info{
    padding:25px;
}

.property-info h3{
    color:#D4AF37;
    margin-bottom:10px;
    font-size:26px;
}

.property-info p{
    color:#cccccc;
    margin-bottom:20px;
}

.property-info a{
    display:inline-block;
    background:#D4AF37;
    color:#111;
    padding:12px 30px;
    border-radius:40px;
    font-weight:600;
    transition:.3s;
}

.property-info a:hover{
    background:#fff;
}

/*==============================
 TESTIMONIALS
==============================*/

.testimonial{
    background:rgba(255,255,255,.05);
    border-radius:20px;
    padding:35px;
    text-align:center;
    border:1px solid rgba(212,175,55,.15);
    transition:.4s;
}

.testimonial:hover{
    transform:translateY(-10px);
}

.testimonial img{
    width:110px;
    height:110px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid #D4AF37;
    margin:auto;
    margin-bottom:20px;
}

.testimonial h4{
    color:#D4AF37;
    margin-bottom:15px;
}

.testimonial p{
    color:#d0d0d0;
    font-style:italic;
}

/*==============================
 NEWSLETTER
==============================*/

.newsletter{
    width:90%;
    max-width:900px;
    margin:100px auto;
    text-align:center;
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(18px);
    border-radius:25px;
    padding:60px;
    border:1px solid rgba(212,175,55,.2);
}

.newsletter h2{
    color:#D4AF37;
    margin-bottom:30px;
    font-size:38px;
}

.newsletter form{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

.newsletter input{
    width:420px;
    max-width:100%;
    padding:18px;
    border:none;
    border-radius:50px;
    background:#1b1b1b;
    color:white;
    outline:none;
}

.newsletter button{
    padding:18px 35px;
    background:#D4AF37;
    color:#111;
    border:none;
    border-radius:50px;
    cursor:pointer;
    font-weight:700;
    transition:.3s;
}

.newsletter button:hover{
    background:#fff;
}
/*==============================
 FOOTER
==============================*/

footer{
    background:#050505;
    border-top:2px solid #D4AF37;
    margin-top:120px;
}

.footer-content{
    width:90%;
    max-width:1300px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:50px;
    padding:80px 0;
}

.footer-content h2,
.footer-content h3{
    color:#D4AF37;
    margin-bottom:20px;
}

.footer-content p{
    color:#cccccc;
    line-height:1.8;
    margin-bottom:10px;
}

.footer-content a{
    display:block;
    color:#cccccc;
    margin-bottom:12px;
    transition:.3s;
}

.footer-content a:hover{
    color:#D4AF37;
    padding-left:10px;
}

.socials{
    display:flex;
    gap:18px;
    margin-top:20px;
}

.socials i{
    width:50px;
    height:50px;
    border-radius:50%;
    background:#111;
    border:1px solid rgba(212,175,55,.3);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#D4AF37;
    font-size:20px;
    cursor:pointer;
    transition:.3s;
}

.socials i:hover{
    background:#D4AF37;
    color:#111;
    transform:translateY(-8px);
}

.copyright{
    border-top:1px solid rgba(255,255,255,.08);
    padding:25px;
    text-align:center;
    color:#999;
}

/*==============================
 SCROLLBAR
==============================*/

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#0d0d0d;
}

::-webkit-scrollbar-thumb{
    background:#D4AF37;
    border-radius:30px;
}

::-webkit-scrollbar-thumb:hover{
    background:#f4cb53;
}

/*==============================
 ANIMATIONS
==============================*/

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

.section,
.card,
.property,
.testimonial,
.glass,
.newsletter{
    animation:fadeUp 1s ease;
}

/*==============================
 MOBILE
==============================*/

@media(max-width:992px){

nav{
    display:none;
}

.menu{
    display:block;
}

.hero h1{
    font-size:48px;
}

.hero p{
    font-size:18px;
}

.title h2{
    font-size:38px;
}

.newsletter{
    padding:40px 25px;
}

}

@media(max-width:768px){

.navbar{
    padding:15px 0;
}

.logo img{
    width:50px;
    height:50px;
}

.logo h2{
    font-size:16px;
}

.hero{
    height:90vh;
}

.hero h1{
    font-size:36px;
}

.hero p{
    font-size:16px;
}

.hero-buttons{
    flex-direction:column;
    align-items:center;
}

.gold-btn,
.glass-btn{
    width:230px;
    text-align:center;
}

.glass{
    padding:30px;
}

.property img{
    height:220px;
}

.newsletter h2{
    font-size:30px;
}

.newsletter input{
    width:100%;
}

.newsletter button{
    width:100%;
}

.footer-content{
    text-align:center;
}

.socials{
    justify-content:center;
}

}

@media(max-width:480px){

.hero h1{
    font-size:30px;
}

.title h2{
    font-size:30px;
}

.card{
    padding:30px 20px;
}

.property-info h3{
    font-size:22px;
}

.newsletter{
    padding:30px 20px;
}

}
/* JavaScript Animation */

.hidden{
    opacity:0;
    transform:translateY(60px);
    transition:1s;
}

.show{
    opacity:1;
    transform:translateY(0);
}

/* Sticky Header */

.sticky{
    background:rgba(0,0,0,.92);
    box-shadow:0 5px 30px rgba(0,0,0,.6);
}

/* Mobile Menu */

@media(max-width:992px){

nav{
    position:absolute;
    top:85px;
    left:0;
    width:100%;
    background:#111;
    display:none;
    padding:20px 0;
    border-top:1px solid rgba(212,175,55,.2);
}

nav.showMenu{
    display:block;
}

nav ul{
    flex-direction:column;
    align-items:center;
    gap:25px;
}

}
