/*
Theme Name: WP Emlak Pro
Theme URI: https://example.com/wp-emlak-pro
Author: Emlak Pro
Author URI: https://example.com
Description: Profesyonel WordPress emlak teması - Satılık, Kiralık, Günlük Kiralık, Devren Satılık
Version: 2.0.0
License: GPL v2 or later
Text Domain: wp-emlak
Tags: real-estate, responsive, property-listing, turkish-cities
*/

/* ========================================
   CSS VARIABLES (COLOR SCHEMES)
   ======================================== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #f59e0b;
    --secondary-dark: #d97706;
    --gradient-start: #1e3a5f;
    --gradient-end: #2563eb;
    --accent: #3b82f6;
    --badge-sale: #ef4444;
    --badge-rent: #2563eb;
    --badge-daily: #8b5cf6;
    --badge-transfer: #f59e0b;
    --badge-type: #10b981;
    --success: #10b981;
    --info: #3b82f6;
    --warning: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f3f4f6;
    --white: #ffffff;
}

/* ========================================
   CSS RESET & BASE
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #f3f4f6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-logo span {
    color: var(--secondary);
}

.site-logo .logo-img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    gap: 35px;
}

.main-nav a {
    font-weight: 500;
    color: #4b5563;
    font-size: 0.9375rem;
    position: relative;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.header-cta {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px -2px rgba(37, 99, 235, 0.3);
}

/* ========================================
   HERO SECTION (HOMEPAGE)
   ======================================== */
.hero-section {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 50%, var(--primary-light) 100%);
    padding: 80px 0 120px;
    color: #fff;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

/* ========================================
   LIVE SEARCH
   ======================================== */
.live-search-container {
    max-width: 700px;
    margin: 0 auto 40px;
    position: relative;
}

.live-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 20px;
    font-size: 1.25rem;
    color: #6b7280;
    z-index: 2;
}

.live-search-input {
    width: 100%;
    padding: 18px 60px 18px 55px;
    font-size: 1.0625rem;
    border: none;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.live-search-input:focus {
    outline: none;
    box-shadow: 0 10px 50px rgba(0,0,0,0.3);
}

.live-search-input::placeholder {
    color: #9ca3af;
}

.search-loading {
    position: absolute;
    right: 20px;
}

.spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid #e5e7eb;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Live Search Results */
.live-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 10px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    overflow: hidden;
    z-index: 100;
    max-height: 500px;
    overflow-y: auto;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.results-count {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.close-results {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.close-results:hover {
    background: #e5e7eb;
    color: #374151;
}

.results-list {
    max-height: 350px;
    overflow-y: auto;
}

.result-item {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
}

.result-item:hover {
    background: #f9fafb;
}

.result-item:last-child {
    border-bottom: none;
}

.result-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f3f4f6;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #9ca3af;
}

.result-content {
    flex: 1;
    min-width: 0;
}

.result-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 6px;
}

.result-islem {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 10px;
    background: #dbeafe;
    color: #2563eb;
}

.result-no {
    font-size: 0.6875rem;
    color: #6b7280;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 10px;
}

.result-details {
    display: flex;
    gap: 12px;
    margin-bottom: 6px;
}

.result-il, .result-m2 {
    font-size: 0.8125rem;
    color: #6b7280;
}

.result-price {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #2563eb;
}

.results-footer {
    padding: 15px 20px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.view-all-link {
    color: #2563eb;
    font-weight: 600;
    font-size: 0.9375rem;
}

.view-all-link:hover {
    text-decoration: underline;
}

.no-results {
    padding: 40px 20px;
    text-align: center;
    color: #6b7280;
}

/* ========================================
   ADVANCED SEARCH FORM
   ======================================== */
.search-form {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.search-form-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    align-items: end;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.8125rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.95);
}

.form-control:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3);
}

.search-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    height: fit-content;
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(245, 158, 11, 0.4);
}

/* ========================================
   PROPERTY CARD
   ======================================== */
.properties-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.section-subtitle {
    color: #6b7280;
    font-size: 1.0625rem;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.property-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.property-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.08);
}

