/* Ev Arkadaşın - Modern CSS */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #f8fafc;
    --text: #0f172a;
    --text-light: #64748b;
    --border: #e2e8f0;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --background: #ffffff;
    --card-bg: #ffffff;
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --footer-bg: #0f172a;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Dark Mode Colors */
[data-theme="dark"] {
    --primary: #818cf8;
    --primary-dark: #6366f1;
    --primary-light: #a5b4fc;
    --secondary: #1e293b;
    --text: #f1f5f9;
    --text-light: #cbd5e1;
    --border: #334155;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --background: #0f172a;
    --card-bg: #1e293b;
    --navbar-bg: rgba(30, 41, 59, 0.95);
    --footer-bg: #020617;
}

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

/* Tüm resimleri responsive ve optimize et */
img {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    opacity: 1;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--background);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-on-scroll {
    /* Animasyon devre dışı - direkt görünsün */
    opacity: 1;
    transform: translateY(0);
    /* transition kaldırıldı - anında yüklensin */
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

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

/* Navbar */
.navbar {
    background: var(--navbar-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Navbar Butonları - Dinamik ve Responsive */
.navbar .btn-primary,
.navbar .btn-outline {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none !important;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1.4;
    border: 2px solid var(--primary);
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.navbar .btn-primary:hover,
.navbar .btn-primary:focus,
.navbar .btn-primary:active,
.navbar .btn-outline:hover,
.navbar .btn-outline:focus,
.navbar .btn-outline:active {
    text-decoration: none !important;
    outline: none;
}

/* Giriş Yap - Outline */
.navbar .btn-outline {
    background: transparent;
    color: var(--primary);
}

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

/* Kayıt Ol - Primary */
.navbar .btn-primary {
    background: var(--primary);
    color: white;
}

.navbar .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.01);
}

.logo-icon-wrapper {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
    transition: all 0.3s ease;
}

.logo-icon-wrapper i {
    font-size: 1.4rem;
    color: white;
    transition: all 0.3s ease;
}

.logo-icon-wrapper .fa-home {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo-icon-wrapper .fa-heart {
    position: absolute;
    top: 30%;
    right: 20%;
    font-size: 0.7rem;
    color: #ff69b4;
    transform: translate(50%, -50%);
}

.logo:hover .logo-icon-wrapper {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.logo:hover .logo-icon-wrapper .fa-home {
    transform: translate(-50%, -50%) scale(1.05);
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.3px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.logo-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.3px;
    line-height: 1;
}

@media (max-width: 768px) {
    .logo-brand {
        font-size: 1.3rem;
    }
    
    .logo-tagline {
        display: none;
    }
    
    .logo-icon-wrapper {
        width: 38px;
        height: 38px;
    }
    
    .logo-icon-wrapper i {
        font-size: 1.2rem;
    }
    
    .logo {
        gap: 0.5rem;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon-wrapper {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.footer-logo .logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.footer-logo .logo-brand {
    font-size: 1.4rem;
    color: white;
}

.footer-logo .logo-tagline {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
}

.women-only-link {
    color: #ff69b4 !important;
    font-weight: 600;
}

.women-only-link:hover {
    color: #ff1493 !important;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.nav-links > * {
    flex-shrink: 0;
}

.nav-links a:not(.btn-primary):not(.btn-outline) {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 8px;
}

.nav-links a:not(.btn-primary):not(.btn-outline) i {
    font-size: 0.9rem;
    opacity: 0.8;
}

.nav-links a:not(.btn-primary):not(.btn-outline)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary):not(.btn-outline):hover {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.nav-links a:not(.btn-primary):not(.btn-outline):hover::after {
    width: 80%;
}

.badge {
    background: var(--error);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    position: absolute;
    top: -8px;
    right: -10px;
}

/* Genel Buton Stilleri - Dinamik ve Basit */
.btn-primary, .btn-outline, .btn-secondary {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    line-height: 1.4;
    cursor: pointer;
    position: relative;
}

.btn-primary {
    background: var(--primary);
    color: white !important;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.4), 0 4px 6px -2px rgba(99, 102, 241, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white !important;
    border-color: var(--primary);
}

.btn-block {
    width: 100%;
    text-align: center;
}

.btn-lg {
    padding: 0.7rem 1.5rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* Hero Section */
.hero {
    background: var(--gradient-1);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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');
    opacity: 0.3;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    font-weight: 800;
    animation: fadeIn 1s ease-out;
    line-height: 1.2;
}

.text-primary {
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    animation: fadeIn 1s ease-out 0.3s both;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 0.6s both;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-outline {
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: clamp(140px, 40vw, 180px);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    padding: 0.65rem 1.2rem;
}

.hero-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid white;
    color: white !important;
}

.hero-buttons .btn-outline:hover {
    background: white;
    color: var(--primary) !important;
    border-color: white;
}

.hero-popular-cities {
    margin-top: 2.5rem;
    animation: fadeIn 1s ease-out 0.9s both;
}

.hero-cities-label {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.hero-cities-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-cities-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.hero-cities-links a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .hero-cities-links {
        gap: 0.75rem;
    }
    
    .hero-cities-links a {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
    }
}

/* Search Section */
.search-section {
    padding: 3rem 0;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.search-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-8px);
    border-color: var(--primary-light);
}

.search-card h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text);
    position: relative;
    display: inline-block;
    width: 100%;
}

.search-card h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.search-form .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    white-space: nowrap;
    padding: 0.65rem 1.2rem;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
}

/* Form Controls */
.form-control {
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    background: var(--card-bg);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.form-control:hover {
    border-color: rgba(99, 102, 241, 0.5);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1), var(--shadow-md);
    transform: translateY(-1px);
}

/* Stats Section */
.stats-section {
    background: var(--secondary);
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.stat-card {
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover i {
    transform: scale(1.2) rotate(360deg);
    color: var(--primary-dark);
}

.stat-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: var(--primary);
    counter-reset: counter;
}

.stat-card p {
    color: var(--text-light);
    font-weight: 500;
}

/* Listings Grid */
.featured-section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Tek ilan olduğunda maksimum genişlik sınırla */
.listings-grid.single-listing {
    grid-template-columns: minmax(300px, 400px) !important;
    justify-content: center;
    max-width: 400px !important;
}

/* 2 ilan olduğunda da düzgün görünsün */
.listings-grid.two-listings {
    grid-template-columns: repeat(2, minmax(300px, 1fr)) !important;
    max-width: 900px !important;
    margin: 0 auto;
}

/* :has() selector desteği olan tarayıcılar için fallback */
@supports selector(:has(*)) {
    .listings-grid:has(.listing-card:only-child) {
        grid-template-columns: minmax(300px, 400px) !important;
        justify-content: center;
        max-width: 400px !important;
    }
    
    .listings-grid:has(.listing-card:nth-child(2):last-child) {
        grid-template-columns: repeat(2, minmax(300px, 1fr)) !important;
        max-width: 900px !important;
        margin: 0 auto;
    }
}

.listing-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid var(--border);
    will-change: transform;
}

/* Öne çıkarılmış ilan stili */
.listing-card.featured-listing {
    border: 3px solid #ffd700;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(255, 215, 0, 0.05) 100%);
}

.listing-card.featured-listing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    z-index: 1;
}

.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1f2937;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: pulse 2s infinite;
}

.featured-badge i {
    color: #1f2937;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(255, 215, 0, 0.6);
    }
}

.listing-card.clickable-card {
    cursor: pointer;
    user-select: none;
}

.listing-card.clickable-card:active {
    transform: translateY(-3px) scale(0.98);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.listing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(79, 70, 229, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.listing-card:hover::before {
    opacity: 1;
}

.listing-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl), 0 0 0 1px var(--primary-light);
    border-color: var(--primary-light);
}

.listing-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

/* Listing images - Artık tüm ilanlar gerçek resim gösterir */

.listing-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.listing-card:hover .listing-image::after {
    opacity: 1;
}

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

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

.listing-type-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.listing-type-tag i {
    font-size: 0.65rem;
}

.listing-info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.listing-info-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.listing-info-tags span i {
    font-size: 0.75rem;
    color: var(--primary);
}

.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 10;
}

