﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
@font-face {
    font-family: IRANSans;
    src: url(../fonts/IRANSans/IRANSansWeb.eot);
    src: url(/fonts/IRANSans/IRANSansWeb.eot) format('embedded-opentype'), url(../fonts/IRANSans/IRANSansWeb(FaNum).woff) format('woff'), url(../fonts/IRANSans/IRANSansWeb.ttf) format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: vazir;
    src: url(../fonts/vazir/vazir.eot);
    src: url(../fonts/vazir/vazir.eot) format('embedded-opentype'), url(../fonts/vazir/Vazir-Meduim-FD.woff) format('woff'), url(../fonts/vazir/vazir.ttf) format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: vazir-bold;
    src: url(../fonts/vazir/vazir-Bold.eot);
    src: url(../fonts/vazir/vazir-Bold.eot) format('embedded-opentype'), url(../fonts/vazir/Vazir-Bold-FD.woff) format('woff'), url(../fonts/vazir/vazir-Bold.ttf) format('truetype');
    font-weight: 700; /* Bold weight */
    font-style: normal;
    font-display: swap;
}

* {
    font-family: 'IRANSans', sans-serif;
    font-weight: 400;
    font-style: normal;
}

body {
    font-family: 'IRANSans', sans-serif;
    background: white;
    color: #fff;
}

/* Header */
header {
    background: white;
    backdrop-filter: blur(20px);

    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
}

    header.scrolled {
     
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    }

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
   /* padding: 1.5rem 3rem;*/
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    
}

    .nav-links a {
        text-decoration: none;
  
        font-weight: 500;
        transition: all 0.3s;
        font-size: 1rem;
    }

        .nav-links a:hover {
            color: #3670E8;
            transform: translateY(-2px);
        }

.contact-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    color: #000 !important;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

    .contact-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
    }

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

    .mobile-menu span {
        width: 28px;
        height: 3px;
        background: #FFD700;
        border-radius: 2px;
        transition: 0.3s;
    }

/* Hero Section */
.hero {
    margin-top: 34px;
    height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('/images/photo-1600596542815-ffad4c1539a9.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.1), transparent 70%);
    }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 0.8s ease-out;
}

    .hero h1 span {
        background: linear-gradient(135deg, #FFD700, #FFA500);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Box */
.search-container {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 3rem;
    max-width: 1100px;
    margin: -100px auto 5rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 215, 0, 0.1);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.search-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 15px;
}

.tab-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s;
}



    .tab-btn.active {
        background: linear-gradient(135deg, #FFD700, #FFA500);
        color: #000;
        box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
    }

/*.search-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}*/

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        margin-bottom: 0.8rem;
        color: rgba(255, 255, 255, 0.7);
        font-weight: 600;
        font-size: 0.95rem;
    }

    .form-group select,
    .form-group input {
        padding: 1rem 1.2rem;
        border: 2px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.05);
        color: #fff;
        transition: all 0.3s;
    }

        .form-group select:focus,
        .form-group input:focus {
            outline: none;
            border-color: #FFD700;
            background: rgba(255, 255, 255, 0.08);
            box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
        }

        .form-group select option {
            background: #1a1a1a;
            color: #fff;
        }

.search-btn {
    grid-column: 1 / -1;
    padding: 1.3rem;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    border: none;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

    .search-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
    }

/* Properties Section */
.properties {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
}


.property-card {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s;
    cursor: pointer;
}

    .property-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 20px 60px rgba(255, 215, 0, 0.2);
        border-color: rgba(255, 215, 0, 0.3);
    }

.property-img {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
}

    .property-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s;
    }

.property-card:hover .property-img img {
    transform: scale(1.1);
}

.property-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #000;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
    z-index: 2;
}

.property-info {
    padding: 2rem;
}

.property-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: #fff;
}

.property-location {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.property-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-item {
    text-align: center;
}

.detail-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.4rem;
}

.detail-value {
    font-weight: 700;
    color: #FFD700;
    font-size: 1rem;
}

