@charset "UTF-8";

:root {
    --navy: #071a2b;
    --navy-soft: #0d2a42;
    --gold: #d6a756;
    --gold-light: #f0d49a;
    --cream: #f8f6f1;
    --white: #ffffff;
    --text: #172331;
    --muted: #6d7884;
    --border: #e7e9ec;
    --shadow: 0 18px 60px rgba(7, 26, 43, .10);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-family: "Vazirmatn", sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}


a {
    color: inherit;
    text-decoration: none;
}

button, input, select {
    font-family: inherit;
}

img {
    max-width: 100%;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    transition: .3s ease;
    border-bottom: 1px solid transparent;
}

    .site-header.scrolled {
        background: rgba(7, 26, 43, .94);
        backdrop-filter: blur(16px);
        border-color: rgba(255,255,255,.08);
        box-shadow: 0 8px 35px rgba(0,0,0,.15);
    }

.navbar {
    min-height: 86px;
    padding: .65rem 0;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 900;
    font-size: 1.45rem;
}

    .navbar-brand:hover {
        color: white;
    }

.brand-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 13px;
    transform: rotate(-4deg);
}

.brand-accent {
    color: var(--gold-light);
}

.nav-link {
    color: rgba(255,255,255,.78);
    font-size: .94rem;
    font-weight: 500;
    padding: .7rem .9rem !important;
    position: relative;
}

    .nav-link:hover, .nav-link.active {
        color: white !important;
    }

        .nav-link.active::after {
            content: "";
            position: absolute;
            height: 2px;
            width: 18px;
            background: var(--gold);
            right: 50%;
            bottom: 1px;
            transform: translateX(50%);
            border-radius: 3px;
        }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.login-link {
    color: white;
    font-size: .9rem;
}

    .login-link i {
        margin-left: 4px;
    }

.btn-gold {
    background: var(--gold);
    color: var(--navy);
    border: 0;
    border-radius: 12px;
    padding: .72rem 1.1rem;
    font-weight: 800;
}

    .btn-gold:hover {
        background: var(--gold-light);
        color: var(--navy);
        transform: translateY(-2px);
    }

.navbar-toggler {
    border: 1px solid rgba(255,255,255,.25);
    color: white;
    font-size: 1.6rem;
    box-shadow: none !important;
}

.hero-section {
    min-height: 780px;
    position: relative;
    background: url("/Assets/Images/hero-bg.avif") center center / cover no-repeat;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(5,20,33,.96) 5%, rgba(7,26,43,.83) 48%, rgba(7,26,43,.52) 100%);
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 180px;
    background: linear-gradient(transparent, rgba(7,26,43,.32));
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    border: 1px solid rgba(214,167,86,.17);
}

.orb-one {
    width: 500px;
    height: 500px;
    top: 10%;
    left: -240px;
}

.orb-two {
    width: 300px;
    height: 300px;
    right: -130px;
    bottom: 8%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

    .hero-content .row {
        min-height: 780px !important;
        padding-top: 105px !important;
    }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50px;
    padding: .55rem 1rem;
    font-size: .86rem;
    color: var(--gold-light);
    backdrop-filter: blur(8px);
    margin-bottom: 22px;
}

.hero-content h1 {
    font-weight: 900;
    font-size: clamp(2.6rem, 5.6vw, 5rem);
    line-height: 1.28;
    letter-spacing: -2px;
    margin-bottom: 20px;
    text-shadow: 0 5px 30px rgba(0,0,0,.18);
}

    .hero-content h1 span {
        color: var(--gold-light);
    }

.hero-subtitle {
    max-width: 680px;
    margin: 0 auto 34px;
    color: rgba(255,255,255,.78);
    font-size: 1.08rem;
    line-height: 2;
}

.search-box {
    background: white;
    color: var(--text);
    padding: 12px;
    border-radius: 24px;
    box-shadow: 0 25px 70px rgba(0,0,0,.25);
    text-align: right;
    max-width: 970px;
    margin: auto;
}

.search-tabs {
    display: flex;
    gap: 6px;
    padding: 0 10px 10px;
    border-bottom: 1px solid var(--border);
}

.search-tab {
    background: transparent;
    border: 0;
    padding: .65rem 1.2rem;
    color: var(--muted);
    font-weight: 600;
    border-radius: 10px;
    transition: .2s;
}

    .search-tab.active {
        color: var(--navy);
        background: #f4eee3;
    }

.search-form {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr auto;
    align-items: center;
    padding-top: 12px;
}

