/**
 * Emlak Yönetim Sistemi - Premium Styles
 * Modern Real Estate Design System 2025
 */

/* ===== CSS Custom Properties ===== */
:root {
    --primary: #aa1340;
    --primary-dark: #8a0f33;
    --primary-light: #cc1a4d;
    --secondary: #525c71;
    --secondary-light: #6b7689;
    --secondary-dark: #3d4555;
    --accent: #f5e6ea;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-dark: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    --gradient-gold: linear-gradient(135deg, #cc1a4d 0%, #aa1340 50%, #8a0f33 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-gold: 0 10px 40px rgba(170, 19, 64, 0.3);
    --shadow-gold-lg: 0 20px 60px rgba(170, 19, 64, 0.4);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Base Styles ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #E5E7EB;
    overflow-x: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ===== PWA & iOS Safe Area Support ===== */
/* iOS PWA için viewport-fit=cover gerekli - header.php'de meta tag ile */
@supports (padding: max(0px)) {
    /* iOS Safe Area - notch ve home indicator için */
    body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
}

/* PWA Standalone Mode Detection */
@media (display-mode: standalone) {
    /* iOS PWA'da header'ı safe area'nın altına konumlandır */
    #header {
        top: env(safe-area-inset-top, 0) !important;
    }

    /* Header spacer'ı safe area dahil ayarla */
    #headerSpacer,
    #headerSpacerDesktop {
        padding-top: env(safe-area-inset-top, 0);
    }

    /* Body üst padding - header görünürlüğü için */
    body {
        padding-top: env(safe-area-inset-top, 0);
    }

    /* Site content wrapper - safe area ile uyumlu */
    .site-content-wrapper {
        min-height: calc(100vh - env(safe-area-inset-top, 0) - env(safe-area-inset-bottom, 0));
    }

    /* Footer alt padding - home indicator için */
    footer {
        padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0));
    }

    /* WhatsApp ve scroll butonları - safe area uyumlu */
    .whatsapp-float,
    #scrollTopBtn {
        bottom: calc(1.5rem + env(safe-area-inset-bottom, 0));
    }
}

/* iOS PWA fullscreen modunda ek düzeltmeler */
@media (display-mode: fullscreen) {
    #header {
        top: env(safe-area-inset-top, 0) !important;
    }

    body {
        padding-top: env(safe-area-inset-top, 0);
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
}

/* ===== Box Layout Wrapper ===== */
.site-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.1);
    min-height: 100vh;
    position: relative;
}

@media (max-width: 1440px) {
    .site-wrapper {
        max-width: 100%;
        box-shadow: none;
    }

    body {
        background-color: #ffffff;
    }
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary);
}

.text-gradient {
    color: var(--primary);
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-gold {
    color: var(--primary);
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Gradient Backgrounds ===== */
.bg-gradient-gold {
    background: var(--gradient-gold);
}

.shadow-gold {
    box-shadow: var(--shadow-gold);
}

.shadow-gold-lg {
    box-shadow: var(--shadow-gold-lg);
}

/* ===== Rich Text / Prose Styles ===== */
/* CKEditor ve zengin içerik alanları için kapsamlı stiller */

.prose {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #374151;
}

/* Başlıklar */
.prose h1 {
    color: var(--secondary);
    font-weight: 800;
    font-size: 2.25rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.prose h2 {
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #E5E7EB;
    line-height: 1.3;
}

.prose h3 {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.375rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.prose h4 {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.125rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.prose h5, .prose h6 {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Paragraf */
.prose p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: #4B5563;
    word-break: break-word;
    overflow-wrap: break-word;
}

.prose > *:first-child {
    margin-top: 0;
}

.prose > *:last-child {
    margin-bottom: 0;
}

/* Kalın ve italik */
.prose strong, .prose b {
    color: #1F2937;
    font-weight: 700;
}

.prose em, .prose i {
    font-style: italic;
}

.prose u {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.prose s, .prose del, .prose strike {
    text-decoration: line-through;
    color: #9CA3AF;
}

.prose mark {
    background: linear-gradient(120deg, rgba(170, 19, 64, 0.15) 0%, rgba(170, 19, 64, 0.25) 100%);
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
}

/* Linkler */
.prose a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.prose a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary);
}

/* Listeler */
.prose ul, .prose ol {
    margin-bottom: 1.25rem;
    padding-left: 1.75rem;
}

.prose ul {
    list-style-type: disc;
}

.prose ol {
    list-style-type: decimal;
}

.prose li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: #4B5563;
}

.prose li::marker {
    color: var(--primary);
}

.prose ul ul, .prose ol ol, .prose ul ol, .prose ol ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Nested list stilleri */
.prose ul ul {
    list-style-type: circle;
}

.prose ul ul ul {
    list-style-type: square;
}

/* Blockquote / Alıntı */
.prose blockquote {
    border-left: 4px solid var(--primary);
    background: linear-gradient(135deg, rgba(170, 19, 64, 0.05) 0%, rgba(170, 19, 64, 0.02) 100%);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 0.75rem 0.75rem 0;
    font-style: normal;
    color: #4B5563;
    position: relative;
}

.prose blockquote::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-size: 3rem;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
}

.prose blockquote p {
    margin-bottom: 0.5rem;
}

.prose blockquote p:last-child {
    margin-bottom: 0;
}

.prose blockquote cite {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #6B7280;
    font-style: normal;
}

.prose blockquote cite::before {
    content: '— ';
}

/* Görseller */
.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    margin: 1.5rem 0;
}

.prose figure {
    margin: 2rem 0;
}

.prose figure img {
    margin: 0;
}

.prose figcaption {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #6B7280;
    text-align: center;
    font-style: italic;
}

/* Tablolar */
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.prose thead {
    background: var(--secondary);
    color: white;
}

.prose th {
    padding: 0.875rem 1rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
}

.prose td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #E5E7EB;
}

