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

:root {
    --primary: #ff3f55;
    --primary-light: #ff5f73;
    --primary-dark: #e62f43;
    --secondary: #ff3f55;
    --secondary-light: #ff5f73;
    --accent: #ff3f55;
    --background: #fafafa;
    --surface: #ffffff;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.header {
    background: var(--surface);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.navbar {
    padding: 16px 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo i {
    font-size: 28px;
}

.logo-search-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-user-icon {
    display: none;
}

.search-header {
    position: relative;
    max-width: 300px;
    display: flex;
    align-items: center;
}

.search-form {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.search-form i {
    position: absolute;
    left: 16px;
    color: var(--text-light);
    font-size: 16px;
    z-index: 2;
    pointer-events: none;
}

.search-placeholder-text {
    position: absolute;
    left: 44px;
    color: var(--text-light);
    font-size: 15px;
    pointer-events: none;
    z-index: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 60px);
    transition: opacity 0.2s;
}

.search-header-input:focus ~ .search-placeholder-text,
.search-header-input:not(:placeholder-shown) ~ .search-placeholder-text,
.search-header-input:not([value=""]) ~ .search-placeholder-text {
    opacity: 0;
    pointer-events: none;
}

.search-header-input {
    width: 100%;
    padding: 10px 16px 10px 44px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    background: var(--surface);
    color: var(--text-primary);
    transition: all 0.2s;
    font-family: inherit;
    position: relative;
    z-index: 1;
}

.search-header-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 63, 85, 0.1);
}

.search-header-input::placeholder {
    color: var(--text-light);
}

.detailed-search-link {
    color: var(--primary);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.detailed-search-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-icon-btn {
    position: relative;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 18px;
    width: 40px;
    height: 40px;
    text-decoration: none;
}

.nav-icon-btn:hover {
    background: var(--border-light);
    color: var(--primary);
}

.nav-icon-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
}

.nav-user-menu {
    position: relative;
}

.nav-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 4px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-user-btn:hover {
    background: var(--border-light);
}

.nav-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-light);
    flex-shrink: 0;
}

.nav-user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 8px;
    display: none;
    z-index: 1000;
}

.nav-user-menu.active .nav-user-dropdown {
    display: block;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.nav-dropdown-item:hover {
    background: var(--border-light);
    color: var(--primary);
}

.nav-dropdown-item i {
    width: 20px;
    color: var(--text-secondary);
    text-align: center;
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--border-light);
    margin: 4px 0;
}

.btn-icon {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: var(--border-light);
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 2px solid transparent;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    box-sizing: border-box;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    box-sizing: border-box;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.hero {
    position: relative;
    padding: 100px 0 120px;
    background-image: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 63, 85, 0.75) 0%, rgba(255, 95, 115, 0.75) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.search-box {
    background: var(--surface);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-xl);
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}

.search-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 16px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    position: relative;
}

.tab-btn:hover {
    color: var(--primary);
    background: rgba(255, 63, 85, 0.05);
}

.tab-btn.active {
    color: var(--primary);
    background: rgba(255, 63, 85, 0.1);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.search-filters {
    display: grid;
    grid-template-columns: 180px 1fr auto auto;
    gap: 12px;
    align-items: stretch;
    margin: 0;
}

.search-filters .btn-search {
    white-space: nowrap;
    padding: 14px 28px;
    font-size: 16px;
}

.btn-map-search {
    background: rgba(255, 63, 85, 0.1);
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    font-size: 16px;
    white-space: nowrap;
    text-decoration: none;
}

.btn-map-search:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.search-input {
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    background: var(--surface);
    color: var(--text-primary);
    transition: all 0.2s;
    font-family: inherit;
    width: 100%;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 63, 85, 0.1);
}

.search-input::placeholder {
    color: var(--text-light);
}

.filter-group.hidden {
    display: none;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.filter-input {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    background: var(--surface);
    color: var(--text-primary);
    transition: all 0.2s;
    font-family: inherit;
}

select.filter-input {
    padding-right: 32px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

.filter-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 63, 85, 0.1);
}


.btn-search {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    font-size: 16px;
}

.btn-search:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.categories {
    padding: 80px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.category-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}

.category-card a {
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.category-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(255, 63, 85, 0.1) 0%, rgba(255, 95, 115, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 28px;
}

.category-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-decoration: none;
}

.category-card p {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
}

.listings {
    padding: 80px 0;
    background: var(--background);
}

.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 16px;
}