.search-field {
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 18px;
    border-left: 1px solid var(--border);
}

    .search-field > i {
        font-size: 1.35rem;
        color: var(--gold);
    }

    .search-field div {
        flex: 1;
        min-width: 0;
    }

    .search-field label {
        display: block;
        font-size: .75rem;
        color: var(--muted);
        margin-bottom: 2px;
    }

    .search-field input, .search-field select {
        width: 100%;
        border: 0;
        outline: 0;
        color: var(--text);
        font-weight: 600;
        background: transparent;
        font-size: .9rem;
        padding: 0;
    }

        .search-field input::placeholder {
            color: #9ba3aa;
            font-weight: 400;
        }

.search-button {
    height: 60px;
    border: 0;
    background: var(--navy);
    color: white;
    border-radius: 15px;
    padding: 0 25px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 9px;
    transition: .25s;
}

    .search-button:hover {
        background: var(--gold);
        color: var(--navy);
    }

.popular-searches {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 23px;
    color: rgba(255,255,255,.68);
    font-size: .84rem;
}

    .popular-searches a {
        color: white;
        border-bottom: 1px dashed rgba(255,255,255,.45);
    }

.scroll-down {
    position: absolute;
    z-index: 3;
    bottom: 25px;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 3px;
    color: rgba(255,255,255,.7);
    font-size: .72rem;
}

    .scroll-down i {
        font-size: 1.4rem;
        animation: bounce 1.8s infinite;
    }

@keyframes bounce {
    50% {
        transform: translateY(6px);
    }
}

.stats-section {
    position: relative;
    z-index: 5;
    margin-top: -1px;
    background: var(--cream);
}

.stats-card {
    transform: translateY(-48px);
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 20px 35px;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
}

    .stat-item strong {
        font-size: 1.65rem;
        font-weight: 900;
        color: var(--navy);
    }

    .stat-item span {
        color: var(--muted);
        font-size: .85rem;
        margin-top: 5px;
    }

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
}

.section {
    padding: 95px 0;
}

.categories-section {
    background: var(--cream);
    padding-top: 48px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 42px;
}

    .section-heading h2 {
        font-weight: 900;
        font-size: clamp(1.8rem, 3vw, 2.55rem);
        margin: 5px 0 0;
        color: var(--navy);
    }

    .section-heading p {
        color: var(--muted);
        margin: 0;
        max-width: 390px;
        line-height: 1.9;
    }

.eyebrow {
    color: #b17c27;
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .3px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.category-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    border: 1px solid transparent;
    border-radius: 18px;
    padding: 23px 18px;
    box-shadow: 0 8px 30px rgba(7,26,43,.05);
    transition: .3s;
    overflow: hidden;
}

    .category-card::before {
        content: "";
        position: absolute;
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background: rgba(214,167,86,.08);
        left: -30px;
        bottom: -40px;
        transition: .3s;
    }

    .category-card:hover {
        transform: translateY(-7px);
        border-color: rgba(214,167,86,.45);
        box-shadow: var(--shadow);
    }

        .category-card:hover::before {
            transform: scale(2);
        }

.category-icon {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: #f5efe5;
    color: #a87627;
    border-radius: 16px;
    font-size: 1.55rem;
}

.category-card h3 {
    margin: 0 0 5px;
    font-size: 1.02rem;
    font-weight: 800;
}

.category-card span {
    color: var(--muted);
    font-size: .76rem;
}

.category-arrow {
    margin-right: auto;
    color: #aab0b5;
    transition: .3s;
}

.category-card:hover .category-arrow {
    color: var(--gold);
    transform: translateX(-5px);
}

.properties-section {
    background: white;
}

.view-all {
    color: var(--navy);
    font-size: .9rem;
    font-weight: 800;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 4px;
}

    .view-all i {
        margin-right: 5px;
        transition: .2s;
    }

    .view-all:hover i {
        margin-right: 10px;
    }

.property-card {
    height: 100%;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: .35s;
}

    .property-card:hover {
        transform: translateY(-9px);
        box-shadow: var(--shadow);
        border-color: transparent;
    }

.property-image {
    height: 270px;
    position: relative;
    overflow: hidden;
}

    .property-image::after {
        content: "";
        position: absolute;
        inset: 50% 0 0;
        background: linear-gradient(transparent, rgba(0,0,0,.45));
        pointer-events: none;
    }

    .property-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .6s;
    }

.property-card:hover .property-image img {
    transform: scale(1.06);
}

.property-badge {
    position: absolute;
    z-index: 2;
    top: 16px;
    right: 16px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 8px;
    padding: .38rem .7rem;
    font-weight: 800;
    font-size: .72rem;
}

    .property-badge.rent {
        background: #df685d;
        color: white;
    }

    .property-badge.new {
        background: #40a982;
        color: white;
    }