.prose tbody tr:nth-child(even) {
    background: #F9FAFB;
}

.prose tbody tr:hover {
    background: #F3F4F6;
}

.prose tbody tr:last-child td {
    border-bottom: none;
}

/* Kod blokları */
.prose code {
    background: #F3F4F6;
    color: var(--primary);
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    font-family: 'Fira Code', 'Consolas', 'Monaco', monospace;
}

.prose pre {
    background: #1F2937;
    color: #E5E7EB;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.875rem;
    line-height: 1.6;
    box-shadow: var(--shadow-lg);
}

.prose pre code {
    background: none;
    color: inherit;
    padding: 0;
    font-size: inherit;
}

/* Yatay çizgi */
.prose hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #E5E7EB 20%, #E5E7EB 80%, transparent);
    margin: 2.5rem 0;
}

/* Subscript & Superscript */
.prose sub, .prose sup {
    font-size: 0.75em;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

.prose sup {
    top: -0.5em;
}

.prose sub {
    bottom: -0.25em;
}

/* Kısaltma */
.prose abbr[title] {
    text-decoration: underline dotted;
    cursor: help;
    text-underline-offset: 2px;
}

/* Klavye tuşu */
.prose kbd {
    background: #F3F4F6;
    border: 1px solid #D1D5DB;
    border-radius: 0.25rem;
    padding: 0.125rem 0.375rem;
    font-size: 0.875em;
    font-family: inherit;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Detay / Akordeon */
.prose details {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1.25rem 0;
}

.prose details[open] {
    padding-bottom: 0.5rem;
}

.prose summary {
    font-weight: 600;
    cursor: pointer;
    color: var(--secondary);
    padding: 0.25rem 0;
}

.prose summary:hover {
    color: var(--primary);
}

.prose details[open] summary {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #E5E7EB;
}

/* Definition list */
.prose dl {
    margin: 1.25rem 0;
}

.prose dt {
    font-weight: 700;
    color: var(--secondary);
    margin-top: 1rem;
}

.prose dt:first-child {
    margin-top: 0;
}

.prose dd {
    margin-left: 1.5rem;
    margin-top: 0.25rem;
    color: #4B5563;
}

/* Video embed container */
.prose .video-container,
.prose .embed-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin: 1.5rem 0;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.prose .video-container iframe,
.prose .embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Alert / Uyarı kutuları */
.prose .alert,
.prose .notice,
.prose .info-box {
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    margin: 1.25rem 0;
    border-left: 4px solid;
}

.prose .alert-info,
.prose .notice-info {
    background: #EFF6FF;
    border-color: #3B82F6;
    color: #1E40AF;
}

.prose .alert-success,
.prose .notice-success {
    background: #ECFDF5;
    border-color: #10B981;
    color: #065F46;
}

.prose .alert-warning,
.prose .notice-warning {
    background: #FFFBEB;
    border-color: #F59E0B;
    color: #92400E;
}

.prose .alert-danger,
.prose .notice-danger,
.prose .alert-error {
    background: #FEF2F2;
    border-color: #EF4444;
    color: #991B1B;
}

/* Büyük harf (dropcap) */
.prose .dropcap::first-letter,
.prose p.has-dropcap::first-letter {
    float: left;
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 700;
    margin-right: 0.5rem;
    color: var(--primary);
}

/* Sütunlar */
.prose .columns-2 {
    column-count: 2;
    column-gap: 2rem;
}

.prose .columns-3 {
    column-count: 3;
    column-gap: 2rem;
}

@media (max-width: 768px) {
    .prose .columns-2,
    .prose .columns-3 {
        column-count: 1;
    }
}

/* Print stilleri */
@media print {
    .prose {
        font-size: 12pt;
        line-height: 1.5;
    }

    .prose a {
        color: #000;
        text-decoration: underline;
    }

    .prose blockquote {
        border-left-color: #000;
        background: none;
    }

    .prose pre {
        background: #f5f5f5;
        color: #000;
        border: 1px solid #ddd;
    }
}

/* ===== Line Clamp ===== */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== Glass Morphism ===== */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(82, 92, 113, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Header ===== */
#header {
    transition: all var(--transition-base);
    background: #ffffff !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    /* Ensure header stays above all page content */
    z-index: 9999 !important;
}

/* Main content below header */
#main-content {
    position: relative;
    z-index: 0;
}

/* All sections and banners must stay below header */
#main-content > section,
#main-content > div,
.site-content-wrapper > *:not(#lightbox):not(#contactModal):not(.modal):not(footer) {
    position: relative;
    z-index: 0 !important;
}

/* Fixed elements should keep their z-index */
.fixed {
    z-index: 50 !important;
}

/* Search results: mobile bar must stay above footer */
body.search-results-page .mobile-filter-bar {
    z-index: 99999 !important;
}
body.search-results-page footer {
    z-index: -1;
    position: relative;
}

/* Mobilde footer görünür olmalı - İlan Bulunamadı sayfasında */
@media (max-width: 1023px) {
    body.search-results-page footer {
        z-index: auto;
    }
}

#header, #header.scrolled {
    z-index: 9999 !important;
}