.view-options {
    display: flex;
    gap: 8px;
    background: var(--surface);
    padding: 4px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.view-btn {
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: var(--text-secondary);
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover {
    background: var(--border-light);
    color: var(--primary);
}

.view-btn.active {
    background: var(--primary);
    color: white;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.listings-grid.list-view {
    grid-template-columns: 1fr;
}

.listings-grid.list-view .listing-card {
    display: flex;
    flex-direction: row;
}

.listings-grid.list-view .listing-image {
    width: 400px;
    height: 300px;
    flex-shrink: 0;
}

.listing-card {
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    cursor: pointer;
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.listing-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--border-light);
}

.listing-price-overlay {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 63, 85, 0.95);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    max-width: none;
    min-width: fit-content;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.listing-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.badge-primary {
    background: rgba(255, 63, 85, 0.9);
    color: white;
}

.badge-secondary {
    background: rgba(255, 95, 115, 0.9);
    color: white;
}

.badge-featured {
    background: rgba(245, 158, 11, 0.9);
    color: white;
}

.favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(8px);
}

.favorite-btn:hover {
    background: white;
    transform: scale(1.1);
}

.favorite-btn i {
    color: var(--text-secondary);
    font-size: 18px;
}

.favorite-btn:hover i {
    color: var(--primary);
}

.favorite-btn.active i {
    color: #ef4444;
}

.listing-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.listing-header {
    margin-bottom: 12px;
}

.listing-price {
    display: none;
}

.listing-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.listing-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.listing-title a:hover {
    color: var(--primary);
}

.listing-location {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}

.listing-location-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.listing-location-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.listing-location i {
    color: var(--text-light);
    font-size: 14px;
}

.listing-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 0;
    padding-bottom: 16px;
}

.listing-features span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 14px;
}

.listing-features i {
    color: var(--text-light);
    font-size: 14px;
}

.listing-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.listing-author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-light);
    flex-shrink: 0;
}

.listing-author-info {
    flex: 1;
    min-width: 0;
}

.listing-author-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.listing-author-type {
    font-size: 11px;
    color: var(--text-secondary);
}

.load-more {
    text-align: center;
}