.favorite {
    position: absolute;
    z-index: 2;
    top: 16px;
    left: 16px;
    width: 39px;
    height: 39px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    color: var(--navy);
    font-size: 1.05rem;
    transition: .2s;
}

    .favorite:hover, .favorite.active {
        background: #fff;
        color: #e05252;
        transform: scale(1.08);
    }

.image-count {
    position: absolute;
    z-index: 2;
    bottom: 14px;
    left: 16px;
    color: white;
    font-size: .75rem;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(5px);
    padding: 4px 8px;
    border-radius: 7px;
}

.property-body {
    padding: 21px;
}

.property-location {
    color: var(--muted);
    font-size: .78rem;
}

    .property-location i {
        color: var(--gold);
        margin-left: 4px;
    }

.property-body h3 {
    font-size: 1.08rem;
    font-weight: 800;
    margin: 11px 0 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-features {
    display: flex;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 18px;
    color: var(--muted);
    font-size: .76rem;
}

    .property-features i {
        color: #87929c;
        margin-left: 3px;
    }

.property-footer {
    padding-top: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .property-footer div {
        display: flex;
        flex-direction: column;
    }

    .property-footer small {
        color: var(--muted);
        font-size: .68rem;
        margin-bottom: 3px;
    }

    .property-footer strong {
        color: var(--navy);
        font-size: 1rem;
    }

    .property-footer em {
        font-style: normal;
        font-size: .65rem;
        font-weight: 500;
    }

    .property-footer > a {
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        background: var(--navy);
        color: white;
        border-radius: 12px;
        transition: .25s;
    }

        .property-footer > a:hover {
            background: var(--gold);
            color: var(--navy);
        }

.areas-section {
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

    .areas-section::before {
        content: "";
        position: absolute;
        width: 550px;
        height: 550px;
        border: 1px solid rgba(255,255,255,.04);
        border-radius: 50%;
        left: -250px;
        top: -220px;
    }

.section-heading.light h2 {
    color: white;
}

.section-heading.light p {
    color: rgba(255,255,255,.55);
}

.section-heading.light .eyebrow {
    color: var(--gold-light);
}

.areas-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 210px 210px;
    gap: 16px;
}

.area-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

.area-large {
    grid-row: span 2;
}

.area-card::after {
    content: "";
    position: absolute;
    inset: 25% 0 0;
    background: linear-gradient(transparent, rgba(4,15,25,.9));
}

.area-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .6s;
    filter: saturate(.85);
}

.area-card:hover img {
    transform: scale(1.07);
    filter: saturate(1.1);
}

.area-content {
    position: absolute;
    z-index: 2;
    bottom: 20px;
    right: 20px;
    color: white;
}

    .area-content h3 {
        font-weight: 900;
        font-size: 1.2rem;
        margin: 0 0 4px;
    }

.area-large .area-content h3 {
    font-size: 1.6rem;
}

.area-content span {
    font-size: .76rem;
    color: rgba(255,255,255,.72);
}

.area-content i {
    margin-right: 5px;
}

.why-us-section {
    background: var(--cream);
}

.section-heading.centered {
    text-align: center;
    align-items: center;
    flex-direction: column;
    gap: 7px;
}

    .section-heading.centered p {
        max-width: 520px;
    }

.feature-card {
    height: 100%;
    position: relative;
    background: white;
    padding: 38px 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: .3s;
}

    .feature-card:hover {
        transform: translateY(-7px);
        box-shadow: var(--shadow);
    }

.feature-number {
    position: absolute;
    top: 12px;
    left: 21px;
    font-size: 3.6rem;
    font-weight: 900;
    color: rgba(7,26,43,.04);
}

.feature-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: var(--gold-light);
    border-radius: 18px;
    font-size: 1.65rem;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.12rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.9;
    margin: 0;
}

.cta-section {
    background: var(--cream);
    padding-bottom: 95px;
}

.cta-box {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #c99745, #e2bd78);
    border-radius: 28px;
    padding: 50px 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 20px 50px rgba(154,108,38,.2);
}

.cta-pattern {
    position: absolute;
    width: 330px;
    height: 330px;
    border: 60px solid rgba(255,255,255,.11);
    border-radius: 50%;
    left: 14%;
    top: -165px;
}

.cta-content {
    position: relative;
    z-index: 1;
}

    .cta-content span {
        font-size: .82rem;
        font-weight: 700;
    }

    .cta-content h2 {
        font-weight: 900;
        font-size: 2.1rem;
        margin: 7px 0;
        color: var(--navy);
    }

    .cta-content p {
        margin: 0;
        color: rgba(7,26,43,.72);
    }