#header.scrolled {
    background: rgb(255, 255, 255);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 9999 !important;
}

#header.scrolled .nav-link {
    color: var(--secondary);
}

.nav-link {
    position: relative;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 6px 14px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    letter-spacing: -0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary, #aa1340);
    transition: all 0.25s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.text-primary::after {
    width: 60%;
}

.nav-link:hover {
    color: var(--primary) !important;
    background: rgba(170, 19, 64, 0.04);
}

.nav-link.text-primary {
    font-weight: 600;
}

/* ===== Hero Section ===== */
.hero-slide {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    animation: heroSlideIn 10s ease-out forwards;
}

@keyframes heroSlideIn {
    0% { transform: scale(1.15); }
    15% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-content {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* ===== Premium Property Cards ===== */
.property-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.property-card .card-image {
    position: relative;
    overflow: hidden;
}

.property-card .card-image img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.property-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.property-card:hover .card-overlay {
    opacity: 1;
}

.property-card .quick-view {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    transition: all var(--transition-base);
}

.property-card:hover .quick-view {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Property Badge */
.property-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.property-badge.sale {
    background: rgba(170, 19, 64, 0.9);
    color: white;
}

.property-badge.rent {
    background: rgba(16, 185, 129, 0.9);
    color: white;
}

.property-badge.featured {
    background: var(--gradient-gold);
    color: white;
    animation: shimmer 2s infinite;
}

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

/* Property Price */
.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.property-price small {
    font-size: 0.875rem;
    font-weight: 400;
    color: #6B7280;
}

/* Property Features */
.property-features {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-top: 1px solid #F3F4F6;
    border-bottom: 1px solid #F3F4F6;
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: #6B7280;
}

.property-feature i {
    color: var(--primary);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-gold);
    color: white;
    box-shadow: 0 4px 15px rgba(170, 19, 64, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--gradient-dark);
    color: white;
    box-shadow: 0 4px 15px rgba(82, 92, 113, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(82, 92, 113, 0.4);
}

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

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

.btn-white {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    background: #F9FAFB;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.0625rem;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

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

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

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

/* ===== Form Styles ===== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    color: #1F2937;
    background: #F9FAFB;
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(170, 19, 64, 0.1);
}

.form-input::placeholder {
    color: #9CA3AF;
}

/* Floating Labels */
.form-floating {
    position: relative;
}

.form-floating .form-input {
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
}

.form-floating .form-label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    transition: all var(--transition-fast);
    pointer-events: none;
    color: #9CA3AF;
    margin: 0;
}

.form-floating .form-input:focus ~ .form-label,
.form-floating .form-input:not(:placeholder-shown) ~ .form-label {
    top: 0.75rem;
    transform: translateY(0);
    font-size: 0.75rem;
    color: var(--primary);
}

/* ===== Search Box Premium ===== */
.search-box-premium {
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    padding: 2rem;
    position: relative;
}

.search-box-premium::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-gold);
    border-radius: calc(var(--radius-2xl) + 2px);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.search-box-premium:focus-within::before {
    opacity: 1;
}

/* ===== Section Styles ===== */
.section {
    padding: 5rem 0;
}

.section-lg {
    padding: 7rem 0;
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.section-title.centered::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ===== Stats Counter ===== */
.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== Testimonials ===== */
.testimonial-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.testimonial-stars {
    color: var(--primary);
}

/* ===== WhatsApp Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-base);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* ===== Back to Top ===== */
#scrollTopBtn {
    transition: all var(--transition-base);
}

#scrollTopBtn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===== Image Gallery ===== */
.gallery-main {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.gallery-main img {
    transition: transform 0.5s ease;
}

.gallery-thumb {
    cursor: pointer;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-fast);
    opacity: 0.7;
}

.gallery-thumb:hover {
    opacity: 1;
}

.gallery-thumb.active {
    opacity: 1;
    ring: 2px solid var(--primary);
    box-shadow: 0 0 0 3px var(--primary);
}

/* ===== Logo Effects ===== */
/* Header logo - responsive ve orantılı */
.header-logo {
    height: auto;
    width: auto;
    max-height: 85px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .header-logo {
        max-height: 90px;
    }
}

/* Tüm logolar için siyah gölge */
.logo-effect {
    filter: drop-shadow(3px 5px 10px rgba(0, 0, 0, 0.45));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logo-effect:hover {
    filter: drop-shadow(4px 7px 14px rgba(0, 0, 0, 0.55));
    transform: translateY(-2px);
}

/* Koyu/dark arka planlar için - siyah gölge */
.logo-effect-light {
    filter: drop-shadow(3px 5px 10px rgba(0, 0, 0, 0.45));
    transition: filter 0.3s ease;
}

.logo-effect-light:hover {
    filter: drop-shadow(4px 7px 14px rgba(0, 0, 0, 0.55));
}

/* ===== Lightbox ===== */
#lightbox {
    background: rgba(0, 0, 0, 0.92);
    z-index: 999999 !important;
}

#contactModal {
    z-index: 999999 !important;
}

#lightbox img {
    max-height: 85vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
}

/* ===== Map Container ===== */
.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.map-container iframe {
    display: block;
}

/* ===== Loading Skeleton ===== */
.skeleton {
    background: linear-gradient(90deg, #F3F4F6 25%, #E5E7EB 50%, #F3F4F6 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s infinite;
    border-radius: var(--radius-md);
}

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

/* ===== Pagination ===== */
.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.pagination a {
    background: white;
    color: #374151;
    border: 1px solid #E5E7EB;
}

.pagination a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination .active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ===== Footer ===== */
footer {
    background: #000000;
}

footer a {
    transition: color var(--transition-fast);
}

footer a:hover {
    color: var(--primary) !important;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.1);
    color: #9CA3AF;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #F3F4F6;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #F3F4F6;
}

/* ===== Selection ===== */
::selection {
    background: var(--primary);
    color: white;
}

::-moz-selection {
    background: var(--primary);
    color: white;
}

/* ===== Focus Visible ===== */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }
.animate-fadeInDown { animation: fadeInDown 0.6s ease forwards; }
.animate-fadeInLeft { animation: fadeInLeft 0.6s ease forwards; }
.animate-fadeInRight { animation: fadeInRight 0.6s ease forwards; }
.animate-scaleIn { animation: scaleIn 0.6s ease forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
}