.property-price {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.view-btn {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    color: #FFD700;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

    .view-btn:hover {
        background: linear-gradient(135deg, #FFD700, #FFA500);
        color: #000;
        border-color: transparent;
        box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
    }

/* Stats Section */
.stats {
    max-width: 1400px;
    margin: 5rem auto;
    padding: 4rem 3rem;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 3rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 25px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}
ul{margin:0;padding:0}
.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}
a{text-decoration:none!important}
/* Footer */
footer {
    background: #3670e8;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 5rem;
    padding: 4rem 3rem 2rem;
}
.isdesktop{display:block;}
.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: #FFD700;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

    .footer-section ul li {
        margin-bottom: 0.8rem;
    }

.footer-section a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

    .footer-section a:hover {
        color: #FFD700;
    }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}
.card-nav-link {
    position: relative;
    display: block;
    padding: 1rem 0;
    transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out, border-color 0.25s ease-in-out;
    border-top: .1rem solid #dedede;
    color: #454056;
    text-decoration: none;
}
.card-nav-link1 {
    position: relative;
    display: block;
    padding: 1rem 0;
    transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out, border-color 0.25s ease-in-out;
    color: #454056;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }

   

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .card-nav-link {
        color: black!important;
    }
    .isdesktop {
        display: none;
    }
    .stats {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .card-nav-link {
        color: black!important;
    }
    .card-nav-link1 ,.card-nav-link {
        position: relative;
        display: block;
        padding: 1rem 0;
        transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out, border-color 0.25s ease-in-out;
        border-top: .1rem solid #dedede;
        color: #454056;
        text-decoration: none;
    }
    .nav-links {
        display: flex;
        gap: unset!important;
        list-style: none;
    }
    .hero {
        margin-top: 50px;
        height: 50vh!important;
        background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1600') center/cover;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        position: relative;
        overflow: hidden;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .search-form {
        grid-template-columns: 1fr;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    nav {
        padding: 1rem 1.5rem;
    }

    .search-container {
        padding: 2rem 1.5rem;
        margin: -80px 1rem 3rem;
    }

    .properties {
        padding: 3rem 1.5rem;
    }
}
/* تغییر رنگ‌های تیره به روشن */
body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    color: #212529 !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(37, 99, 235, 0.85), rgba(59, 130, 246, 0.75)), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1600') center/cover !important;
}

    .hero::before {
        background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.15), transparent 70%) !important;
    }

    .hero h1,
    .hero p {
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    }

/* Search Box */
.search-container {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    border: 1px solid #dee2e6 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
}

.search-tabs {
    background: #f8f9fa !important;
}

.tab-btn {
    color: #495057 !important;
}

    .tab-btn.active {
        background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
        color: #fff !important;
        box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3) !important;
    }

.form-group label {
    color: #495057 !important;
}

.form-group select,
.form-group input {
    background: #f8f9fa !important;
    border: 2px solid #dee2e6 !important;
    color: #212529 !important;
}

    .form-group select:focus,
    .form-group input:focus {
        background: #fff !important;
        border-color: #2563eb !important;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
    }

    .form-group select option {
        background: #fff !important;
        color: #212529 !important;
    }

.search-btn {
    background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
    color: #fff !important;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.3) !important;
}

    .search-btn:hover {
        box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4) !important;
    }

/* Property Cards */
.property-card {
    background: #fff !important;
    border: 1px solid #dee2e6 !important;
}

    .property-card:hover {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
        border-color: #2563eb !important;
    }

.property-title {
    color: #212529 !important;
}

.property-location {
    color: #6c757d !important;
}

.property-details {
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
}

.detail-label {
    color: #6c757d !important;
}

.detail-value {
    color: #2563eb !important;
}

.property-price {
    background: #3670e8 !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.property-badge {
    background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
    color: #fff !important;
    box-shadow: 0 3px 15px rgba(37, 99, 235, 0.3) !important;
}

.view-btn {
    background: rgba(37, 99, 235, 0.08) !important;
    color: #2563eb !important;
    border: 2px solid rgba(37, 99, 235, 0.2) !important;
}

    .view-btn:hover {
        background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
        color: #fff !important;
        border-color: transparent !important;
        box-shadow: 0 5px 20px rgba(37, 99, 235, 0.3) !important;
    }

/* Stats Section */
.stats {
    background: rgba(37, 99, 235, 0.05) !important;
    border: 1px solid rgba(37, 99, 235, 0.1) !important;
}

.stat-number {
    background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.stat-label {
    color: #495057 !important;
}

/* Section Titles */
.section-title {
    color: #212529 !important;
}

.section-subtitle {
    color: #6c757d !important;
}

/* Logo */
.logo {
    background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Contact Button */
.contact-btn {
    background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3) !important;
}

    .contact-btn:hover {
        box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4) !important;
    }