.property-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-sale { background: var(--badge-sale); color: #fff; }
.badge-rent { background: var(--badge-rent); color: #fff; }
.badge-daily { background: var(--badge-daily); color: #fff; }
.badge-transfer { background: var(--badge-transfer); color: #fff; }
.badge-type { background: var(--badge-type); color: #fff; position: absolute; top: 12px; right: 12px; }

.property-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    font-size: 1.125rem;
}

.property-favorite:hover {
    background: var(--badge-sale);
    color: #fff;
}

.property-content {
    padding: 20px;
}

.property-price {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.property-price span {
    font-size: 0.8125rem;
    color: #9ca3af;
    font-weight: 500;
}

.property-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1.4;
}

.property-title:hover {
    color: var(--primary);
}

.property-location {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.property-features {
    display: flex;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #4b5563;
    font-size: 0.8125rem;
}

/* Property Meta Info (Card Bottom Info) */
.property-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    margin-top: 8px;
}

.property-meta-info .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #4b5563;
    font-size: 0.8125rem;
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 16px;
    white-space: nowrap;
}

.property-meta-info .meta-item.islem-tipi {
    background: var(--primary);
    color: #fff;
    font-weight: 500;
}

/* ========================================
   SINGLE PROPERTY
   ======================================== */
.single-property {
    background: #f3f4f6;
}

.property-header-wrapper {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    padding: 40px 0;
    color: #fff;
}

.property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.property-header-main {
    flex: 1;
}

.property-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.property-header .property-badge {
    position: static;
}

.property-header .property-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.property-header .property-location {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
}

.property-header-price {
    text-align: right;
}

.price-main {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
}

.price-per-m2 {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin: 4px 0;
}

.property-no {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
}

/* Gallery */
.property-gallery-section {
    margin: 30px 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    border-radius: 16px;
    overflow: hidden;
}

.gallery-main-image {
    position: relative;
    height: 500px;
    cursor: pointer;
}

.gallery-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-count, .gallery-view-all {
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
}

.gallery-view-all {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-view-all:hover {
    background: rgba(255,255,255,0.3);
}

.gallery-thumbs {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
}

.gallery-thumb {
    position: relative;
    height: 242px;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-thumb:hover img {
    transform: scale(1.05);
}

.gallery-more {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Lightbox */
.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(255,255,255,0.4);
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1rem;
}

/* Property Content Layout */
.property-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    padding-bottom: 60px;
}

.property-main {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
}

.property-specs-bar {
    display: flex;
    gap: 30px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.spec-icon {
    font-size: 1.5rem;
}

.spec-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.spec-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content-section {
    margin-bottom: 40px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.property-description {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1rem;
}

/* Details Table */
.details-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 18px;
    background: #fff;
}

.detail-label {
    color: #6b7280;
    font-weight: 500;
}

.detail-value {
    color: #111827;
    font-weight: 600;
}

.property-map-container iframe {
    width: 100%;
    height: 400px;
    border-radius: 12px;
}

/* Sidebar */
.property-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.sidebar-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
}

.agent-info {
    text-align: center;
    margin-bottom: 20px;
}

.agent-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 12px;
    object-fit: cover;
}

.agent-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.agent-title {
    color: #6b7280;
    font-size: 0.875rem;
}

.btn-whatsapp, .btn-phone, .btn-email {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(37, 211, 102, 0.4);
}

.btn-phone {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
}

.btn-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(37, 99, 235, 0.4);
}

.btn-email {
    background: #f3f4f6;
    color: #374151;
}

.btn-email:hover {
    background: #e5e7eb;
}

.contact-note {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.quick-list {
    list-style: none;
    padding: 0;
}

.quick-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.9375rem;
}

.quick-list li:last-child {
    border-bottom: none;
}

.quick-list span {
    color: #6b7280;
}

.quick-list strong {
    color: #111827;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.share-btn {
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.share-btn.facebook { background: #1877f2; color: #fff; }
.share-btn.twitter { background: #1da1f2; color: #fff; }
.share-btn.whatsapp { background: #25d366; color: #fff; }

/* ========================================
   ARCHIVE PAGE
   ======================================== */
.archive-header {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    padding: 60px 0;
    color: #fff;
    text-align: center;
}

.archive-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.archive-header p {
    font-size: 1.125rem;
    opacity: 0.9;
}

.archive-content {
    padding: 40px 0 80px;
}

.archive-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.archive-filters {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.filter-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.filter-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.filter-group {
    margin-bottom: 16px;
}

.filter-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.filter-select, .filter-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
}

.price-range {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.filter-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.filter-reset {
    display: block;
    text-align: center;
    margin-top: 12px;
    color: #6b7280;
    font-size: 0.8125rem;
}

.filter-reset:hover {
    color: #2563eb;
}

.quick-links ul {
    list-style: none;
}

.quick-links li {
    margin-bottom: 10px;
}

.quick-links a {
    display: block;
    padding: 10px;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #374151;
    transition: all 0.3s ease;
}

.quick-links a:hover {
    background: #2563eb;
    color: #fff;
}

.archive-results .properties-grid {
    margin-bottom: 40px;
}

.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.no-results h2 {
    font-size: 1.5rem;
    color: #111827;
    margin-bottom: 10px;
}

.no-results p {
    color: #6b7280;
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
}

.pagination-wrapper {
    text-align: center;
    margin-top: 40px;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    gap: 8px;
}

.pagination-wrapper a,
.pagination-wrapper span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border-radius: 8px;
    color: #374151;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-wrapper a:hover,
.pagination-wrapper .current {
    background: #2563eb;
    color: #fff;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: #111827;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .site-logo {
    color: #fff;
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand p {
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.9375rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #2563eb;
}

.footer-column h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #9ca3af;
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .live-search-container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .search-form-inner {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .property-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .archive-layout {
        grid-template-columns: 1fr;
    }
    
    .archive-filters {
        position: static;
    }
    
    .property-header {
        flex-direction: column;
    }
    
    .property-header-price {
        text-align: left;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .live-search-input {
        padding: 15px 50px 15px 45px;
        font-size: 0.9375rem;
    }
    
    .search-form-inner {
        grid-template-columns: 1fr;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .property-gallery-section {
        grid-template-columns: 1fr;
    }
    
    .gallery-main-image {
        height: 300px;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 1fr;
    }
    
    .gallery-thumb {
        height: 100px;
    }
    
    .details-table {
        grid-template-columns: 1fr;
    }
    
    .property-specs-bar {
        justify-content: center;
    }
    
    .result-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .result-image {
        width: 100%;
        height: 150px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .main-nav {
        display: none;
    }
}