.hero-slide.fade-out {
    opacity: 0;
}

/* ===== Premium Button ===== */
.btn-premium {
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-premium:hover::before {
    left: 100%;
}

/* ===== Fade In Up Animation ===== */
.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Slider içindeki görseller için fade-in-up animasyonu devre dışı */
.ilan-slider .fade-in-up,
.ilan-slider [data-slide] {
    animation: none !important;
}
.ilan-slider [data-slide].opacity-0 {
    opacity: 0 !important;
}
.ilan-slider [data-slide].opacity-100 {
    opacity: 1 !important;
}

/* ===== Toast Styles ===== */
.toast {
    animation: slideInRight 0.3s ease forwards;
}

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

/* ===== Shake Animation ===== */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.animate-shake {
    animation: shake 0.5s ease;
}

/* ===== Lightbox ===== */
.lightbox {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Delay classes */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .section {
        padding: 3.5rem 0;
    }

    .section-lg {
        padding: 5rem 0;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }

    .search-box-premium {
        padding: 1.25rem;
        border-radius: var(--radius-xl);
    }

    .property-card {
        border-radius: var(--radius-lg);
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem !important;
    }

    .hero-content p {
        font-size: 1.125rem !important;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
    }

    .property-features {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

/* ===== Print Styles ===== */
@media print {
    header, footer, #scrollTopBtn, .whatsapp-float, .no-print {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    .property-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *:not(.hero-slide):not(.category-card):not(.category-card *):not(.icon-wrap),
    *:not(.hero-slide):not(.category-card)::before,
    *:not(.hero-slide):not(.category-card)::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    /* Slider animasyonları her zaman çalışsın */
    .hero-slide {
        animation-duration: 10s !important;
        transition-duration: 1.5s !important;
    }

    /* Category card animasyonları her zaman çalışsın */
    .category-card,
    .category-card *,
    .category-card::before,
    .category-card::after,
    .category-card .icon-wrap {
        animation-duration: 0.85s !important;
        transition-duration: 0.7s !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ===== Dark Mode Support (Future) ===== */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here */
}

/* =============================================================
   USER AUTH STYLES
   (Formerly: user-auth.css)
   Giriş / Kayıt / OTP / Şifre Sıfırlama / User Dropdown / Mobile Menu
   ============================================================= */

/* ======================== */
/* Auth Modal Overlay       */
/* ======================== */

.auth-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    padding-top: calc(1rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    will-change: opacity;
}

.auth-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ======================== */
/* Auth Modal Container     */
/* ======================== */

.auth-modal {
    background: white;
    border-radius: 1rem;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(16px) scale(0.97);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.auth-modal-overlay.active .auth-modal {
    transform: translateY(0) scale(1);
}

/* Scrollbar Styling */
.auth-modal::-webkit-scrollbar {
    width: 4px;
}
.auth-modal::-webkit-scrollbar-track {
    background: transparent;
}
.auth-modal::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

/* ======================== */
/* Modal Header             */
/* ======================== */

.auth-modal-header {
    background: linear-gradient(135deg, var(--primary-color, #e74c3c), var(--secondary-color, #2c3e50));
    padding: 1.25rem 1.5rem;
    border-radius: 1rem 1rem 0 0;
    position: sticky;
    top: 0;
    z-index: 1;
}

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

.auth-modal-header .header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.auth-modal-header .header-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-modal-header .header-icon i {
    font-size: 1.25rem;
}

.auth-modal-header h3 {
    font-weight: 700;
    font-size: 1.125rem;
    color: white;
    margin: 0;
    line-height: 1.3;
}

.auth-modal-header p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Close Button */
.auth-close-btn {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    background: none;
    border: none;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
    flex-shrink: 0;
}

.auth-close-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

/* ======================== */
/* Tabs                     */
/* ======================== */

.auth-tabs {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.75rem;
}

.auth-tab {
    flex: 1;
    padding: 0.5rem;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    font-family: inherit;
}

.auth-tab.active {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color, #e74c3c);
}

.auth-tab:not(.active):hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

/* ======================== */
/* Modal Body               */
/* ======================== */

.auth-modal-body {
    padding: 1.5rem;
}

/* Steps */
.auth-step {
    display: none;
}

.auth-step.active {
    display: block;
}

/* ======================== */
/* Form Elements            */
/* ======================== */

.auth-input-group {
    margin-bottom: 1rem;
}

.auth-input-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.375rem;
}

.auth-input-group label i {
    color: #9ca3af;
    margin-right: 0.25rem;
    width: 1rem;
    text-align: center;
}

.auth-input-wrapper {
    position: relative;
}

.auth-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    background: white;
    color: #1f2937;
}

.auth-input:focus {
    border-color: var(--primary-color, #e74c3c);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.auth-input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.auth-input::placeholder {
    color: #9ca3af;
}

/* Password Toggle */
.auth-password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
}

.auth-password-toggle:hover {
    color: #6b7280;
}

/* ======================== */
/* Submit Button            */
/* ======================== */

.auth-submit-btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    font-family: inherit;
    color: white;
    background: linear-gradient(135deg, var(--primary-color, #e74c3c), var(--primary-dark, #c0392b));
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.auth-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ======================== */
/* Remember me / Links      */
/* ======================== */

.auth-extras {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #6b7280;
    cursor: pointer;
}

.auth-remember input {
    accent-color: var(--primary-color, #e74c3c);
}

.auth-link {
    color: var(--primary-color, #e74c3c);
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.8125rem;
}

.auth-link:hover {
    text-decoration: underline;
}

/* ======================== */
/* OTP Input                */
/* ======================== */

.otp-inputs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.otp-input {
    width: 3rem;
    height: 3.5rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    background: white;
    color: #1f2937;
}

.otp-input:focus {
    border-color: var(--primary-color, #e74c3c);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

/* ======================== */
/* Auth Messages            */
/* ======================== */

.auth-message {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    margin-bottom: 1rem;
    display: none;
    line-height: 1.5;
}

.auth-message.error {
    display: block;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.auth-message.success {
    display: block;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
}

/* ======================== */
/* KVKK Checkbox            */
/* ======================== */

.auth-kvkk {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
}

.auth-kvkk input {
    margin-top: 0.2rem;
    accent-color: var(--primary-color, #e74c3c);
    flex-shrink: 0;
}

.auth-kvkk a {
    color: var(--primary-color, #e74c3c);
    text-decoration: underline;
}

/* ======================== */
/* OTP Timer                */
/* ======================== */

.otp-timer {
    text-align: center;
    font-size: 0.8125rem;
    color: #6b7280;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.otp-timer .resend-btn {
    color: var(--primary-color, #e74c3c);
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    font-size: inherit;
    font-family: inherit;
    padding: 0;
}

.otp-timer .resend-btn:disabled {
    color: #9ca3af;
    cursor: not-allowed;
}

/* ======================== */
/* Desktop Guest Buttons     */
/* ======================== */

.desktop-guest-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.desktop-guest-login {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid var(--primary-color, #aa1340);
    background: transparent;
    color: var(--primary-color, #aa1340);
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.desktop-guest-login:hover {
    background: var(--primary-color, #aa1340);
    color: #fff;
}
.desktop-guest-login i {
    font-size: 13px;
}

.desktop-guest-ilan {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, var(--primary-color, #aa1340), var(--primary-dark, #8a0f33));
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(170, 19, 64, 0.3);
    white-space: nowrap;
}
.desktop-guest-ilan:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(170, 19, 64, 0.4);
}
.desktop-guest-ilan:active {
    transform: translateY(0);
}
.desktop-guest-ilan i {
    font-size: 13px;
}

/* ======================== */
/* Desktop Auth Icons        */
/* ======================== */

.desktop-auth-btn {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color, #aa1340), var(--primary-dark, #8a0f33));
    color: white;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(170, 19, 64, 0.3);
    text-decoration: none;
}

.desktop-auth-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(170, 19, 64, 0.4);
}

.desktop-auth-btn:active {
    transform: scale(0.95);
}

.desktop-auth-badge {
    position: absolute;
    top: -4px;
    right: -5px;
    min-width: 1.125rem;
    height: 1.125rem;
    padding: 0 4px;
    background: #1e293b;
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid white;
}

/* Desktop User Trigger */
.desktop-user-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    border-radius: 28px;
    background: none;
    border: 2px solid #f1f5f9;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    font-family: inherit;
}

.desktop-user-trigger:hover {
    border-color: #e2e8f0;
    background: #f8fafc;
}

.desktop-user-avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color, #aa1340), var(--primary-dark, #8a0f33));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    color: white;
    font-size: 0.8125rem;
}

.desktop-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.desktop-user-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ======================== */
/* User Dropdown (Desktop)  */
/* ======================== */

.ud-menu {
    width: 280px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.97);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.ud-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.ud-user-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px 14px;
    border-bottom: 1px solid #f1f3f5;
    margin-bottom: 4px;
}

.ud-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color, #aa1340), var(--primary-dark, #8a0f33));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.ud-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ud-avatar i {
    color: #fff;
    font-size: 1rem;
}

.ud-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: #1f2937;
}

.ud-email {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 1px;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ud-links {
    padding: 4px 8px;
}

.ud-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.15s;
    cursor: pointer;
    width: 100%;
    background: none;
    border: none;
    font-family: inherit;
    text-align: left;
    text-decoration: none;
}

.ud-link:hover {
    background: #f8fafc;
}

.ud-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8125rem;
}

.ud-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    margin-left: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ud-logout {
    color: #ef4444;
}

.ud-logout:hover {
    background: #fef2f2;
}

/* Legacy compat */
.user-dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.user-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ======================== */
/* Mobile Guest Buttons      */
/* ======================== */

.mobile-guest-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-right: auto;
    width: 80px;
}

.mobile-guest-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 5px 0;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid var(--primary-color, #aa1340);
    background: transparent;
    color: var(--primary-color, #aa1340);
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    line-height: 1.3;
}
.mobile-guest-btn:active {
    background: var(--primary-color, #aa1340);
    color: #fff;
}
.mobile-guest-btn i {
    font-size: 11px;
}

.mobile-guest-ilan {
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary-color, #aa1340), var(--primary-dark, #8a0f33));
    color: #fff;
}
.mobile-guest-ilan:active {
    opacity: 0.85;
}

/* ======================== */
/* Mobile Auth Icons        */
/* ======================== */

.mobile-auth-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-auth-btn {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    font-size: 1.05rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.35);
}

.mobile-auth-btn:active {
    transform: scale(0.93);
    box-shadow: 0 1px 4px rgba(231, 76, 60, 0.3);
}

.mobile-auth-btn .badge-count {
    position: absolute;
    top: -3px;
    right: -5px;
    min-width: 1.05rem;
    height: 1.05rem;
    padding: 0 3px;
    background: #1e293b;
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid white;
}

/* ======================== */
/* Mobile Menu - Full Screen */
/* ======================== */

/* --- Menu Header --- */
.mm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    padding-top: calc(14px + env(safe-area-inset-top, 0px));
    border-bottom: 1px solid #f1f3f5;
    background: #fff;
}

.mm-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #6b7280;
    font-size: 1.125rem;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.mm-close:active {
    background: #e5e7eb;
    transform: scale(0.92);
}

/* --- Menu Body --- */
.mm-body {
    overflow-y: auto;
    height: calc(100dvh - 61px - env(safe-area-inset-top, 0px));
    padding: 0 0 40px;
    padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* --- User Profile Card --- */
.mm-user-card {
    margin: 16px 16px 0;
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color, #aa1340) 0%, var(--primary-dark, #8a0f33) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.mm-user-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}

.mm-user-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.mm-user-info {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.mm-user-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.4);
}

.mm-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mm-user-avatar i {
    color: #fff;
    font-size: 1.25rem;
}

.mm-user-name {
    font-weight: 700;
    font-size: 1.0625rem;
    color: #fff;
    letter-spacing: -0.01em;
}

.mm-user-email {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.7);
    margin-top: 2px;
}

/* --- User Quick Stats --- */
.mm-user-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 14px 0 0;
    position: relative;
    z-index: 1;
}

.mm-user-stat {
    text-align: center;
    padding: 8px 4px;
    border-radius: 10px;
    background: rgba(255,255,255,0.12);
    text-decoration: none;
    color: #fff;
    transition: background 0.2s;
}

.mm-user-stat:active {
    background: rgba(255,255,255,0.2);
}

.mm-user-stat i {
    font-size: 0.875rem;
    margin-bottom: 4px;
    display: block;
    opacity: 0.85;
}

.mm-user-stat span {
    font-size: 0.6875rem;
    font-weight: 500;
    opacity: 0.9;
    display: block;
}

/* --- Section Label --- */
.mm-section-label {
    padding: 20px 20px 8px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* --- Menu Links --- */
.mm-links {
    padding: 0 12px;
}

.mm-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 12px;
    border-radius: 12px;
    color: #374151;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s;
    cursor: pointer;
    width: 100%;
    background: none;
    border: none;
    font-family: inherit;
    text-align: left;
}

.mm-link:active {
    background: #f3f4f6;
    transform: scale(0.985);
}

.mm-link-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.875rem;
}

.mm-link-text {
    flex: 0 1 auto;
}

.mm-link-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-left: 6px;
}

.mm-link-arrow {
    color: #d1d5db;
    font-size: 0.75rem;
    margin-left: auto;
}

/* --- Link Colors --- */
.mm-link-icon.ic-dashboard { background: #eff6ff; color: #3b82f6; }
.mm-link-icon.ic-heart { background: #fef2f2; color: #ef4444; }
.mm-link-icon.ic-home { background: #f0fdf4; color: #22c55e; }
.mm-link-icon.ic-search { background: #fefce8; color: #eab308; }
.mm-link-icon.ic-bell { background: #faf5ff; color: #a855f7; }
.mm-link-icon.ic-settings { background: #f1f5f9; color: #64748b; }
.mm-link-icon.ic-nav { background: #f8fafc; color: #475569; }
.mm-link-icon.ic-about { background: #fdf4ff; color: #c026d3; }
.mm-link-icon.ic-services { background: #ecfeff; color: #06b6d4; }
.mm-link-icon.ic-blog { background: #fff7ed; color: #f97316; }
.mm-link-icon.ic-contact { background: #f0fdf4; color: #16a34a; }
.mm-link-icon.ic-phone { background: #eff6ff; color: #2563eb; }

/* --- Logout Link --- */
.mm-link.mm-logout {
    color: #ef4444;
    margin-top: 4px;
}

.mm-link.mm-logout .mm-link-icon {
    background: #fef2f2;
    color: #ef4444;
}

/* --- Divider --- */
.mm-divider {
    height: 1px;
    background: #f1f3f5;
    margin: 6px 20px;
}

/* --- Action Buttons --- */
.mm-actions {
    padding: 12px 16px 0;
}

.mm-btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-color, #aa1340), var(--primary-dark, #8a0f33));
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(170, 19, 64, 0.25);
}

.mm-btn-login:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(170, 19, 64, 0.3);
}

.mm-btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px;
    border-radius: 14px;
    background: #f3f4f6;
    color: #374151;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
}

.mm-btn-contact:active {
    background: #e5e7eb;
    transform: scale(0.97);
}

/* --- Social Links --- */
.mm-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px 16px 8px;
    margin-top: 12px;
    border-top: 1px solid #f1f3f5;
}

.mm-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 1.125rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    text-decoration: none;
}

.mm-social a:active {
    transform: scale(0.9);
}

.mm-social a.mm-social-fb:active { background: #1877f2; color: #fff; }
.mm-social a.mm-social-ig:active { background: #e4405f; color: #fff; }
.mm-social a.mm-social-wa { color: #25d366; }
.mm-social a.mm-social-wa:active { background: #25d366; color: #fff; }

/* Legacy compat - keep for JS cache bypass */
.mobile-menu-auth { display: contents; }
.mobile-menu-user-info { display: none; }
.mobile-menu-auth-links a,
.mobile-menu-auth-links button { display: none; }

/* ======================== */
/* Auth Responsive          */
/* ======================== */

@media (max-width: 480px) {
    .auth-modal {
        max-height: 95vh;
        border-radius: 0.75rem;
    }

    .auth-modal-header {
        padding: 1rem 1.25rem;
        border-radius: 0.75rem 0.75rem 0 0;
    }

    .auth-modal-body {
        padding: 1.25rem;
    }

    .otp-input {
        width: 2.5rem;
        height: 3rem;
        font-size: 1.25rem;
    }

    .otp-inputs {
        gap: 0.375rem;
    }
}

/* ======================== */
/* Favori Butonu (Kalp)     */
/* ======================== */

.favori-btn {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30;
}

.favori-btn:hover {
    background: white;
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.favori-btn:active {
    transform: scale(0.92);
}

.favori-btn i {
    transition: color 0.2s ease, transform 0.2s ease;
}

/* Pop animasyonu */
@keyframes favori-pop {
    0% { transform: scale(1); }
    30% { transform: scale(1.35); }
    60% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.favori-btn.animating i {
    animation: favori-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Detay sayfasi - Favori + Karsilastir butonlari */
.favori-detail-btn,
.compare-btn-detail {
    border: 2px solid;
    cursor: pointer;
    min-height: 48px;
}

/* Favori butonu - kirmizi tema */
.favori-detail-btn {
    border-color: #fca5a5;
    color: #dc2626;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe4e6 100%);
}

.favori-detail-btn:hover {
    background: linear-gradient(135deg, #ffe4e6 0%, #fecdd3 100%);
    border-color: #f87171;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.favori-detail-btn.active {
    background: linear-gradient(135deg, #fee2e2 0%, #fecdd3 100%);
    border-color: #f87171;
    color: #b91c1c;
}

.favori-detail-btn.active:hover {
    background: linear-gradient(135deg, #fecdd3 0%, #fda4af 100%);
    border-color: #ef4444;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

/* Karsilastir butonu - mavi tema */
.compare-btn-detail {
    border-color: #93c5fd;
    color: #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.compare-btn-detail:hover {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: #60a5fa;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.compare-btn-detail.active {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: #60a5fa;
    color: #1d4ed8;
}

.compare-btn-detail.active:hover {
    background: linear-gradient(135deg, #bfdbfe 0%, #93c5fd 100%);
    border-color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* =============================================================
   COMPARE STYLES
   (Formerly: compare.css)
   Karsilastirma Butonu / Floating Bar / Karsilastirma Sayfasi
   ============================================================= */

/* -- Karsilastirma Butonu (Kart uzerinde) -- */
.compare-btn {
    position: absolute;
    top: 84px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: #3b82f6;
    border: none;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.compare-btn:hover {
    background: #fff;
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.compare-btn:active {
    transform: scale(0.92);
}
.compare-btn.active {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 2px 8px rgba(59,130,246,0.4);
}
.compare-btn.active:hover {
    background: #2563eb;
    box-shadow: 0 4px 12px rgba(59,130,246,0.5);
}

/* Ilan Detay Overlay - Daha buyuk buton */
.compare-btn.w-11 {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 18px;
}

/* -- Floating Compare Bar -- */
.compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 -8px 30px rgba(0,0,0,0.3);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}
.compare-bar.visible {
    transform: translateY(0);
}

/* PC Layout */
.compare-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.compare-items {
    display: flex;
    gap: 10px;
    flex: 1;
    overflow-x: auto;
}

.compare-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 6px 10px;
    min-width: 200px;
    max-width: 260px;
    flex-shrink: 0;
}
.compare-item img {
    width: 48px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.compare-item-info {
    flex: 1;
    min-width: 0;
}
.compare-item-title {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.compare-item-price {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
}
.compare-item-remove {
    width: 22px;
    height: 22px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
    transition: all 0.2s;
}
.compare-item-remove:hover {
    background: #ef4444;
    color: #fff;
}

.compare-add-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 140px;
    height: 48px;
    border: 2px dashed rgba(255,255,255,0.15);
    border-radius: 10px;
    color: rgba(255,255,255,0.35);
    font-size: 12px;
    flex-shrink: 0;
}

.compare-bar-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.compare-bar-clear {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.compare-bar-clear:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.compare-bar-go {
    padding: 8px 20px;
    border-radius: 8px;
    border: none;
    background: #3b82f6;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}
.compare-bar-go:hover {
    background: #2563eb;
}
.compare-bar-go:disabled {
    background: #475569;
    color: rgba(255,255,255,0.4);
    cursor: not-allowed;
}

/* -- Mobil Compact Bar -- */
@media (max-width: 767px) {
    .compare-bar {
        padding: 10px 12px;
    }
    .compare-bar-inner {
        flex-wrap: nowrap;
    }
    .compare-items {
        display: none;
    }
    .compare-bar-mobile-info {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
        color: rgba(255,255,255,0.8);
        font-size: 13px;
        font-weight: 500;
    }
    .compare-bar-mobile-info i {
        color: #3b82f6;
        font-size: 16px;
    }
    .compare-add-slot {
        display: none;
    }
}
@media (min-width: 768px) {
    .compare-bar-mobile-info {
        display: none;
    }
}

/* -- Onboarding Tooltip -- */
.compare-onboarding {
    position: fixed;
    z-index: 10000;
    background: #1e293b;
    color: #fff;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    max-width: 260px;
    animation: compareOnboardFadeIn 0.4s ease;
    pointer-events: none;
}
.compare-onboarding::after {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: #1e293b;
    transform: rotate(45deg);
}
@keyframes compareOnboardFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* -- Karsilastirma Sayfasi -- */
.compare-page {
    min-height: 60vh;
}

.compare-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}
.compare-table th,
.compare-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

/* Ilk sutun: alan adlari */
.compare-table .label-col {
    width: 160px;
    min-width: 140px;
    font-weight: 600;
    color: #475569;
    font-size: 13px;
    background: #f8fafc;
    position: sticky;
    left: 0;
    z-index: 2;
}

/* Ilan sutunlari */
.compare-table .ilan-col {
    min-width: 220px;
    max-width: 320px;
}

/* Grup basligi */
.compare-table .group-header td {
    background: #f1f5f9;
    font-weight: 700;
    color: #1e293b;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
    padding: 8px 14px;
}

/* Kazanan hucre */
.compare-table .winner {
    background: #f0fdf4;
    color: #15803d;
    font-weight: 600;
}
.compare-table .winner .winner-icon {
    color: #22c55e;
    font-size: 11px;
    margin-right: 4px;
}

/* Ilan baslik satiri */
.compare-header-row td {
    vertical-align: top;
    padding: 16px 14px;
    border-bottom: 2px solid #e2e8f0;
}
.compare-header-card {
    text-align: center;
}
.compare-header-card img {
    width: 100%;
    max-width: 240px;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 auto 10px;
    display: block;
}
.compare-header-card .compare-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 4px;
}
.compare-header-card .compare-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color, #aa1340);
}
.compare-header-card .compare-loc {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}
.compare-header-card .compare-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    font-size: 12px;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}
.compare-header-card .compare-detail-link:hover {
    text-decoration: underline;
}

/* Boolean degerler */
.compare-val-yes {
    color: #16a34a;
    font-weight: 600;
}
.compare-val-no {
    color: #dc2626;
}
.compare-val-empty {
    color: #cbd5e1;
}

/* Yazdirma */
@media print {
    .compare-bar,
    .compare-onboarding,
    .compare-header-card .compare-detail-link,
    header, footer, .mobile-bottom-nav {
        display: none !important;
    }
    .compare-table .label-col {
        position: static;
    }
    .compare-table {
        font-size: 11px;
    }
    .compare-table th, .compare-table td {
        padding: 4px 8px;
    }
    .compare-header-card img {
        height: 80px;
    }
}

/* Smart Suggestion Banner */
.compare-suggestion {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 9997;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #fff;
    padding: 12px 20px;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    max-width: 420px;
    width: calc(100% - 32px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.compare-suggestion.visible {
    transform: translateX(-50%) translateY(0);
}
.compare-suggestion-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(59,130,246,0.2);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
}
.compare-suggestion-text {
    flex: 1;
    line-height: 1.4;
}
.compare-suggestion-btn {
    padding: 6px 14px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s;
}
.compare-suggestion-btn:hover {
    background: #2563eb;
}
.compare-suggestion-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    flex-shrink: 0;
}
