/* =====================================
   ABR Real Estate
   Style.css
====================================== */

/*================ BASE =================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Cairo',sans-serif;
    direction:rtl;
    background:#fafafa;
    color:#333;
    overflow-x:hidden;
}

:root{
    --primary:#111111;
    --secondary:#C8A04D;
    --light:#ffffff;
    --gray:#777;
    --bg:#F8F8F8;
    --glass:rgba(15,15,15,.35);
}

.container{
    width:90%;
    max-width:1300px;
    margin:auto;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

/*================ HEADER =================*/

header{
    position:fixed;
    width:100%;
    top:0;
    right:0;
    background:rgba(10,10,10,.12);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    z-index:999;
    border-bottom:1px solid rgba(255,255,255,.08);
    transition:transform .35s ease, background-color .35s ease, box-shadow .35s ease;
}

header.scrolled{
    background:rgba(10,10,10,.45);
    box-shadow:0 8px 25px rgba(0,0,0,.12);
}

header.hide{
    transform:translateY(-110%);
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:92px;
    gap:20px;
}

/*================ LOGO =================*/

.logo{
    display:flex;
    align-items:center;
    justify-content:center;
    background:transparent;
    padding:0;
    border:0;
}

.logo img{
    display:block;
    height:68px;
    width:auto;
    background:transparent;
    object-fit:contain;
    mix-blend-mode:normal;
    transition:.3s;
}

.logo:hover img{
    transform:scale(1.04);
}

.nav-actions{
    display:flex;
    align-items:center;
    gap:16px;
}

nav ul{
    display:flex;
    gap:28px;
    align-items:center;
}

nav ul li a{
    color:#fff;
    font-size:16px;
    font-weight:600;
    transition:.3s;
    position:relative;
}

nav ul li a::after{
    content:"";
    position:absolute;
    right:0;
    bottom:-8px;
    width:0;
    height:2px;
    background:var(--secondary);
    transition:.3s;
}

nav ul li a:hover{
    color:var(--secondary);
}

nav ul li a:hover::after{
    width:100%;
}

.btn{
    background:linear-gradient(135deg,#d8b25f,#b88b30);
    color:#fff;
    padding:14px 28px;
    border-radius:12px;
    transition:.35s;
    font-weight:700;
    display:inline-block;
    box-shadow:0 10px 25px rgba(200,160,77,.2);
}

.btn:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 30px rgba(200,160,77,.3);
}

.btn-call{
    white-space:nowrap;
}

.theme-toggle{
    width:46px;
    height:46px;
    border:none;
    border-radius:50%;
    cursor:pointer;
    background:rgba(255,255,255,.14);
    color:#fff;
    font-size:18px;
    transition:.3s;
}

.theme-toggle:hover{
    background:#C8A04D;
    color:#fff;
}

/*================ HERO =================*/

.hero{
    position:relative;
    min-height:100vh;
    background:linear-gradient(135deg,rgba(0,0,0,.82),rgba(0,0,0,.35)),url("images/hero.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    display:flex;
    align-items:center;
    overflow:hidden;
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:radial-gradient(circle at top right,rgba(200,160,77,.18),transparent 35%);
}

.overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(0,0,0,.2),rgba(0,0,0,.55));
}

.hero-content{
    position:relative;
    color:#fff;
    max-width:760px;
    padding-top:70px;
}

.badge{
    display:inline-block;
    background:rgba(200,160,77,.16);
    color:#fff;
    padding:10px 20px;
    border:1px solid rgba(200,160,77,.5);
    border-radius:40px;
    margin-bottom:25px;
    backdrop-filter:blur(8px);
}

.hero h1{
    font-size:64px;
    line-height:1.45;
    margin-bottom:20px;
    font-weight:900;
    text-shadow:0 10px 30px rgba(0,0,0,.25);
}

.hero p{
    font-size:20px;
    color:#e8e8e8;
    line-height:2;
    margin-bottom:35px;
    max-width:650px;
}