.btn-secondary {
    background: var(--surface);
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.news-section {
    background: var(--background);
    padding: 80px 0;
    border-top: 1px solid var(--border-light);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.news-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

.news-view-all {
    color: var(--primary);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.news-view-all:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.news-card {
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.news-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--border-light);
}

.news-card-content {
    padding: 20px;
}

.news-card-date {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.news-card-title a:hover {
    color: var(--primary);
}

.news-card-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer {
    background: var(--surface);
    border-top: 1px solid var(--border-light);
    padding: 60px 0 24px;
    margin-top: 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.footer-logo i {
    font-size: 28px;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 16px;
    min-height: calc(16px * 1.6 * 3);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

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

.footer-section ul li {
    margin-bottom: 12px;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li i {
    color: var(--text-secondary);
    font-size: 14px;
    width: 16px;
    flex-shrink: 0;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
    line-height: 1.5;
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

@media (max-width: 1024px) {
    .search-filters {
        grid-template-columns: 1fr;
    }
    
    .search-filters .btn-search,
    .search-filters .btn-map-search {
        width: 100%;
    }
    
    .listings-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-content {
        flex-wrap: nowrap;
        gap: 12px;
        justify-content: space-between;
    }

    .logo-search-group {
        flex: 1;
        order: 1;
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
    }

    .logo {
        flex-shrink: 0;
    }

    .logo span {
        display: inline;
        font-size: 20px;
    }

    .search-header {
        display: none;
    }

    .search-placeholder-text {
        display: none;
    }

    .detailed-search-link {
        display: none;
    }

    .mobile-user-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: transparent;
        color: var(--primary);
        border: 2px solid var(--primary);
        text-decoration: none;
        transition: all 0.2s;
        flex-shrink: 0;
    }

    .mobile-user-icon:hover {
        background: var(--primary);
        color: white;
    }

    .mobile-user-icon i {
        font-size: 18px;
    }

    .nav-actions {
        order: 2;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
    }

    .nav-user-name {
        display: none;
    }

    .nav-user-avatar {
        width: 36px;
        height: 36px;
    }

    .nav-icon-btn {
        width: 36px;
        height: 36px;
        padding: 6px;
        font-size: 16px;
    }

    .nav-icon-badge {
        top: 2px;
        right: 2px;
        font-size: 9px;
        padding: 1px 5px;
        min-width: 16px;
    }

    .nav-user-dropdown {
        min-width: 180px;
        right: 0;
    }

    .btn-outline {
        display: none;
    }

    .btn-primary {
        display: none;
    }

    .search-header-input {
        font-size: 14px;
        padding: 10px 12px 10px 40px;
    }

    .search-header-input::placeholder {
        font-size: 12px;
    }
    
    .hero {
        padding: 80px 0 100px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .search-box {
        padding: 20px;
    }
    
    .search-filters {
        grid-template-columns: 1fr;
    }
    
    .search-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .search-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .listings-grid {
        grid-template-columns: 1fr;
    }
    
    .listings-grid.list-view {
        grid-template-columns: 1fr;
    }
    
    .listings-grid.list-view .listing-card {
        flex-direction: column;
    }
    
    .listings-grid.list-view .listing-image {
        width: 100%;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .listings-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .navbar {
        padding: 12px 0;
    }

    .nav-content {
        gap: 12px;
    }

    .logo-search-group {
        gap: 8px;
    }

    .logo span {
        font-size: 18px;
    }

    .search-header {
        display: none;
    }

    .mobile-user-icon {
        width: 36px;
        height: 36px;
    }

    .mobile-user-icon i {
        font-size: 16px;
    }

    .nav-actions {
        gap: 6px;
        justify-content: flex-end;
    }

    .btn-outline,
    .btn-primary {
        display: none;
    }

    .nav-icon-btn {
        width: 32px;
        height: 32px;
        padding: 6px;
        font-size: 14px;
    }

    .nav-icon-badge {
        top: 1px;
        right: 1px;
        font-size: 8px;
        padding: 1px 4px;
        min-width: 14px;
    }

    .nav-user-avatar {
        width: 32px;
        height: 32px;
    }

    .nav-user-dropdown {
        min-width: 160px;
        right: 0;
        padding: 6px;
    }

    .nav-dropdown-item {
        padding: 8px 10px;
        font-size: 13px;
    }

    .nav-icon-btn {
        padding: 6px;
        width: 32px;
        height: 32px;
    }
    
    .hero {
        padding: 60px 0 80px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .categories,
    .listings {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }

    .search-tabs {
        gap: 4px;
        padding-bottom: 12px;
        margin-bottom: 20px;
    }

    .tab-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .news-section {
        padding: 60px 0;
    }

    .news-title {
        font-size: 24px;
    }

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

    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* İlan Detay Sayfası Stilleri */
.breadcrumb {
    padding: 20px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb i {
    font-size: 12px;
    color: var(--text-light);
}

.listing-detail {
    padding: 40px 0;
}

.detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-gallery {
    position: relative;
    border-radius: 16px;
    background: var(--border-light);
}

.main-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 8px;
}

.gallery-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

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

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 8px;
    width: 100%;
}

.thumbnail {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    opacity: 0.7;
    display: block;
}

.thumbnail:hover {
    border-color: var(--primary);
    opacity: 1;
    transform: scale(1.02);
}

.thumbnail.active {
    border-color: var(--primary);
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(255, 63, 85, 0.2);
}

.detail-header {
    background: var(--surface);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
}

.detail-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.detail-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 20px;
}

.detail-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}

.detail-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 24px;
    background: var(--background);
    border-radius: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 63, 85, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
    min-width: 0;
}

.feature-label {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.feature-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.detail-description {
    background: var(--surface);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
}

.detail-description h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.detail-description p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.detail-description p:last-child {
    margin-bottom: 0;
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 90px;
    align-self: start;
    height: fit-content;
}

.contact-card {
    background: var(--surface);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    width: 100%;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.contact-avatar-link {
    display: inline-block;
    transition: transform 0.2s, opacity 0.2s;
    flex-shrink: 0;
}

.contact-avatar-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.contact-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-light);
    display: block;
}

.contact-name-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.contact-name-link:hover {
    color: var(--primary);
}

.contact-name-link h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    transition: color 0.2s;
}

.contact-name-link:hover h4 {
    color: var(--primary);
}

.contact-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-info p {
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-contact {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    font-size: 16px;
    text-decoration: none;
}

.btn-call {
    background: var(--primary);
    color: white;
}

.btn-call:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-message {
    background: var(--background);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-message:hover {
    background: var(--primary);
    color: white;
}

.info-card {
    background: var(--surface);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
}

.info-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.info-value {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .detail-content {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }

    .detail-features {
        grid-template-columns: 1fr;
    }

    .detail-title {
        font-size: 24px;
    }

    .detail-price {
        font-size: 28px;
    }

    .breadcrumb-content {
        font-size: 12px;
    }
}

/* Giriş / Kayıt Sayfası Stilleri */
.auth-page {
    min-height: calc(100vh - 80px);
    padding: 30px 0 60px 0;
}

.auth-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--surface);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.auth-section {
    padding: 48px;
}

.auth-section.login {
    border-right: 1px solid var(--border-light);
}

.auth-section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.auth-section-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    background: var(--surface);
    color: var(--text-primary);
    transition: all 0.2s;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 63, 85, 0.1);
}

.form-input::placeholder {
    color: var(--text-light);
}

.form-input-group {
    position: relative;
}

.form-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 16px;
}

.form-input-group .form-input {
    padding-left: 44px;
}

.form-checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.form-checkbox-label {
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
}

.form-checkbox-label a {
    color: var(--primary);
    text-decoration: none;
}

.form-checkbox-label a:hover {
    text-decoration: underline;
}

.form-forgot {
    text-align: right;
    margin-bottom: 20px;
}

.form-forgot a {
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
}

.form-forgot a:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    margin-bottom: 24px;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.member-type-group {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    padding: 4px;
    background: var(--background);
    border-radius: 8px;
}

.member-type-option {
    flex: 1;
    position: relative;
}

.member-type-radio {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.member-type-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: 2px solid transparent;
    border-radius: 6px;
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.member-type-radio:checked + .member-type-label {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.member-type-label i {
    font-size: 16px;
}

.form-group.hidden {
    display: none;
}

@media (max-width: 968px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-section.login {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }

    .auth-section {
        padding: 40px 32px;
    }
}

@media (max-width: 768px) {
    .auth-section {
        padding: 32px 24px;
    }
}

/* Blog Detail Page Styles */
.blog-detail {
    padding: 20px 0;
}

.blog-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 0;
}

.blog-detail-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.blog-detail-header {
    background: var(--surface);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.blog-detail-image {
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    background: var(--border-light);
    margin: 0;
}

.blog-featured-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.blog-detail-header-content {
    padding: 32px 32px 0 32px;
}

.blog-detail-body {
    padding: 24px 32px 32px 32px;
}

.blog-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 63, 85, 0.1);
    color: var(--primary);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.blog-category i {
    font-size: 14px;
}

.blog-detail-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-detail-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
    margin-bottom: 24px;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.blog-meta-item i {
    color: var(--primary);
    font-size: 14px;
}


.blog-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.blog-content p {
    margin-bottom: 20px;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 16px;
}

.blog-content h2 {
    font-size: 28px;
}

.blog-content h3 {
    font-size: 24px;
}

.blog-content h4 {
    font-size: 20px;
}

.blog-content ul,
.blog-content ol {
    margin-left: 24px;
    margin-bottom: 20px;
}

.blog-content li {
    margin-bottom: 8px;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

.blog-content a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.blog-tags {
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
    margin-top: 32px;
}

.blog-tags-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.blog-tags-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-tag {
    padding: 6px 12px;
    background: var(--background);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-tag:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.blog-author-card {
    background: var(--background);
    padding: 24px;
    border-radius: 12px;
    margin-top: 32px;
}

.blog-author-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.blog-author-avatar-link {
    display: inline-block;
    transition: transform 0.2s, opacity 0.2s;
    flex-shrink: 0;
}

.blog-author-avatar-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.blog-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-light);
    display: block;
}

.blog-author-name-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.blog-author-name-link:hover {
    color: var(--primary);
}

.blog-author-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    transition: color 0.2s;
}

.blog-author-name-link:hover .blog-author-name {
    color: var(--primary);
}

.blog-author-bio {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.blog-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 90px;
    align-self: start;
    height: fit-content;
}

.blog-sidebar-widget {
    background: var(--surface);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
}

.blog-sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.blog-sidebar-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.blog-sidebar-author-avatar-link {
    display: inline-block;
    transition: transform 0.2s, opacity 0.2s;
}

.blog-sidebar-author-avatar-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.blog-sidebar-author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-light);
    display: block;
}

.blog-sidebar-author-name-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.blog-sidebar-author-name-link:hover {
    color: var(--primary);
}

.blog-sidebar-author-info h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    transition: color 0.2s;
}

