* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #F8FAFC;
    color: #363535;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER ========== */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: linear-gradient(135deg, #1F1F1F 0%, #363535 100%);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    transition: opacity 0.3s;
}

.header-top a:hover {
    opacity: 0.8;
}

.navbar {
    padding: 20px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #1F1F1F 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    color: #363535;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #F59E0B;
}

.nav-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: #F1F5F9;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    color: #363535;
    display: flex;
    align-items: center;
    gap: 13px;
    transition: all 0.3s;
}

.dropdown-toggle:hover {
    background: #E2E8F0;
}

.dropdown-menu {
    position: absolute;
    top: 110%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 153px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 100;
    padding: 8px;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    color: #475569;
    font-weight: 500;
    transition: all 0.3s;
    border-radius: 6px;
    display: block;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background: #FEF3C7;
    color: #1F1F1F;
}

.dropdown-menu a.active {
    background: #FDE68A;
    color: #1F1F1F;
    font-weight: 600;
}

.dropdown {
    position: relative;
}


/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-image: url('/public/images/heros.jpeg');
    /* fon rasmi */
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #e2e8f0;
}

/* 🔍 Search Box */
.search-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: inline-block;
    width: 100%;
    max-width: 850px;
}

.search-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
}

.search-inputs input,
.search-inputs select {
    padding: 10px 15px;
    border-radius: 8px;
    border: none;
    width: 200px;
    outline: none;
}

.btn-search {
    background-color: #F59E0B;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-search:hover {
    background-color: #D97706;
}



/* ========== STATS SECTION ========== */
.stats {
    background: white;
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 30px;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    border-radius: 16px;
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #1F1F1F 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #64748B;
    font-weight: 600;
}

/* ========== ABOUT PLATFORM SECTION ========== */
.about-platform {
    padding: 100px 0;
    background: white;
}

.about-platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-platform-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-platform-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.image-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.about-platform-content {
    padding: 20px;
}

.about-description {
    font-size: 17px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 40px;
}

.features-list {
    display: grid;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: #F8FAFC;
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-item:hover {
    background: #FEF3C7;
    transform: translateX(5px);
}

.feature-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.feature-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1F1F1F;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 15px;
    color: #64748B;
    line-height: 1.6;
}

/* ========== FEATURED PROPERTIES ========== */
.featured {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: #92400E;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: #363535;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #64748B;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.property-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.property-image {
    position: relative;
    height: 240px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid #E2E8F0;
    transition: transform 0.4s ease;
}

.property-card:hover .property-image {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: #92400E;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
}

.property-info {
    padding: 25px;
}

.property-price {
    font-size: 28px;
    font-weight: 800;
    color: #1F1F1F;
    margin-bottom: 10px;
}

.property-price-sub {
    font-size: 14px;
    color: #64748B;
    margin-left: 8px;
    font-weight: 400;
}

.property-title {
    font-size: 20px;
    font-weight: 700;
    color: #363535;
    margin-bottom: 8px;
}

.property-location {
    color: #64748B;
    font-size: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-features {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid #E2E8F0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #64748B;
    font-size: 14px;
}

.view-all-btn {
    display: inline-block;
    margin-top: 25px;
    background: #F59E0B;
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #D97706;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.3);
}


/* ========== CATEGORIES ========== */
.categories {
    padding: 80px 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* CARD */
.category-card {
    position: relative;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

/* DARK OVERLAY */
.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

/* TEXT */
.category-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 2;
    color: #fff;
}

.category-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.category-count {
    font-size: 16px;
    opacity: 0.9;
}


/* ========== TESTIMONIALS ========== */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #FEF3C7 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-stars {
    color: #F59E0B;
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-text {
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1F1F1F 0%, #F59E0B 100%);
}

.author-name {
    font-weight: 700;
    color: #363535;
}

.author-role {
    font-size: 14px;
    color: #64748B;
}

/* ========== CTA SECTION ========== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1F1F1F 0%, #363535 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: white;
    color: #1F1F1F;
    padding: 16px 32px;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    border: 2px solid white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: white;
    color: #1F1F1F;
}

/* ========== FOOTER ========== */
footer {
    background: #363535;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: #94A3B8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background: #F59E0B;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .nav-menu {
        display: none;
    }

    .section-title {
        font-size: 32px;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .about-platform-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-platform-image img {
        height: 350px;
    }

    .cta h2 {
        font-size: 32px;
    }
}



.custom-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 40px 0 20px;
    gap: 8px;
}

.custom-pagination li {
    display: inline-block;
}

.custom-pagination li a,
.custom-pagination li span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: #1e293b;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.custom-pagination li a:hover {
    background: #f1f5f9;
}

.custom-pagination li.active span {
    background: #1e293b;
    color: #fff;
    border-color: #1e293b;
}

.custom-pagination li.disabled span {
    color: #cbd5e1;
    border-color: #e2e8f0;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

.social-links a {
    color: #94A3B8;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: white;
    background: #2563eb;
    /* ko‘k rang effekt */
    transform: translateY(-3px);
}



.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.payment-icons img {
    height: 35px;
    /* filter: brightness(0) invert(1); oq rangda bo‘lishi uchun */
    /* transition: transform 0.3s ease, filter 0.3s ease; */
}