.favorite-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.favorite-btn i {
    font-size: 1.2rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

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

.favorite-btn.active i {
    color: var(--error);
}

.favorite-btn.active {
    background: rgba(239, 68, 68, 0.1);
}

.listing-content {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.listing-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.listing-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.listing-details {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Badge removed - using listing-type-tag instead */

.listing-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.listing-card:hover .listing-price {
    transform: scale(1.05);
    color: var(--primary-dark);
}

.listing-price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: normal;
}

.listing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.listing-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    min-width: 0;
    flex: 1;
}

.listing-user span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.listing-date {
    font-size: 0.8rem;
    color: var(--text-light);
    white-space: nowrap;
}

.listing-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.phone-badge {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

/* How It Works */
.how-it-works {
    background: var(--secondary);
    padding: 4rem 0;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.how-it-works h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    margin-top: 1.5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(99, 102, 241, 0.3);
}

.step-card:hover .step-number {
    transform: translateX(-50%) scale(1.2) rotate(360deg);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.5);
}

.step-icon {
    font-size: 3rem;
    color: var(--primary);
    margin: 1rem 0;
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.1);
    color: var(--primary-dark);
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.step-card:hover h3 {
    color: var(--primary);
}

/* Auth Pages */
.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.auth-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 3rem;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-light);
}