.hero-buttons{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

.btn-outline{
    border:2px solid rgba(255,255,255,.9);
    color:#fff;
    padding:14px 28px;
    border-radius:12px;
    transition:.35s;
    display:inline-block;
    backdrop-filter:blur(6px);
    background:rgba(255,255,255,.06);
}

.btn-outline:hover{
    background:#fff;
    color:#111;
}

/*================ SECTION TITLE =================*/

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title span{
    color:var(--secondary);
    font-size:18px;
    font-weight:bold;
}

.section-title h2{
    font-size:42px;
    margin-top:10px;
}

.section-desc{
    color:#777;
    max-width:650px;
    margin:15px auto 0;
    text-align:center;
    line-height:2;
}

/*================ ABOUT =================*/

.about{
    padding:120px 0;
    background:linear-gradient(180deg,#fff,#fafafa);
}

.about p{
    max-width:850px;
    margin:auto;
    line-height:2.2;
    text-align:center;
    color:#666;
    font-size:19px;
}

.about-content{
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:45px;
    align-items:center;
}

.about-text{
    line-height:2.2;
    color:#666;
    font-size:18px;
}

.about-features{
    display:grid;
    gap:14px;
}

.about-feature{
    display:flex;
    align-items:center;
    gap:14px;
    padding:18px;
    background:#fff;
    border-radius:14px;
    box-shadow:0 8px 24px rgba(0,0,0,.07);
}

.about-feature i{
    color:#c8a04d;
    font-size:24px;
    min-width:30px;
}

.about-feature strong{
    display:block;
    margin-bottom:4px;
}

.about-feature span{
    color:#777;
    font-size:14px;
}

/*================ SERVICES =================*/

#services{
    padding:120px 0;
    background:#fff;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:28px;
}

.card{
    background:linear-gradient(180deg,#fff,#fbfbfb);
    border-radius:18px;
    padding:40px 34px;
    text-align:center;
    transition:.4s;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    border:1px solid rgba(0,0,0,.04);
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 18px 45px rgba(0,0,0,.12);
}

.card i{
    font-size:54px;
    color:var(--secondary);
    margin-bottom:22px;
}

.card h3{
    margin-bottom:15px;
    font-size:24px;
}

.card p{
    line-height:2;
    color:#666;
}

/*================ PROJECTS =================*/

.projects{
    padding:120px 0;
    background:#f5f5f5;
}

.project-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
    gap:30px;
}

.project-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    transition:.4s;
}

.project-card:hover{
    transform:translateY(-10px);
}

.project-card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.project-info{
    padding:25px;
}

.project-info h3{
    margin-bottom:10px;
    font-size:24px;
}

.project-info p{
    color:#777;
    margin-bottom:25px;
    line-height:1.9;
}

/*================ CLIENTS =================*/

.clients{
    padding:110px 0;
    background:#fff;
}

.clients-slider{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:24px;
    align-items:center;
}

.slide{
    background:#fff;
    border-radius:14px;
    padding:28px;
    height:145px;
    display:flex;
    justify-content:center;
    align-items:center;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.35s;
    border:1px solid rgba(0,0,0,.04);
}

.slide:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

.slide img{
    max-width:140px;
    max-height:70px;
    object-fit:contain;
    filter:grayscale(100%);
    transition:.35s;
}

.slide:hover img{
    filter:none;
    transform:scale(1.08);
}

/*================ STATS =================*/

.stats{
    background:linear-gradient(135deg,#111,#1b1b1b);
    color:#fff;
    padding:90px 0;
}

.stats .container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    text-align:center;
    gap:20px;
}

.stat{
    position:relative;
    padding:25px 15px;
}

.stat-icon{
    width:54px;
    height:54px;
    margin:0 auto 16px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(200,160,77,.12);
    color:var(--secondary);
    font-size:22px;
    border:1px solid rgba(200,160,77,.25);
}

.stat h2{
    color:var(--secondary);
    font-size:58px;
}

.stat p{
    margin-top:10px;
    font-size:20px;
}

/*================ INQUIRY =================*/