.cta-button {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    background: var(--navy);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    font-weight: 800;
    transition: .25s;
}

    .cta-button:hover {
        color: var(--navy);
        background: white;
        transform: translateY(-3px);
    }

.footer {
    background: #04131f;
    color: rgba(255,255,255,.7);
    padding-top: 75px;
}

.footer-main {
    padding-bottom: 50px;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-about {
    font-size: .85rem;
    line-height: 2;
    max-width: 360px;
}

.socials {
    display: flex;
    gap: 9px;
    margin-top: 20px;
}

    .socials a {
        width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        background: rgba(255,255,255,.07);
        border-radius: 10px;
        color: white;
        transition: .2s;
    }

        .socials a:hover {
            background: var(--gold);
            color: var(--navy);
            transform: translateY(-3px);
        }

.footer h5 {
    color: white;
    font-size: .95rem;
    font-weight: 800;
    margin-bottom: 21px;
}

.footer .col-6 > a {
    display: block;
    font-size: .82rem;
    margin-bottom: 13px;
    transition: .2s;
}

    .footer .col-6 > a:hover {
        color: var(--gold-light);
        padding-right: 5px;
    }

.newsletter-text {
    font-size: .82rem;
    line-height: 1.8;
}

.newsletter {
    display: flex;
    background: rgba(255,255,255,.07);
    padding: 6px;
    border-radius: 12px;
    margin-top: 18px;
    border: 1px solid rgba(255,255,255,.08);
}

    .newsletter input {
        min-width: 0;
        flex: 1;
        background: transparent;
        border: 0;
        outline: 0;
        color: white;
        padding: 0 12px;
        font-size: .8rem;
    }

    .newsletter button {
        border: 0;
        background: var(--gold);
        color: var(--navy);
        border-radius: 9px;
        padding: .65rem 1rem;
        font-weight: 800;
    }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    font-size: .75rem;
}

    .footer-bottom i {
        color: #dc625c;
    }

.back-to-top {
    position: fixed;
    z-index: 20;
    left: 22px;
    bottom: 22px;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    border: 0;
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 8px 25px rgba(0,0,0,.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: .3s;
}

    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .65s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

@media (max-width: 1199px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 3.8rem;
    }
}

@media (max-width: 991px) {
    .site-header {
        background: rgba(7,26,43,.95);
    }

    .navbar {
        min-height: 72px;
    }

    .navbar-collapse {
        margin-top: 12px;
        background: var(--navy-soft);
        padding: 18px;
        border-radius: 16px;
        box-shadow: 0 15px 40px rgba(0,0,0,.22);
    }

    .nav-link.active::after {
        right: 0;
        transform: none;
    }

    .nav-actions {
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid rgba(255,255,255,.1);
    }

    .hero-section, .hero-content .row {
        min-height: 850px !important;
    }

    .search-form {
        grid-template-columns: 1fr 1fr;
        gap: 5px;
    }

    .search-field {
        border-left: 0;
        border-bottom: 1px solid var(--border);
    }

    .search-button {
        justify-content: center;
        margin: 5px 0;
    }

    .areas-grid {
        grid-template-columns: 1fr 1fr;
    }

    .area-large {
        grid-row: span 1;
    }

    .cta-box {
        padding: 42px 35px;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 70px 0;
    }

    .hero-section, .hero-content .row {
        min-height: 900px !important;
    }

    .hero-content .row {
        padding-top: 95px !important;
    }

    .hero-content h1 {
        font-size: 2.55rem;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: .9rem;
    }

    .search-box {
        border-radius: 19px;
    }

    .search-form {
        grid-template-columns: 1fr;
    }

    .search-field {
        min-height: 58px;
    }

    .search-button {
        width: 100%;
        margin: 5px 0;
        justify-content: center;
    }


    .popular-searches {
        display: none;
    }

    .scroll-down {
        display: none;
    }

    .stats-card {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px 10px;
        padding: 25px 15px;
    }

    .stat-divider {
        display: none;
    }

    .stat-item strong {
        font-size: 1.35rem;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        margin-bottom: 30px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .property-image {
        height: 250px;
    }

    .areas-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 220px);
    }

    .cta-box {
        text-align: center;
        flex-direction: column;
        gap: 28px;
        padding: 38px 22px;
    }

    .cta-content h2 {
        font-size: 1.65rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .hero-content h1 {
        font-size: 2.1rem;
    }

    .hero-badge {
        font-size: .74rem;
    }

    .search-tabs {
        overflow-x: auto;
    }

    .search-tab {
        white-space: nowrap;
        padding-inline: .9rem;
    }

    .property-features {
        gap: 10px;
    }
}

.user-welcome {
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}