.auth-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.form-group small {
    color: var(--text-light);
    font-size: 0.85rem;
}

.auth-footer {
    text-align: center;
    color: var(--text-light);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1rem auto;
    max-width: 600px;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    animation: slideInRight 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.alert:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid var(--success);
}

.alert-success i {
    color: var(--success);
    font-size: 1.5rem;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid var(--error);
}

.alert-error i {
    color: var(--error);
    font-size: 1.5rem;
}

.alert-close {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.alert-close:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* Footer */
.footer {
    background: var(--footer-bg);
    color: #d1d5db;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    transition: background-color 0.3s ease;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1rem;
}

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

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-column ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-column ul li a:hover::after {
    width: 100%;
}

.footer-column ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-link {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: scale(1.2) rotate(360deg);
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
    color: #9ca3af;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block; /* İçeriğe göre boyutlan */
    vertical-align: middle;
}

/* Görünmez köprü - button ile menü arasındaki boşluğu kapatır */
.dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.5rem;
    background: transparent;
    display: none;
}

.dropdown:hover::before {
    display: block;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background 0.2s ease;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.dropdown-toggle .avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

.dropdown-toggle .fa-user-circle {
    font-size: 1.8rem;
    color: var(--primary);
    flex-shrink: 0;
}

.dropdown-toggle:hover {
    background: var(--secondary);
    /* transform kaldırıldı - menü pozisyonunu etkilemesin */
}

.dropdown-toggle i.fa-chevron-down {
    transition: transform 0.2s ease;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-left: 0.25rem;
}

.dropdown.active .dropdown-toggle i.fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    display: none !important;
    z-index: 1000;
    padding: 0.5rem 0;
    margin: 0;
    border: 1px solid var(--border);
    pointer-events: none;
    /* Animasyonlar kapalı */
    opacity: 1;
    transform: none;
    transition: none;
    white-space: nowrap;
    box-sizing: border-box;
    overflow: hidden;
}

/* JavaScript ile kontrol ediliyor */
.dropdown-menu.show {
    display: block !important;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-menu a.admin-panel-link {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white !important;
    font-weight: 600;
    margin: 0.25rem 0;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a.admin-panel-link:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.dropdown-menu a:hover {
    background: var(--secondary);
    padding-left: 1.5rem;
}

.dropdown-menu a i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.dropdown-menu a:hover i {
    transform: scale(1.2);
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 0;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
    padding: 0.5rem;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.mobile-menu-toggle.active {
    color: var(--primary);
}

.mobile-menu-toggle.active i::before {
    content: '\f00d'; /* fa-times */
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner i {
    font-size: 3rem;
    color: var(--primary);
    animation: rotate 1s linear infinite;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 12px;
}

.skeleton-image {
    height: 200px;
    width: 100%;
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary);
    z-index: 9999;
    transition: width 0.3s ease;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--card-bg);
    color: var(--text);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 9999;
    animation: slideInRight 0.3s ease;
    min-width: 300px;
    border: 1px solid var(--border);
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--error);
}

.toast.warning {
    border-left: 4px solid var(--warning);
}

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
    width: 200px;
    height: 200px;
}

/* Dark Mode Toggle */
.theme-toggle {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--primary-dark);
    transform: translateY(-5px) rotate(20deg);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.theme-toggle i {
    transition: transform 0.3s ease;
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* Dark mode specific adjustments */
[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

[data-theme="dark"] .hero::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
}

[data-theme="dark"] .listing-image::after {
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 100%);
}

[data-theme="dark"] .navbar.scrolled {
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

[data-theme="dark"] .favorite-btn {
    background: var(--card-bg);
}

[data-theme="dark"] .badge {
    background: #374151;
}

[data-theme="dark"] .empty-state i {
    color: var(--text-light);
}

/* Popular Cities Section */
/* Country Stats Section */
.country-stats-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(79, 70, 229, 0.05) 100%);
}

.country-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.country-stat-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.country-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
}