.inquiry{
    padding:120px 0;
    background:linear-gradient(180deg,#fafafa,#f2f2f2);
}

.inquiry-form{
    max-width:900px;
    margin:auto;
    background:#fff;
    padding:45px;
    border-radius:22px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    border:1px solid rgba(0,0,0,.04);
}

.input-group{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:22px;
}

.input-box{
    margin-bottom:22px;
}

.input-box label{
    display:block;
    margin-bottom:10px;
    font-weight:700;
    color:#222;
}

.input-box input,
.input-box textarea,
.input-box select{
    width:100%;
    padding:16px;
    border:1px solid #ddd;
    border-radius:12px;
    font-family:'Cairo',sans-serif;
    font-size:16px;
    transition:.3s;
    background:#fff;
    color:#333;
}

.input-box input:focus,
.input-box textarea:focus,
.input-box select:focus{
    border-color:#C8A04D;
    outline:none;
    box-shadow:0 0 12px rgba(200,160,77,.18);
}

.full{
    width:100%;
}

.inquiry-form .btn{
    width:100%;
    padding:16px;
    font-size:18px;
    border:none;
    cursor:pointer;
}

.form-message{
    display:none;
    margin-top:18px;
    padding:14px;
    border-radius:10px;
    text-align:center;
    background:#e9f8ee;
    color:#18713a;
}

/*================ CONTACT =================*/

#contact{
    padding:120px 0;
    background:#fff;
}

.contact-box{
    display:flex;
    justify-content:center;
    gap:28px;
    flex-wrap:wrap;
}

.contact-box div{
    background:linear-gradient(180deg,#fff,#fbfbfb);
    width:350px;
    text-align:center;
    padding:35px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    border:1px solid rgba(0,0,0,.04);
    font-size:18px;
    line-height:1.9;
}

.contact-box i{
    color:var(--secondary);
    font-size:35px;
    margin-bottom:16px;
    display:block;
}

.contact-box a{
    color:inherit;
    transition:.3s;
}

.contact-box a:hover{
    color:#c8a04d;
}

/*================ FOOTER =================*/

footer{
    background:#111;
    color:#fff;
    padding:40px;
    text-align:center;
}

footer img{
    width:130px;
    margin-bottom:15px;
}

/*================ WHATSAPP =================*/

.whatsapp-float{
    position:fixed;
    left:25px;
    bottom:25px;
    width:58px;
    height:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#25d366;
    color:#fff;
    font-size:29px;
    z-index:1000;
    box-shadow:0 8px 25px rgba(0,0,0,.22);
    transition:.3s;
}

.whatsapp-float:hover{
    transform:scale(1.1);
    color:#fff;
}

/*================ DARK MODE =================*/

body.dark{
    background:#121212;
    color:#fff;
}

body.dark header{
    background:rgba(10,10,10,.35);
    border-bottom:1px solid rgba(255,255,255,.06);
}

body.dark .about,
body.dark .clients,
body.dark #services,
body.dark #contact,
body.dark .inquiry,
body.dark .projects{
    background:#181818;
}

body.dark .about-feature,
body.dark .card,
body.dark .slide,
body.dark .contact-box div,
body.dark .inquiry-form{
    background:#242424;
    color:#fff;
    border-color:#2f2f2f;
}

body.dark .card p,
body.dark .about p,
body.dark .about-text,
body.dark .project-info p,
body.dark .section-desc,
body.dark .about-feature span{
    color:#bbb;
}

body.dark .project-card{
    background:#242424;
}

body.dark nav ul li a{
    color:#fff;
}

body.dark nav ul li a:hover{
    color:#C8A04D;
}

body.dark input,
body.dark textarea,
body.dark select{
    background:#2b2b2b;
    color:#fff;
    border:1px solid #444;
}

body.dark input::placeholder,
body.dark textarea::placeholder{
    color:#999;
}

body.dark footer{
    background:#000;
}

body.dark .theme-toggle{
    background:#333;
    color:#fff;
}

/*================ RESPONSIVE =================*/

@media(max-width:991px){

    nav{
        flex-direction:column;
        align-items:flex-start;
        height:auto;
        padding:18px 0;
    }

    .nav-actions{
        width:100%;
        flex-direction:column;
        align-items:flex-start;
        gap:14px;
        margin-top:18px;
    }

    nav ul{
        flex-direction:column;
        align-items:flex-start;
        gap:16px;
    }

    .hero{
        text-align:center;
    }

    .hero h1{
        font-size:42px;
    }

    .hero p{
        font-size:18px;
    }

    .hero-buttons{
        justify-content:center;
    }

    .section-title h2{
        font-size:32px;
    }

    .contact-box div{
        width:100%;
    }
}

@media(max-width:700px){

    .about-content{
        grid-template-columns:1fr;
    }

    .whatsapp-float{
        left:18px;
        bottom:18px;
    }

    .logo img{
        height:58px;
    }
}