.blog-sidebar-author-name-link:hover h5 {
    color: var(--primary);
}

.blog-sidebar-author-info p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.blog-sidebar-posts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-sidebar-no-posts {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    padding: 20px;
    margin: 0;
}

.blog-sidebar-post {
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.blog-sidebar-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.blog-sidebar-post-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    display: block;
}

.blog-sidebar-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}

.blog-sidebar-post-image:hover img {
    transform: scale(1.05);
}

.blog-sidebar-post-content {
    flex: 1;
    min-width: 0;
}

.blog-sidebar-post-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-sidebar-post-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-sidebar-post-title a:hover {
    color: var(--primary);
}

.blog-sidebar-post-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-light);
}

.blog-sidebar-post-date i {
    font-size: 11px;
}

@media (max-width: 1024px) {
    .blog-detail-content {
        grid-template-columns: 1fr;
    }

    .blog-detail-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .blog-detail-title {
        font-size: 28px;
    }

    .blog-detail-meta {
        flex-direction: column;
        gap: 12px;
    }

    .blog-detail-header-content {
        padding: 24px 24px 0 24px;
    }

    .blog-detail-body {
        padding: 0 24px 24px 24px;
    }

    .blog-content {
        font-size: 15px;
    }

    .blog-content h2 {
        font-size: 24px;
    }

    .blog-content h3 {
        font-size: 20px;
    }

    .blog-content h4 {
        font-size: 18px;
    }
}