.country-flag {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.country-stat-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.country-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Premium Features Section */
.premium-features-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.premium-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

.premium-banner {
    position: relative;
    z-index: 1;
}

.premium-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.premium-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.premium-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.premium-features-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.premium-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.premium-feature:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.premium-feature i {
    font-size: 1.2rem;
}

.premium-feature span {
    font-weight: 600;
}

@media (max-width: 768px) {
    .premium-content h2 {
        font-size: 2rem;
    }
    
    .premium-content p {
        font-size: 1rem;
    }
    
    .premium-features-list {
        flex-direction: column;
        align-items: center;
    }
    
    .country-stats-grid {
        grid-template-columns: 1fr;
    }
}

.popular-cities {
    padding: 4rem 0;
    background: var(--background);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 2px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.page-header .text-muted {
    color: var(--text-light);
    font-size: 1rem;
}

/* Content Card */
.content-card {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.content-card h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.content-card h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.content-card p {
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1rem;
}

.content-card ul {
    line-height: 1.8;
    color: var(--text);
}

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

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

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.city-card {
    background: var(--card-bg);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.city-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
}

.city-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.city-card:hover i {
    transform: scale(1.1);
}

.city-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.city-card p {
    color: var(--text-light);
    font-weight: 600;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background: var(--secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.testimonial-stars {
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-right: 0.25rem;
}

.testimonial-card > p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    font-size: 2rem;
    color: var(--primary);
}

.testimonial-author strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Trust Badges Section */
.trust-badges {
    padding: 3rem 0;
    background: var(--background);
}

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

.trust-badge {
    text-align: center;
    padding: 1.5rem;
}

.trust-badge i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.trust-badge:hover i {
    transform: scale(1.1) rotate(5deg);
}

.trust-badge h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.trust-badge p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 4rem 0;
    background: var(--background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(360deg);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: var(--secondary);
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Smooth theme transition */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--border) 25%, rgba(255,255,255,0.5) 50%, var(--border) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Focus States - Accessibility */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Skip to content - Accessibility */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* Better button active states */
.btn-primary:active,
.btn-outline:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2);
}

/* Form validation states */
.form-control:invalid:not(:placeholder-shown) {
    border-color: var(--error);
}

.form-control:valid:not(:placeholder-shown) {
    border-color: var(--success);
}

/* Improved card hover effects */
.card:hover,
.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Better image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

img.loaded {
    opacity: 1;
}

/* Improved transitions */
a, button {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Social Proof Banner Animations */
.social-proof-banner {
    animation: slideInDown 0.6s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Recent Activities Hover Effects */
.recent-activities > div > div > div {
    cursor: pointer;
}

.recent-activities > div > div > div:hover {
    background: rgba(99, 102, 241, 0.05);
    transform: translateX(5px);
    border-radius: 8px;
}

.recent-activities > div > div > div:last-child {
    border-bottom: none;
}

/* Trending Badge Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.listing-card[style*="position: relative"] > div[style*="background: linear-gradient"] {
    animation: pulse 2s ease-in-out infinite;
}

/* Counter Number Formatting */
.counter {
    font-variant-numeric: tabular-nums;
}

/* Responsive İyileştirmeler */
@media (max-width: 992px) {
    .nav-links {
        gap: 0.75rem;
    }
    
    .navbar .btn-primary,
    .navbar .btn-outline {
        padding: 0.35rem 0.75rem;
        max-width: 110px;
    }
}

@media (max-width: 850px) {
    .nav-links a:not(.btn-primary):not(.btn-outline) {
        display: none;
    }
    
    .nav-links {
        gap: 0.5rem;
    }
    
    .navbar .btn-primary,
    .navbar .btn-outline {
        padding: 0.35rem 0.7rem;
        max-width: 100px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        width: 100%;
        min-width: auto;
        padding: 0.6rem 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .listings-grid {
        grid-template-columns: 1fr;
    }
    
    .search-form {
        grid-template-columns: 1fr;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .toast {
        bottom: 20px;
        right: 20px;
        min-width: 250px;
    }
    
    .theme-toggle {
        bottom: 80px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .listing-type-tag {
        padding: 0.3rem 0.6rem;
        font-size: 0.65rem;
        margin-bottom: 0.5rem;
    }
    
    .listing-info-tags span {
        font-size: 0.7rem;
    }
    
    .btn-primary,
    .btn-outline {
        padding: 0.55rem 1rem;
    }
    
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Social Proof Banner Responsive */
    .social-proof-banner > div {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-proof-banner > div > div[style*="width: 1px"] {
        display: none;
    }
    
    /* Trending Section Responsive */
    .trending-section .listings-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Recent Activities Responsive */
    .recent-activities > div > div > div {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .recent-activities > div > div > div > div:last-child {
        align-self: flex-end;
    }
}

