/*
 * Realty World ATLAS - Main Stylesheet
 * Professional Real Estate Management System
 * 
 * Copyright (c) 2025 Tunahan Bağcacıer. All rights reserved.
 * 
 * This software and its source code are the intellectual property of Tunahan Bağcacıer 
 * and may not be copied, reproduced, distributed, modified, or used in whole or in part 
 * without prior written consent from the author.
 * 
 * Unauthorized use is strictly prohibited and may result in legal action.
 */

/* Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, 'Liberation Sans', sans-serif;
    font-variant-numeric: lining-nums;
    letter-spacing: 0.01em;
}

/* Screen Reader Only Text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Form Groups */
.form-group {
    margin-bottom: 1rem;
    position: relative;
}

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

/* Safari Compatibility - Webkit Prefixes */
.modal-content, .property-card, .hero-section {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Safari iOS specific fixes */
@supports (-webkit-touch-callout: none) {
    .modal-content {
        -webkit-overflow-scrolling: touch;
    }
    
    input, textarea, select {
        -webkit-appearance: none;
        appearance: none;
        -webkit-border-radius: 0;
        border-radius: 8px;
    }
    
    button {
        -webkit-appearance: none;
        appearance: none;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}

/* Backdrop-filter desteği olmayan tarayıcılar için fallback */
@supports not (backdrop-filter: blur(1px)) {
    .hero-content {
        background: rgba(255, 255, 255, 0.25) !important;
        background-image: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1)) !important;
    }
    
    .property-modal {
        background: rgba(0, 0, 0, 0.9) !important;
    }
    
    .lightbox {
        background: rgba(0, 0, 0, 0.95) !important;
    }
    
    .lightbox-counter {
        background: rgba(0, 0, 0, 0.8) !important;
    }
    
    .lightbox-thumbnails {
        background: rgba(0, 0, 0, 0.7) !important;
    }
}

/* Firefox fallback for backdrop-filter (feature detection) */
@supports not (backdrop-filter: blur(1px)) {
    .hero-content {
        background: rgba(255, 255, 255, 0.25) !important;
        background-image: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1)) !important;
    }
    
    .property-modal {
        background: rgba(0, 0, 0, 0.9) !important;
    }
    
    .lightbox {
        background: rgba(0, 0, 0, 0.95) !important;
    }
}

/* JavaScript ile tespit edilen no-backdrop-filter sınıfı için */
.no-backdrop-filter .hero-content {
    background: rgba(255, 255, 255, 0.3) !important;
    background-image: linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.15)) !important;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.no-backdrop-filter .property-modal {
    background: rgba(0, 0, 0, 0.92) !important;
}

.no-backdrop-filter .lightbox {
    background: rgba(0, 0, 0, 0.96) !important;
}

.no-backdrop-filter .lightbox-counter {
    background: rgba(0, 0, 0, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.no-backdrop-filter .lightbox-thumbnails {
    background: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Tema toggle butonu */
.theme-toggle-btn {
    background: rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    color: #0f172a;
    padding: 6px 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    min-width: 36px;
}

.theme-toggle-btn i {
    font-size: 0.9rem;
}

.theme-toggle-btn:hover {
    background: rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.15);
}

body.dark-mode .theme-toggle-btn {
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    border-color: rgba(148, 163, 184, 0.9);
}

body.dark-mode .theme-toggle-btn:hover {
    background: rgba(15, 23, 42, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* RTL Dil Desteği */
html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

html[dir="rtl"] .language-btn {
    order: -1;
    margin-left: 0;
    margin-right: 10px;
}

html[dir="rtl"] .property-card {
    text-align: right;
}

html[dir="rtl"] .property-details {
    flex-direction: row-reverse;
}

html[dir="rtl"] .property-details li {
    margin-left: 0;
    margin-right: 1rem;
}

html[dir="rtl"] .modal-feature-item {
    text-align: right;
}

html[dir="rtl"] .modal-feature-item i {
    margin-left: 8px;
    margin-right: 0;
}

html[dir="rtl"] .contact-container {
    flex-direction: row-reverse;
}

html[dir="rtl"] .footer-content {
    text-align: right;
}

html[dir="rtl"] .testimonial-header {
    flex-direction: row-reverse;
}

html[dir="rtl"] .testimonial-avatar {
    margin-left: 1rem;
    margin-right: 0;
}

html[dir="rtl"] .info-item {
    text-align: right;
}

html[dir="rtl"] .info-item i {
    margin-left: 10px;
    margin-right: 0;
}

html[dir="rtl"] .stat-item {
    text-align: right;
}

html[dir="rtl"] .feature-card {
    text-align: right;
}

html[dir="rtl"] .lightbox-arrow.left {
    right: 20px;
    left: auto;
}

html[dir="rtl"] .lightbox-arrow.right {
    left: 20px;
    right: auto;
}

/* Header Stili */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(200,0,0,0.15);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0;
    transition: all 0.4s ease;
}
header.scrolled {
    box-shadow: 0 4px 24px rgba(200,0,0,0.25);
    padding: 0;
    background-color: rgba(255, 255, 255, 0.98);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.2rem 3vw;
    max-width: 1800px;
    margin: 0 auto;
    min-height: 35px;
    transition: all 0.4s ease;
}
header.scrolled nav {
    min-height: 30px;
    padding: 0.1rem 2vw;
}

.logo {
    margin-right: 2rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

/* Logo resmi stilleri */
.logo-img {
    height: 60px;
    width: auto;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.admin-logo-img {
    height: 35px;
    width: auto;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.logo h1 {
    color: #cc0000;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0;
    padding: 0;
    line-height: 1;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.05);
}
header.scrolled .logo h1 {
    font-size: 1rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.8rem;
    margin-left: 0;
    padding-right: 0;
}

.nav-links a {
    text-decoration: none;
    color: #cc0000;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    background: #f9f9f9;
    margin: 0 0.05rem;
    box-shadow: 0 2px 8px rgba(200,0,0,0.06);
    border: 1px solid rgba(204,0,0,0.1);
    display: inline-block;
    font-size: 1rem;
    letter-spacing: 0.2px;
}
header.scrolled .nav-links a {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #fff;
    background: #cc0000;
    border-color: #cc0000;
    box-shadow: 0 4px 16px rgba(200,0,0,0.25);
    transform: translateY(-3px);
}

/* Hero Bölümü - Modern Glass Hero */
.hero {
    position: relative;
    min-height: 110vh;
    background: url('../images/ss.png') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: clamp(84px, 8vw, 140px) 1.5rem 4rem;
    z-index: 1;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(120deg, rgba(15,23,42,0.91), rgba(148,27,17,0.53) 88%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1;
    pointer-events: none;
    transition: backdrop-filter 0.28s cubic-bezier(.44,0,.5,1.07);
}

/* Dark mode'da hero arka planını daha fazla karart */
body.dark-mode .hero-overlay {
    background: linear-gradient(135deg, rgba(2,6,23,0.95), rgba(15,23,42,0.98));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.hero-card {
    width: 100%;
    max-width: 720px;
    padding: clamp(1.8rem, 4vw, 2.6rem) clamp(1.2rem, 3.8vw, 2.8rem);
    border-radius: 2rem;
    background: rgba(15,23,42,0.53);
    background-image: linear-gradient(145deg,rgba(248,250,252,0.10),rgba(15,23,42,0.58));
    border: 1px solid rgba(248,250,252,0.15);
    box-shadow: 0 22px 70px 0 rgba(15,23,42,0.73);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    text-align: center;
    transition: box-shadow 0.25s cubic-bezier(.46,.61,.36,1),background 0.25s;
}

.hero-card:hover,
.hero-card:focus-within {
    box-shadow: 0 32px 85px rgba(15,23,42,0.92);
    background: rgba(15,23,42,0.61);
    border-color: #fff2;
}

.hero-card h1 {
    font-size: clamp(2.2rem, 3.2vw + 1rem, 3.4rem);
    line-height: 1.09;
    font-weight: 800;
    text-shadow: 1px 2px 2px rgba(0,0,0,0.13);
    margin-bottom: 1.1rem;
    color: #fff;
    letter-spacing: .5px;
    word-break: break-word;
}

.hero-card p {
    font-size: clamp(1rem, 1.1vw + .8rem, 1.09rem);
    margin: 0 auto 1.75rem auto;
    max-width: 32rem;
    line-height: 1.6;
    opacity: 0.89;
    color: #e5e7eb;
}

.hero-logo {
    width: clamp(100px, 23vw, 160px);
    height: clamp(100px, 23vw, 160px);
    border-radius: 50%;
    margin-bottom: 2rem;
    border: 3px solid #fff;
    box-shadow: 0 0 30px rgba(0,0,0,0.21);
    object-fit: cover;
    background: #fff3;
    transition: box-shadow 0.22s;
}

.hero-logo:hover, .hero-logo:focus {
    box-shadow: 0 0 52px rgba(200,0,0,0.22), 0 0 40px rgba(0,0,0,0.2);
}

.hero-content h1 {
    font-size: clamp(2rem, 7vw, 3.8rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.55);
    font-weight: 900;
    letter-spacing: 1.1px;
    color: #fff;
    line-height: 1.08;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 2.5rem;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.32);
    max-width: 800px;
    line-height: 1.5;
    color: #f1f5f9;
    letter-spacing: .12px;
    opacity: .95;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 700px) {
    .hero {
        min-height: 74vh;
        padding: 5.2rem 0.5rem 2.5rem;
    }
    .hero-card {
        padding: 1.1rem 0.8rem;
        max-width: 100%;
        border-radius: 1.23rem;
    }
    .hero-content h1 {
        font-size: 2.1rem;
    }
    .hero-logo {
        width: 84px; height: 84px;
        margin-bottom: 1.25rem;
    }
    .hero-card h1 {
        font-size: 1.55rem;
    }
    .hero-card p, .hero-content p {
        font-size: 1rem;
        max-width: 94vw;
    }
}

/* Ana CTA - Emlakları Keşfet butonu */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.8rem;
    border-radius: 999px;
    background: linear-gradient(120deg, #e63946 0%, #ff8c1a 100%);
    color: #fff;
    text-decoration: none;
    font-size: 1.07rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    border: none;
    box-shadow: 0 4px 24px 0 rgba(237, 38, 38, 0.12), 0 1.5px 8px 0 rgba(197, 82, 4, 0.13);
    position: relative;
    overflow: hidden;
    outline: none;
    cursor: pointer;
    transition: 
        transform 0.22s cubic-bezier(.32,1.56,.44,1),
        box-shadow 0.22s cubic-bezier(.32,1.56,.44,1),
        filter 0.15s cubic-bezier(.4,0,.2,1),
        background 0.28s cubic-bezier(.45,.05,.55,.95);
}

.cta-button:focus {
    outline: 2px solid #ff7600;
    outline-offset: 3px;
    filter: brightness(1.02);
}

.cta-button:hover, .cta-button:focus-visible {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 14px 28px rgba(239, 68, 68, 0.16), 0 5px 10px rgba(197, 82, 4, 0.17);
    filter: brightness(1.04);
    background: linear-gradient(110deg, #cc0000 8%, #f58c00 88%);
}

.cta-button:active {
    transform: translateY(0) scale(0.99);
    filter: brightness(.99);
    box-shadow: 0 4px 13px rgba(237, 38, 38, 0.10), 0 1.5px 6px rgba(197, 82, 4, 0.11);
}

.cta-button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.4), transparent 55%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 55px rgba(220, 38, 38, 0.55);
}

.cta-button:hover::after {
    opacity: 1;
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.5);
}

/* Öne Çıkan Emlaklar */
.featured-properties {
    padding: 7rem 1.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.featured-properties h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: #cc0000;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.featured-properties h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #cc0000;
    border-radius: 2px;
}

/* Dark mode index sections */
body.dark-mode .featured-properties {
    background: #020617;
}

body.dark-mode .featured-properties h2 {
    color: #f9fafb;
}

body.dark-mode .featured-properties h2::after {
    background: #f97373;
}

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

.property-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    
    /* Mobile touch optimizations */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.property-card:hover {
    transform: translateY(-12px) rotateX(5deg);
    box-shadow: 0 15px 30px rgba(200,0,0,0.2);
}

/* Property card image container */
.atlas-img-container {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: #f8f9fa !important;
}

/* Responsive thumbnail heights for property cards */
@media (max-width: 767px) {
    .atlas-img-container {
        height: 180px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .atlas-img-container {
        height: 220px;
    }
}

@media (min-width: 1024px) {
    .atlas-img-container {
        height: 240px;
    }
}

.property-card img,
.atlas-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: all 0.5s ease;
    display: block;
    background: #f8f9fa !important;
}

.property-card:hover img,
.property-card:hover .atlas-img-container img {
    transform: scale(1.05);
}

.property-info {
    padding: 1.8rem;
}

.property-info h3 {
    color: #cc0000;
    margin-bottom: 0.7rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.property-card:hover .property-info h3 {
    color: #990000;
}

.price {
    color: #cc0000;
    font-weight: bold;
    font-size: 1.3rem;
    margin: 0.8rem 0;
    padding: 0.4rem 1rem;
    display: inline-block;
    background: rgba(204, 0, 0, 0.1);
    border-radius: 20px;
}

.details-button {
    width: 100%;
    padding: 1rem;
    background-color: #cc0000;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    
    /* Mobile touch optimizations */
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px; /* iOS minimum touch target */
    -webkit-touch-callout: none;
}

.details-button::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: all 0.5s ease;
    z-index: -1;
}

.details-button:hover::before {
    left: 100%;
}

.details-button:hover {
    background-color: #990000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(153, 0, 0, 0.3);
}

.property-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #cc0000;
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(200,0,0,0.2);
    letter-spacing: 0.5px;
}
.property-badge.for-sale { 
    background: linear-gradient(to right, #cc0000, #ff0000); 
}
.property-badge.for-rent { 
    background: linear-gradient(to right, #990000, #cc0000); 
}

.property-details {
    display: flex;
    gap: 1.2rem;
    margin: 0.9rem 0 0.8rem 0;
    font-size: 1rem;
    color: #555;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}
.property-details i {
    margin-right: 0.4rem;
    color: #cc0000;
}

.property-desc {
    font-size: 1rem;
    color: #444;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.favorite {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 1.4rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    background: rgba(0, 0, 0, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}
.favorite:hover {
    color: #e74c3c;
    background: #fff;
    transform: scale(1.1);
}

/* Testimonials Bölümü */
.testimonials {
    padding: 7rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f2f3 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.03;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3.5rem;
    color: #cc0000;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.testimonials h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #cc0000;
    border-radius: 2px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(200,0,0,0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #cc0000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-info h4 {
    color: #cc0000;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.testimonial-info p {
    color: #555;
    font-size: 0.95rem;
}

.rating {
    display: flex;
    gap: 0.3rem;
    margin: 0.8rem 0 1.2rem;
}

.rating i {
    color: #ffd700;
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.1));
}

.testimonial-text {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
    position: relative;
    padding: 0 1.2rem;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    color: #cc0000;
    font-size: 2.5rem;
    position: absolute;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-text::before {
    left: -8px;
    top: -15px;
}

.testimonial-text::after {
    right: -8px;
    bottom: -30px;
}

/* Features Bölümü */
.features {
    padding: 7rem 1.5rem;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/subtle-white-feathers.png');
    opacity: 0.07;
}

.features .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    width: 100%;
    justify-items: center;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 15px;
    background: #fff;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 100%;
    max-width: 320px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(204,0,0,0.03) 0%, rgba(204,0,0,0.08) 100%);
    z-index: -1;
    opacity: 0;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(204,0,0,0.15);
}

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

.feature-icon {
    font-size: 3rem;
    color: #cc0000;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    background: rgba(204,0,0,0.1);
    width: 100px;
    height: 100px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    position: relative;
    line-height: 1 !important;
    font-style: normal !important;
}

.feature-card:hover .feature-icon {
    background: #cc0000;
    color: #fff;
    transform: rotateY(360deg);
}

.feature-card h3 {
    color: #cc0000;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
}

/* About Bölümü */
.about {
    background-color: #f9f9f9;
    padding: 7rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/subtle-grey.png');
    opacity: 0.2;
}

.about h2 {
    text-align: center;
    margin-bottom: 3.5rem;
    color: #cc0000;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #cc0000;
    border-radius: 2px;
}

.about-content {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    max-width: 900px;
    margin: 0 auto 3rem;
}

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

.stat-item {
    padding: 2.5rem 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(204,0,0,0.15);
}

.stat-item i {
    font-size: 3rem;
    color: #cc0000;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.stat-item:hover i {
    transform: scale(1.2);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #cc0000;
    margin-bottom: 0.8rem;
}

.stat-item p {
    color: #555;
    font-size: 1.1rem;
    font-weight: 600;
}

/* İletişim Bölümü */
.contact {
    padding: 7rem 1.5rem;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3.5rem;
    color: #cc0000;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #cc0000;
    border-radius: 2px;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3.5rem;
    align-items: flex-start;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s ease;
}

#contact-form:hover {
    box-shadow: 0 15px 40px rgba(204,0,0,0.15);
    transform: translateY(-5px);
}

#contact-form input,
#contact-form textarea {
    padding: 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: #cc0000;
    box-shadow: 0 0 0 2px rgba(204,0,0,0.1);
    outline: none;
    background: #fff;
}

#contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    padding: 1.2rem;
    background-color: #cc0000;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.submit-button::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: all 0.5s ease;
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:hover {
    background-color: #990000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(153, 0, 0, 0.3);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 2.5rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s ease;
}

.contact-info:hover {
    box-shadow: 0 15px 40px rgba(204,0,0,0.15);
    transform: translateY(-5px);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
}

.info-item i {
    font-size: 2rem;
    color: #cc0000;
    background: rgba(204,0,0,0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.info-item:hover i {
    background: #cc0000;
    color: #fff;
    transform: rotateY(360deg);
}

.info-item p {
    font-size: 1.1rem;
    color: #444;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: #fff;
    padding: 5rem 1.5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

/* Dark mode footer - koyu mor band */
body.dark-mode footer {
    background: radial-gradient(circle at 0% 0%, #2e026d 0%, #1e1035 40%, #7f1d1d 100%);
}

body.dark-mode footer::before {
    opacity: 0.06;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.03;
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: #fff;
    position: relative;
    padding-bottom: 0.8rem;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.9;
    font-size: 1.05rem;
}

.footer-section a:hover {
    opacity: 1;
    color: #fff;
    text-shadow: 0 0 5px rgba(255,255,255,0.3);
}

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

.social-links a {
    font-size: 1.5rem;
    color: #fff;
    background: rgba(255,255,255,0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #fff;
    color: #cc0000;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 1rem;
    opacity: 0.8;
}

/* WhatsApp Butonu - Resmi WhatsApp Renkleri */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    z-index: 1000;
    border: 3px solid rgba(255,255,255,0.2);
    text-decoration: none;
    animation: whatsapp-pulse 1.8s ease-in-out infinite;
}

.whatsapp-button:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 12px 26px rgba(37, 211, 102, 0.55);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
    }
}

/* Language Button in Navigation */
.language-btn {
    background: #cc0000;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 8px 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
}

.language-btn:hover {
    background: #a00000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200,0,0,0.3);
}

/* Language Drawer */
.language-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.language-drawer.active {
    opacity: 1;
    visibility: visible;
}

.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.drawer-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: #fff;
    border-radius: 20px;
    padding: 0;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.language-drawer.active .drawer-content {
    transform: translate(-50%, -50%) scale(1);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 20px 20px 0 0;
}

.drawer-header h3 {
    margin: 0;
    color: #cc0000;
    font-size: 1.3rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #cc0000;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #cc0000;
    color: #fff;
}

.language-options {
    padding: 20px;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 15px 20px;
    border: none;
    background: #fff;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.language-option:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.language-option.active {
    background: #cc0000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200,0,0,0.3);
}

.language-option .flag {
    font-size: 1.5rem;
}

.language-option .lang-name {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Modal */
.property-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.property-modal.active,
.property-modal.show {
    display: flex !important;
    opacity: 1;
}
.modal-content {
    background: #fff;
    border-radius: 24px;
    max-width: 1800px;
    width: 100%;
    max-height: 96vh;
    overflow-y: auto;
    box-shadow: 0 12px 48px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 0;
    animation: modalBigIn 0.4s cubic-bezier(0.4,0,0.2,1);
}
@keyframes modalBigIn {
    from { opacity: 0; transform: scale(0.96) translateY(30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 28px 32px 0 32px;
    position: relative;
}
.modal-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.modal-badge {
    font-size: 1rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 16px;
    background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    letter-spacing: 0.5px;
    margin-right: 8px;
}
#modal-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #222;
    margin: 0;
    letter-spacing: 0.5px;
}
.close-modal {
    font-size: 2rem;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 18px;
    right: 24px;
    transition: color 0.2s;
}
.close-modal:hover { color: #e74c3c; }
.property-price {
    font-size: 2rem;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    border-radius: 30px;
    padding: 12px 28px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(204,0,0,0.25);
    margin-top: 8px;
    position: relative;
}
.modal-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 0 32px 32px 32px;
    width: 100%;
    box-sizing: border-box;
}
.modal-gallery {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.main-image-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: #f7f7f7;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    position: relative;
    margin: 0 -16px;
    cursor: zoom-in;
    z-index: 0;
    order: 1;
}
#modal-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.3s;
}
#modal-main-img:hover { transform: scale(1.02); }
.modal-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 0;
    justify-content: center;
    position: relative;
    z-index: 1;
    order: 2;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: calc(100% - 32px);
}
.modal-thumbnails img {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.modal-thumbnails img.active,
.modal-thumbnails img:hover {
    border: 2px solid #e74c3c;
    transform: scale(1.08);
}
.modal-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.property-header {
    display: flex;
    align-items: center;
    gap: 10px;
}
.property-location {
    font-size: 1.3rem;
    color: #cc0000;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    margin-top: 4px;
}
.quick-info-item {
    background: #f7f7f7;
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: 0.98rem;
    color: #333;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.quick-info-item i {
    color: #e74c3c;
    font-size: 1.1rem;
}
.section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #c0392b;
    margin: 12px 0 4px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.modal-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
}
.modal-feature-item {
    background: #f7f7f7;
    border-radius: 7px;
    padding: 6px 10px;
    font-size: 0.95rem;
    color: #444;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.modal-desc {
    font-size: 1rem;
    color: #222;
    background: #f7f7f7;
    border-radius: 7px;
    padding: 10px 12px;
    margin-top: 2px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.property-actions {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.action-buttons {
    display: flex;
    gap: 8px;
}
.contact-property-btn {
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 25px;
    padding: 14px 24px;
    cursor: pointer;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37,211,102,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
}
.contact-property-btn.secondary {
    background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
}
.contact-property-btn:hover {
    background: linear-gradient(90deg, #c0392b 0%, #e74c3c 100%);
    transform: translateY(-2px) scale(1.04);
}
.favorite-btn {
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 25px;
    padding: 14px 24px;
    cursor: pointer;
    background: #fff;
    color: #cc0000;
    border: 3px solid #cc0000;
    margin-top: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.favorite-btn.active, .favorite-btn:hover {
    background: #e74c3c;
    color: #fff;
}
.property-additional-info {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    flex-wrap: wrap;
}
.info-card {
    background: #f7f7f7;
    border-radius: 8px;
    padding: 7px 12px;
    min-width: 100px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.share-buttons {
    display: flex;
    gap: 6px;
    margin-top: 2px;
}
.share-btn {
    background: #fff;
    border: 2px solid #e74c3c;
    color: #e74c3c;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.share-btn:hover {
    background: #e74c3c;
    color: #fff;
}
@media (max-width: 700px) {
    .modal-content {
        max-width: 98vw;
        border-radius: 10px;
    }
    .modal-header, .modal-body {
        padding: 12px !important;
    }
}

/* Enhanced Lightbox Gallery */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
    animation: lightboxFadeIn 0.5s ease forwards;
}

@keyframes lightboxFadeIn {
    from { 
        opacity: 0;
        transform: scale(0.8);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

#lightbox-image {
    max-width: 85%;
    max-height: 75%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
    object-fit: contain;
    cursor: zoom-out;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    line-height: 1;
}

.lightbox-close:hover {
    background: rgba(204, 0, 0, 0.8);
    transform: scale(1.1);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.lightbox-arrow:hover {
    background: rgba(204, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.3);
}

.lightbox-arrow:disabled:hover {
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
}

.lightbox-arrow.left {
    left: 30px;
}

.lightbox-arrow.right {
    right: 30px;
}

.lightbox-counter {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    z-index: 10001;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.lightbox-thumbnails {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    max-width: 80%;
    overflow-x: auto;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    z-index: 10001;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.lightbox-thumbnails::-webkit-scrollbar {
    height: 5px;
}

.lightbox-thumbnails::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.lightbox-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

.lightbox-thumbnail {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.lightbox-thumbnail:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.lightbox-thumbnail.active {
    border-color: #cc0000;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(204, 0, 0, 0.5);
}

/* RTL Support for Lightbox */
html[dir="rtl"] .lightbox-close {
    right: auto;
    left: 30px;
}

html[dir="rtl"] .lightbox-arrow.left {
    left: auto;
    right: 30px;
}

html[dir="rtl"] .lightbox-arrow.right {
    right: auto;
    left: 30px;
}

/* Mobile Responsive Lightbox */
@media (max-width: 768px) {
    .language-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        margin-left: 5px;
    }
    
    .drawer-content {
        width: 95%;
        max-width: 350px;
    }
    
    .drawer-header {
        padding: 15px 20px;
    }
    
    .drawer-header h3 {
        font-size: 1.2rem;
    }
    
    .language-options {
        padding: 15px;
    }
    
    .language-option {
        padding: 12px 15px;
        margin-bottom: 8px;
    }
    
    .language-option .flag {
        font-size: 1.3rem;
    }
    
    .language-option .lang-name {
        font-size: 1rem;
    }
    
    #lightbox-image {
        max-width: 95%;
        max-height: 70%;
    }
    
    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .lightbox-arrow {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .lightbox-arrow.left {
        left: 20px;
    }
    
    .lightbox-arrow.right {
        right: 20px;
    }
    
    .lightbox-counter {
        bottom: 100px;
        font-size: 1rem;
        padding: 8px 16px;
    }
    
    .lightbox-thumbnails {
        bottom: 20px;
        max-width: 90%;
        padding: 8px;
    }
    
    .lightbox-thumbnail {
        width: 50px;
        height: 38px;
    }
    
    html[dir="rtl"] .lightbox-close {
        left: 20px;
        right: auto;
    }
    
    html[dir="rtl"] .lightbox-arrow.left {
        right: 20px;
        left: auto;
    }
    
    html[dir="rtl"] .lightbox-arrow.right {
        left: 20px;
        right: auto;
    }
}

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

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

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

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.testimonial-card,
.feature-card,
.stat-item,
.property-card,
.why-atlas-item {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.testimonial-card:nth-child(odd) {
    animation-delay: 0.1s;
}

.testimonial-card:nth-child(even) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.7s;
}

.property-card:nth-child(1) {
    animation-delay: 0.1s;
}

.property-card:nth-child(2) {
    animation-delay: 0.2s;
}

.property-card:nth-child(3) {
    animation-delay: 0.3s;
}

.property-card:nth-child(4) {
    animation-delay: 0.4s;
}

.property-card:nth-child(5) {
    animation-delay: 0.5s;
}

.property-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Responsive Düzenlemeler */
@media (max-width: 1100px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 900px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.8rem 2vw;
    }
    
    .logo-img {
        height: 48px;
        margin-right: 6px;
    }
    
    .admin-logo-img {
        height: 28px;
        margin-right: 6px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .nav-links {
        gap: 0.5rem;
        margin-top: 0.8rem;
        flex-wrap: wrap;
    }
    
    .nav-links a {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .modal-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 1.5rem 1.5rem;
        width: 95vw;
    }
    
    .modal-gallery, .modal-info {
        min-width: 0;
        max-width: 100%;
    }
    
    #modal-main-img {
        max-width: 100%;
        height: 220px;
    }
    
    #modal-title {
        font-size: 1.4rem;
    }
    
    .modal-price {
        font-size: 1.2rem;
    }
    
    .modal-features {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
    
    .modal-feature-item {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .property-grid, 
    .testimonials-grid, 
    .features-grid, 
    .stats {
        grid-template-columns: 1fr;
    }
    
    .property-card, 
    .testimonial-card, 
    .feature-card, 
    .stat-item {
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Mobile için görsel boyutları */
    .atlas-img-container {
        height: 200px;
        background: #f8f9fa !important;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .featured-properties,
    .testimonials,
    .features,
    .about,
    .contact {
        padding: 4rem 1rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .lightbox-arrow {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .lightbox-arrow.left {
        left: 20px;
    }
    
    .lightbox-arrow.right {
        right: 20px;
    }
    
    .contact-property-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .featured-properties h2,
    .testimonials h2,
    .about h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .property-info h3 {
        font-size: 1.3rem;
    }
    
    .price {
        font-size: 1.1rem;
    }
    
    .details-button {
        padding: 0.8rem;
        font-size: 1rem;
        min-height: 48px; /* Daha büyük mobile touch target */
        position: relative;
        z-index: 10; /* Diğer elementlerin üstünde olsun */
    }
    
    .details-button:active {
        transform: scale(0.95);
        background-color: #800000;
    }
    
    /* Mobile'da property card'ın child elementlerinin z-index'ini düzenle */
    @media (max-width: 768px) {
        .property-info {
            position: relative;
            z-index: 5;
        }
        
        .property-info * {
            pointer-events: auto;
        }
        
        .details-button {
            z-index: 20 !important;
            pointer-events: auto !important;
            position: relative !important;
        }
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .info-item i {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .submit-button {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
}

/* İletişim butonu stilleri */
.contact-property-btn {
    display: inline-block;
    margin-top: 1.5rem;
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(204,0,0,0.2);
    width: 100%;
    text-align: center;
    font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.contact-property-btn i {
    margin-right: 0.5rem;
}

.contact-property-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(204,0,0,0.3);
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
} 

/* Filtreleme Bölümü Stilleri */
.property-filters {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(220, 20, 20, 0.15);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(220, 20, 20, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.9);
    padding: 2rem 2.5rem;
    margin: 2rem auto;
    max-width: 1600px;
    position: relative;
    z-index: 2;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.filter-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2rem;
    position: relative;
}
.filter-title::before {
    content: '\f0b0'; /* fa-filter */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.1em;
    color: #dc3545;
    margin-right: 8px;
}
.filter-title::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #dc3545, #c82333);
    border-radius: 1px;
}

.filters-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem 1.5rem;
    align-items: end;
}

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

.filter-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #5a6c7d;
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
}

.filter-group select, .price-inputs input {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    font-size: 0.95rem;
    color: #2c3e50;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
.filter-group select:focus, .price-inputs input:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
    outline: none;
}
.filter-group select:hover, .price-inputs input:hover {
    border-color: #dc3545;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.08);
}

.price-group .price-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #5a6c7d;
    margin-bottom: 0.6rem;
}
.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 0.5rem 0.9rem;
    transition: all 0.2s ease;
}
.price-inputs:hover {
    border-color: #dc3545;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.08);
}
.price-inputs input {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0.4rem 0.6rem !important;
    margin: 0 !important;
    flex: 1;
    min-width: 0;
}
.price-inputs input:focus {
    border: none !important;
    box-shadow: none !important;
}
.price-inputs:focus-within {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}
.price-separator {
    color: #bdc3c7;
    font-size: 1rem;
    font-weight: 500;
}

.clear-filters-btn {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0.9rem 1.8rem;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.25);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    justify-self: end;
}
.clear-filters-btn:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.35);
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .property-filters {
        padding: 1.5rem 1.5rem;
        margin: 1.5rem auto;
    }
    .filters-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem 1rem;
    }
    .filter-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
}
@media (max-width: 600px) {
    .property-filters {
        padding: 1.2rem 1rem;
        border-radius: 16px;
        margin: 1rem auto;
    }
    .filters-container {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .filter-group select, .price-inputs input {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }
    .clear-filters-btn {
        justify-self: stretch;
        text-align: center;
        margin-top: 0.5rem;
    }
    .filter-title {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
}

/* Sonuç Bölümü */
.filter-results {
    margin: 1.5rem 0;
    text-align: center;
}

.results-count {
    color: #495057;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.no-results {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffeaa7;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.no-results i {
    font-size: 3rem;
    color: #856404;
    margin-bottom: 1rem;
}

.no-results p {
    color: #856404;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

/* RTL Desteği - Gelişmiş Filtreleme Layout */
html[dir="rtl"] .property-filters {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .filter-title {
    text-align: center; /* Başlık merkez kalır */
}

html[dir="rtl"] .filters-container {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .filter-group {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .filter-group label {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .filter-group select,
html[dir="rtl"] .filter-group input {
    direction: rtl;
    text-align: right;
    padding-right: 1rem;
    padding-left: 0.5rem;
}

html[dir="rtl"] .price-group {
    direction: rtl;
}

html[dir="rtl"] .price-inputs {
    direction: rtl;
    justify-content: flex-start;
}

html[dir="rtl"] .price-inputs input,
html[dir="rtl"] .price-input {
    direction: rtl;
    text-align: right;
    min-width: 120px;
}

html[dir="rtl"] .price-separator {
    order: 0; /* Separator ortada kalır */
    padding: 0 0.5rem;
}

html[dir="rtl"] .filter-actions {
    direction: rtl;
    justify-content: flex-start;
}

html[dir="rtl"] .clear-filters-btn {
    direction: rtl;
    flex-direction: row-reverse;
}

html[dir="rtl"] .clear-filters-btn span {
    margin-right: 0.5rem;
    margin-left: 0;
}

html[dir="rtl"] .clear-filters-btn i {
    margin-left: 0.5rem;
    margin-right: 0;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .property-filters {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .filters-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .price-inputs {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .price-separator {
        transform: rotate(90deg);
        font-size: 1.2rem;
    }
    
    .clear-filters-btn {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
    
    /* RTL Mobile Fixes */
    html[dir="rtl"] .price-inputs {
        flex-direction: column;
        direction: rtl;
    }
    
    html[dir="rtl"] .clear-filters-btn {
        direction: rtl;
        justify-content: center;
    }
    
    html[dir="rtl"] .filter-group select,
    html[dir="rtl"] .filter-group input {
        text-align: right;
        direction: rtl;
    }
}

/* Tablet RTL Fixes */
@media (max-width: 1024px) and (min-width: 769px) {
    html[dir="rtl"] .filters-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    html[dir="rtl"] .filter-actions {
        grid-column: span 2;
        justify-content: center;
    }
    
    html[dir="rtl"] .price-inputs {
        gap: 0.5rem;
    }
}

/* Tablet görsel boyutları */
@media (min-width: 768px) and (max-width: 1023px) {
    .atlas-img-container {
        height: 220px;
    }
}

/* Desktop görsel boyutları */
@media (min-width: 1024px) {
    .atlas-img-container {
        height: 240px;
    }
}

.property-card.filtered-in {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
    pointer-events: auto;
}

/* Heart Animation */
.heart-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #e74c3c;
    border-radius: 50%;
    animation: heartPulse 1s ease-out;
    pointer-events: none;
}

@keyframes heartPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Preloader Stilleri */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

body.loaded .preloader {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    display: flex;
    gap: 5px;
}

.spinner div {
    width: 15px;
    height: 15px;
    background: #cc0000;
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
}

.bounce1 {
    animation-delay: -0.32s;
}

.bounce2 {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* Team Page Styles */
.team-hero {
    background: linear-gradient(135deg, rgba(204,0,0,0.9) 0%, rgba(153,0,0,0.9) 100%), 
                url('https://images.unsplash.com/photo-1560472354-b33ff0c44a43?w=1600') center/cover;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
}

.team-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.team-hero-content p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Employees Section */
.employees {
    background: #f8f9fa;
    color: #2c3e50;
    padding: 4rem 1.5rem;
    position: relative;
}

.employees h2, .employees h3, .employees p, .employees .employee-position {
    color: inherit;
}

.employees-grid {
    background: none;
}

.employee-card {
    background: #ffffff;
    color: #2c3e50;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.employee-card h3, .employee-card .employee-position, .employee-card p {
    color: inherit;
}

.employee-avatar {
    border: 3px solid #dc3545;
}

/* Dark mode team employees section */
body.dark-mode .employees {
    background: #020617;
    color: #e5e7eb;
}

body.dark-mode .employees h2,
body.dark-mode .employees h3,
body.dark-mode .employees p,
body.dark-mode .employees .employee-position {
    color: #e5e7eb;
}

body.dark-mode .employee-card {
    background: #020617;
    color: #e5e7eb;
    border-color: #111827;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7);
}

.employees h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    position: relative;
}

.employees h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #dc3545, #c82333);
    border-radius: 1px;
}

.employees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.employee-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid #e9ecef;
}

.employee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc3545, #c82333);
}

.employee-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(220, 53, 69, 0.15);
    border-color: #dc3545;
}

.employee-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1.2rem;
    object-fit: cover;
    object-position: center top;
    border: 3px solid #dc3545;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

.employee-card:hover .employee-avatar {
    transform: scale(1.05);
    border-color: #c82333;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
}

.employee-card h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.employee-position {
    color: #dc3545;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.employee-contact {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0.4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.employee-contact i {
    color: #dc3545;
    width: 14px;
    font-size: 0.9rem;
}

.employee-desc {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 1rem 0;
    font-style: normal;
}

.employee-social {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.employee-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.employee-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(220, 53, 69, 0.3);
    background: linear-gradient(135deg, #c82333, #a71e2a);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RTL Support for Team Page */
html[dir="rtl"] .employee-contact {
    flex-direction: row-reverse;
}

html[dir="rtl"] .employee-contact i {
    margin-left: 0.5rem;
    margin-right: 0;
}

html[dir="rtl"] .team-hero-content,
html[dir="rtl"] .employees {
    text-align: right;
}

html[dir="rtl"] .employees h2 {
    text-align: center;
}

/* Responsive Design for Team Page */
@media (max-width: 768px) {
    .team-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .team-hero-content p {
        font-size: 1.1rem;
    }
    
    .employees {
        padding: 4rem 1rem;
    }
    
    .employees h2 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .employees-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .employee-card {
        padding: 2rem;
    }
    
    .employee-avatar {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .team-hero {
        min-height: 50vh;
    }
    
    .team-hero-content h1 {
        font-size: 2rem;
    }
    
    .employee-card {
        padding: 1.5rem;
    }
    
         .employee-avatar {
         width: 80px;
         height: 80px;
     }
 }

/* Screen Reader Only Class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Initial hidden states to avoid inline styles */
.admin-user-info,
.admin-dashboard,
.json-export-section,
.confirm-modal,
.image-preview-area {
    display: none;
}

.admin-user-info.show,
.admin-dashboard.show,
.json-export-section.show,
.property-modal.show,
.confirm-modal.show,
.image-preview-area.show {
    display: flex;
}

.admin-dashboard.show {
    display: block !important;
}

.json-export-section.show,
.image-preview-area.show {
    display: block;
}

/* Clean Admin Panel Design */
.admin-body {
    background: #f8fafc;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Modal Open State - Blur Background & Disable Interactions */
body.modal-open {
    overflow: hidden;
}

body.modal-open .admin-dashboard {
    filter: blur(3px);
    pointer-events: none;
    transition: filter 0.3s ease;
}

body.modal-open .admin-header {
    filter: blur(3px);
    pointer-events: none;
    transition: filter 0.3s ease;
}

.admin-header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    color: #1e293b;
    padding: 1rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.admin-nav {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-nav .logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logout-btn {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logout-btn:hover {
    background: #e2e8f0;
    color: #475569;
}

/* Login Section */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.login-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    text-align: center;
}

.login-header i {
    font-size: 3rem;
    color: #cc0000;
    margin-bottom: 1rem;
}

.login-header h2 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.75rem;
}

.login-header p {
    color: #64748b;
    margin-bottom: 2rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 1rem;
    color: #666;
    z-index: 2;
}

.input-group input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    color: #1e293b;
    transition: all 0.2s ease;
}

.input-group input::placeholder {
    color: #94a3b8;
}

.input-group input:focus {
    outline: none;
    border-color: #cc0000;
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
}

/* MFA Input Group Styles */
.mfa-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    animation: slideDown 0.3s ease-in-out;
}

.mfa-group input {
    padding: 1rem 1rem 1rem 3rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.2rem;
    border: 2px solid #fbbf24;
    background: #fffbeb;
}

.mfa-group input:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.mfa-help {
    font-size: 0.8rem;
    color: #78716c;
    margin-left: 3rem;
    font-style: italic;
}

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

.login-btn {
    background: #cc0000;
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(204, 0, 0, 0.2);
}

.login-btn:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(204, 0, 0, 0.3);
}

.error-msg {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

.error-msg.show {
    display: block;
}

/* Dashboard */
.admin-dashboard {
    min-height: calc(100vh - 80px);
    padding: 2rem;
}

.dashboard-container {
    max-width: 1600px;
    margin: 0 auto;
}

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

.stat-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-color: #cc0000;
}

.stat-card i {
    font-size: 2.5rem;
    color: #cc0000;
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.stat-info p {
    color: #64748b;
    margin: 0;
    font-size: 0.875rem;
}

.dashboard-actions {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.dashboard-actions h2 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.add-property-btn {
    background: #cc0000;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(204, 0, 0, 0.2);
}

.add-property-btn:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(204, 0, 0, 0.3);
}

/* Clean Properties Admin List */
.properties-admin-list {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.admin-property-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
    transition: all 0.2s ease;
}

.admin-property-item:hover {
    background: #f8fafc;
}

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

.property-thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.property-info h4 {
    color: #1e293b;
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.property-info p {
    color: #64748b;
    margin: 0;
    font-size: 0.875rem;
}

.property-price {
    color: #cc0000;
    font-weight: 700;
    font-size: 1.1rem;
}

.property-actions {
    display: flex;
    gap: 0.5rem;
}

.edit-btn, .delete-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.edit-btn {
    background: #16a34a;
    color: #fff;
}

.edit-btn:hover {
    background: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.delete-btn {
    background: #dc2626;
    color: #fff;
}

.delete-btn:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Admin Property Modal */
.property-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 2rem;
}

.property-modal.show {
    display: flex !important; /* Show when .show class is added */
    opacity: 1 !important;
    z-index: 99999 !important;
}

.property-modal-content {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: block !important;
    position: relative;
    margin: 50px auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h3 {
    color: #1e293b;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.close-modal-btn {
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    color: #64748b;
    transition: all 0.2s ease;
}

.close-modal-btn:hover {
    background: #e2e8f0;
    color: #cc0000;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
    padding: 0 2rem;
}

.form-group label {
    color: #1e293b;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #cc0000;
    box-shadow: 0 0 0 3px rgba(204,0,0,0.1);
}

.form-group small {
    color: #666;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Features Section */
.features-section {
    padding: 0 2rem 1.5rem;
}

.features-section h4 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

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

.feature-input {
    display: flex;
    flex-direction: column;
}

.feature-input label {
    color: #64748b;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.feature-input input,
.feature-input select {
    padding: 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 2rem;
    border-top: 1px solid #e9ecef;
}

.cancel-btn, .save-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-btn {
    background: #6c757d;
    color: #fff;
}

.cancel-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.save-btn {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: #fff;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(204,0,0,0.3);
}

/* Confirmation Modal */
.confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.confirm-modal-content {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.confirm-modal-content h3 {
    color: #e74c3c;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.confirm-modal-content p {
    color: #666;
    margin-bottom: 2rem;
}

.confirm-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.confirm-btn {
    background: #e74c3c;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.confirm-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Responsive Design for Admin */
@media (max-width: 768px) {
    .admin-nav {
        padding: 0 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .dashboard-container {
        padding: 1rem;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .admin-property-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .property-actions {
        justify-content: center;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .property-modal {
        padding: 1rem;
    }
} 

/* ========================================================================================= */
/* GLOBAL MODAL BLUR CONTROL - Production UX Stability Rules */
/* ========================================================================================= */

/* Optimized backdrop filter control */
body:not(.modal-open) {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

/* Prevent stuck blur effects - simplified selector */
html:not(.modal-active) body,
html:not(.modal-active) body * {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

/* Emergency blur cleanup - highest specificity */
.emergency-blur-cleanup,
.emergency-blur-cleanup *,
body.emergency-blur-cleanup,
body.emergency-blur-cleanup * {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    filter: none !important;
    overflow: visible !important;
}

/* ========================================================================================= */
/* ENHANCED PROPERTY MANAGEMENT PANEL STYLES */
/* ========================================================================================= */

/* Image Upload Section */
.image-upload-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 0.5rem;
}

/* Upload method styles - URL method removed */

.file-upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.file-upload-area:hover {
    border-color: #cc0000;
    background: rgba(204, 0, 0, 0.02);
}

.file-upload-area i {
    font-size: 2.5rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.file-upload-area p {
    margin: 0.5rem 0;
    font-weight: 500;
    color: #495057;
}

/* Preview button styles removed - no longer needed */

/* Image Preview Area */
.image-preview-area {
    margin-top: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.image-preview-area h5 {
    margin: 0 0 1rem 0;
    color: #495057;
    font-weight: 600;
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.preview-image-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    aspect-ratio: 1;
}

.preview-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.preview-image-item .main-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #28a745;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.preview-image-item .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.preview-image-item:hover .remove-btn {
    opacity: 1;
}

.preview-image-item .loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #6c757d;
}

/* JSON Export Section */
.json-export-section {
    margin-top: 2rem;
    animation: slideInUp 0.3s ease;
}

.export-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.export-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    padding: 1.5rem;
    text-align: center;
}

.export-header h3 {
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.export-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.json-display {
    padding: 1.5rem;
}

#json-output {
    width: 100%;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    background: #f8f9fa;
    color: #495057;
    resize: vertical;
    margin-bottom: 1rem;
}

.json-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.copy-btn, .download-btn, .close-json-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
}

.copy-btn {
    background: #007bff;
    color: #fff;
}

.copy-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.download-btn {
    background: #28a745;
    color: #fff;
}

.download-btn:hover {
    background: #1e7e34;
    transform: translateY(-2px);
}

.close-json-btn {
    background: #6c757d;
    color: #fff;
}

.close-json-btn:hover {
    background: #545b62;
    transform: translateY(-2px);
}

/* Success Message Styling */
.success-message,
.success-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #16a34a;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    animation: slideInRight 0.3s ease;
    max-width: 300px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.no-properties {
    text-align: center;
    padding: 3rem;
    color: #64748b;
}

.no-properties i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #94a3b8;
}

.success-message i {
    margin-right: 0.5rem;
}

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

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

/* Enhanced Property Card in Admin List */
.admin-property-item {
    background: #fff;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.admin-property-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.property-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.property-admin-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.property-admin-actions {
    display: flex;
    gap: 0.5rem;
}

.view-json-btn {
    background: #17a2b8;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.view-json-btn:hover {
    background: #138496;
    transform: translateY(-1px);
}

/* Enhanced Modal Responsiveness - using consolidated admin property modal above */

.property-modal-content {
    background: #fff;
    border-radius: 16px;
    width: min(1100px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

/* Enhanced Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

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

/* Form Field Enhancements */
.form-group input,
.form-group select,
.form-group textarea,
.feature-input input,
.feature-input select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.feature-input input:focus,
.feature-input select:focus {
    outline: none;
    border-color: #cc0000;
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
    transform: translateY(-1px);
}

.form-group label,
.feature-input label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

/* Modal Header Enhancement */
.modal-header {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: #fff;
    padding: 1.5rem 2rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.close-modal-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.close-modal-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Form Actions Enhancement */
.form-actions {
    background: #f8f9fa;
    padding: 1.5rem 2rem;
    border-radius: 0 0 15px 15px;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    border-top: 1px solid #e9ecef;
}

.cancel-btn, .save-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.cancel-btn {
    background: #6c757d;
    color: #fff;
}

.cancel-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.save-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* Features Section Enhancement */
.features-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 2rem;
}

.features-section h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Image Upload Section in Modal */
.image-upload-section {
    margin: 1.5rem 2rem;
}

/* Success Message Enhancement */
.success-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.3);
    z-index: 10001;
    animation: slideInRight 0.3s ease;
    font-weight: 500;
    max-width: 300px;
}

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

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .property-modal {
        padding: 10px;
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .property-modal-content {
        max-height: 95vh;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.8rem;
    }
    
    .form-actions {
        flex-direction: column;
        padding: 1rem;
    }
    
    .cancel-btn, .save-btn {
        width: 100%;
        margin: 0;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .features-section,
    .image-upload-section {
        margin: 1rem;
    }
    
    /* Upload method toggle removed */
    
    .image-preview-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 0.5rem;
    }
    
    .json-actions {
        flex-direction: column;
    }
    
    .json-actions button {
        flex: none;
    }
    
    .success-message,
    .success-notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .property-modal {
        padding: 5px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea,
    .feature-input input,
    .feature-input select {
        padding: 10px 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Enhanced Property Modal Styles */
.property-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.property-modal.active {
    display: flex;
    opacity: 1;
}
.modal-content {
    background: #fff;
    border-radius: 32px;
    max-width: 1800px;
    width: 100%;
    max-height: 92vh;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: row;
    gap: 36px;
    position: relative;
    padding: 0;
    animation: modalBigIn 0.4s cubic-bezier(0.4,0,0.2,1);
}
@keyframes modalBigIn {
    from { opacity: 0; transform: scale(0.92) translateY(40px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 32px 32px 0 32px;
    width: 100%;
}
.modal-header-info {
    display: flex;
    align-items: center;
    gap: 18px;
}
.modal-badge {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 20px;
    background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    letter-spacing: 0.5px;
    margin-right: 10px;
}
.modal-badge.for-sale { background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%); }
.modal-badge.for-rent { background: linear-gradient(90deg, #3498db 0%, #2980b9 100%); }
#modal-title {
    font-size: 2.1rem;
    font-weight: 900;
    color: #222;
    margin: 0;
    letter-spacing: 0.5px;
}
.close-modal {
    font-size: 2.2rem;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 18px;
    transition: color 0.2s;
}
.close-modal:hover { color: #e74c3c; }
.modal-body {
    display: flex;
    flex-direction: row;
    gap: 36px;
    padding: 0 32px 32px 32px;
    width: 100%;
    box-sizing: border-box;
}
.modal-gallery {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 340px;
    max-width: 420px;
    gap: 18px;
}
.main-image-container {
    width: 100%;
    aspect-ratio: 4/3;
    background: #f7f7f7;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    position: relative;
}
#modal-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    transition: transform 0.3s;
}
#modal-main-img:hover { transform: scale(1.03); }
.modal-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 0;
    justify-content: center;
    position: relative;
    z-index: 1;
    order: 2;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: calc(100% - 32px);
}
.modal-thumbnails img {
    width: 64px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border 0.2s, transform 0.2s;
}
.modal-thumbnails img.active,
.modal-thumbnails img:hover {
    border: 2px solid #e74c3c;
    transform: scale(1.08);
}
.modal-info {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 320px;
}
.property-header {
    display: flex;
    align-items: center;
    gap: 18px;
}
.property-location {
    font-size: 1.1rem;
    color: #e74c3c;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.property-price {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 30px;
    padding: 8px 28px;
    margin-left: 12px;
    box-shadow: 0 4px 16px rgba(231,76,60,0.10);
}
.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 8px;
}
.quick-info-item {
    background: #f7f7f7;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 1rem;
    color: #333;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.quick-info-item i {
    color: #e74c3c;
    font-size: 1.2rem;
}
.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #c0392b;
    margin: 18px 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.modal-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}
.modal-feature-item {
    background: #f7f7f7;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.98rem;
    color: #444;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.modal-desc {
    font-size: 1.08rem;
    color: #222;
    background: #f7f7f7;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.property-actions {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.action-buttons {
    display: flex;
    gap: 12px;
}
.contact-property-btn {
    font-size: 1.08rem;
    font-weight: 700;
    border: none;
    border-radius: 24px;
    padding: 10px 22px;
    cursor: pointer;
    background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(231,76,60,0.10);
}
.contact-property-btn.secondary {
    background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
}
.contact-property-btn:hover {
    background: linear-gradient(90deg, #c0392b 0%, #e74c3c 100%);
    transform: translateY(-2px) scale(1.04);
}
.favorite-btn {
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 24px;
    padding: 8px 18px;
    cursor: pointer;
    background: #fff;
    color: #e74c3c;
    border: 2px solid #e74c3c;
    margin-top: 6px;
    transition: background 0.2s, color 0.2s;
}
.favorite-btn.active, .favorite-btn:hover {
    background: #e74c3c;
    color: #fff;
}
.property-additional-info {
    display: flex;
    gap: 18px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.info-card {
    background: #f7f7f7;
    border-radius: 10px;
    padding: 10px 16px;
    min-width: 120px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.share-buttons {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}
.share-btn {
    background: #fff;
    border: 2px solid #e74c3c;
    color: #e74c3c;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.share-btn:hover {
    background: #e74c3c;
    color: #fff;
}

@media (max-width: 900px) {
    .modal-content, .modal-body {
        flex-direction: column !important;
        gap: 18px !important;
        max-width: 98vw;
        padding: 0 !important;
    }
    .modal-header, .modal-body {
        padding: 18px !important;
    }
    .modal-gallery, .modal-info {
        min-width: 0 !important;
        max-width: 100% !important;
    }
}
@media (max-width: 600px) {
    .modal-content {
        border-radius: 12px;
        max-width: 100vw;
    }
    .modal-header, .modal-body {
        padding: 8px !important;
    }
    .main-image-container {
        border-radius: 8px;
    }
    .modal-thumbnails img {
        width: 44px;
        height: 32px;
    }
    .property-price {
        font-size: 1.1rem;
        padding: 6px 12px;
    }
}

/* Google Fonts */
body, .property-modal-container {
  font-family: 'Poppins', Arial, sans-serif;
}

/* Overlay */
.property-modal-overlay {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(20, 20, 30, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.property-modal-overlay.active {
  display: flex;
  animation: property-modal-fadein 0.35s cubic-bezier(.4,0,.2,1);
}
@keyframes property-modal-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Modal Container */
.property-modal-container {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.25);
  min-width: 800px;
  max-width: 1100px;
  width: 65vw; /* 75vw'den 65vw'ye düşürüldü - %75 zoom etkisini simüle eder */
  max-height: 85vh; /* 90vh'den 85vh'ye düşürüldü */
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 45% 55%;
  grid-template-rows: auto 1fr;
  animation: property-modal-slidein 0.45s cubic-bezier(.4,0,.2,1);
  transform: scale(1.0); /* Normal boyut ama daha kompakt layout */
}
@keyframes property-modal-slidein {
  from { transform: scale(0.96) translateY(60px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

/* Close Button */
.property-modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  background: rgba(240,240,240,0.95);
  border: none;
  border-radius: 50%;
  width: 44px; height: 44px;
  font-size: 1.4rem;
  color: #444;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  z-index: 2;
}
.property-modal-close:hover {
  background: #e74c3c;
  color: #fff;
  transform: rotate(90deg) scale(1.08);
}

/* Gallery Section (Left Side - Kompakt) */
.property-modal-gallery-section {
  grid-column: 1;
  grid-row: 1 / -1;
  background: #f8f9fa;
  overflow-y: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Header inside gallery section */
.property-modal-gallery-section .property-modal-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 24px 16px 24px;
  flex-wrap: wrap;
  background: white;
  border-bottom: 1px solid #e9ecef;
  flex-shrink: 0;
}

.property-modal-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.property-modal-badge {
  background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 15px;
  padding: 6px 16px;
  letter-spacing: 0.5px;
}

.property-modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  margin: 0;
  word-break: break-word;
}

/* Gallery (Kompakt) */
.property-modal-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  flex-shrink: 0;
}

.property-modal-main-image-container {
  width: 100%;
  aspect-ratio: 16/10;
  background: #f7f7f7;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
  z-index: 0;
  order: 1;
}

.property-modal-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.property-modal-main-img:hover {
  transform: scale(1.04);
}
.property-modal-zoom-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 50%;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #e74c3c;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: background 0.2s, color 0.2s;
}
.property-modal-zoom-btn:hover {
  background: #e74c3c;
  color: #fff;
}
.property-modal-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 15px;
  position: relative;
  z-index: 1;
  order: 2;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
}

.property-modal-thumbnails img {
  width: 60px;
  height: 45px;
  border-radius: 6px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.property-modal-thumbnails img:hover,
.property-modal-thumbnails img.active {
  border-color: #e74c3c;
  transform: scale(1.05);
}

/* Quick Info in Left Side (Gallery altında) */
.property-modal-gallery-section .property-modal-quickinfo {
  padding: 16px;
  background: white;
  margin: 0 16px 16px 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  flex-grow: 1;
}

.property-modal-gallery-section .property-modal-quickinfo .quick-info-item {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 12px 8px;
  min-height: 80px;
  font-size: 0.9rem;
}

.property-modal-gallery-section .property-modal-quickinfo .quick-info-item i {
  width: 28px;
  height: 28px;
  font-size: 0.9rem;
}

.property-modal-gallery-section .property-modal-quickinfo .quick-info-item .label {
  font-size: 0.7rem;
}

.property-modal-gallery-section .property-modal-quickinfo .quick-info-item .value {
  font-size: 0.85rem;
}

/* Details Section (Right Side) - Modern Layout */
.property-modal-details-section {
  grid-column: 2;
  grid-row: 1 / -1;
  background: white;
  overflow-y: auto;
  padding: 20px; /* 28px'den 20px'e düşürüldü */
  display: flex;
  flex-direction: column;
  gap: 16px; /* 20px'den 16px'e düşürüldü */
}

/* Location & Price - Compact Design */
.property-modal-location-price {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  border-left: 4px solid #e74c3c;
}

.property-modal-location {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #495057;
  font-size: 1.05rem;
  font-weight: 500;
}

.property-modal-location i {
  color: #e74c3c;
  font-size: 1.2rem;
}

.property-modal-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #e74c3c;
  text-shadow: 0 1px 3px rgba(231, 76, 60, 0.1);
}

/* Quick Info Grid */
.property-modal-quickinfo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
}

.quick-info-item {
  text-align: center;
  padding: 16px 12px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-height: 120px;
  justify-content: center;
}

.quick-info-item i {
  font-size: 1.2rem;
  color: white;
  background: #e74c3c;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
  flex-shrink: 0;
}

.quick-info-item .label {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 500;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quick-info-item .value {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  word-break: break-word;
  text-align: center;
}

/* Description - Compact with Read More */
.property-modal-description-wrapper {
  margin: 16px 0;
}

.property-modal-description {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 12px;
  padding: 20px;
  line-height: 1.7;
  color: #495057;
  font-size: 1rem;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}

.property-modal-description.collapsed {
  max-height: 60px;
  overflow: hidden;
  position: relative;
}

.property-modal-description.collapsed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(transparent, #f8f9fa);
}

.property-modal-description h4 {
  color: #e74c3c;
  margin: 0 0 16px 0;
  font-size: 1.3rem;
  font-weight: 700;
}

.read-more-btn {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.read-more-btn:hover {
  background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
  transform: translateY(-1px);
}

.read-more-btn.expanded i {
  transform: rotate(180deg);
}

/* Compact Grids */
.features-grid-compact,
.specs-grid-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 0 0 16px 0;
}

/* Show All Buttons */
.show-all-btn,
.show-all-specs-btn {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

.show-all-btn:hover,
.show-all-specs-btn:hover {
  background: linear-gradient(135deg, #2980b9 0%, #1f639e 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(52, 152, 219, 0.3);
}

.show-all-specs-btn {
  background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
  box-shadow: 0 2px 8px rgba(155, 89, 182, 0.2);
}

.show-all-specs-btn:hover {
  background: linear-gradient(135deg, #8e44ad 0%, #7d3c98 100%);
  box-shadow: 0 4px 16px rgba(155, 89, 182, 0.3);
}

/* Specs Overlay Modal */
.specs-overlay-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.specs-overlay-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.specs-modal-container {
  position: relative;
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  margin: 7.5vh auto;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.specs-overlay-modal.active .specs-modal-container {
  transform: scale(1);
}

.specs-modal-header {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e9ecef;
}

.specs-modal-header h2 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.specs-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.specs-close-btn:hover {
  background: #e74c3c;
  border-color: #e74c3c;
  transform: rotate(90deg) scale(1.1);
}

.specs-modal-content {
  padding: 24px;
  max-height: calc(85vh - 100px);
  overflow-y: auto;
}

/* Specs Categories */
.specs-category {
  margin-bottom: 32px;
}

.specs-category h3 {
  color: #2c3e50;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 3px solid #e74c3c;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.specs-category-item {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 12px;
  padding: 16px;
  border-left: 4px solid #3498db;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.specs-category-item:hover {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-left-color: #e74c3c;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.specs-category-item .spec-label {
  font-weight: 600;
  color: #495057;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 6px;
}

.specs-category-item .spec-value {
  color: #2c3e50;
  font-size: 1.05rem;
  font-weight: 500;
  word-break: break-word;
}

/* Responsive Design */
@media (max-width: 768px) {
  .specs-modal-container {
    width: 95%;
    margin: 5vh auto;
    max-height: 90vh;
  }
  
  .specs-modal-header {
    padding: 20px;
  }
  
  .specs-modal-header h2 {
    font-size: 1.4rem;
  }
  
  .specs-close-btn {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
  
  .specs-category-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .features-grid-compact,
  .specs-grid-compact {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Quick Property Stats - 2x2 Grid */
.property-modal-quick-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}

.quick-stat-item {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}

.quick-stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.quick-stat-item i {
  color: white;
  background: #e74c3c;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px auto;
  font-size: 0.9rem;
}

.quick-stat-item .stat-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.quick-stat-item .stat-label {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Property Sections */
.property-modal-section {
  margin: 20px 0;
}

.property-modal-section h4 {
  color: #333;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e9ecef;
}

.property-modal-section h4 i {
  color: #e74c3c;
  font-size: 1.1rem;
}

/* Features & Specs - No Tabs */
.features-grid,
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 0;
}

.feature-item,
.spec-item {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 8px; /* 10px'den 8px'e düşürüldü */
  padding: 12px 14px; /* 14px 16px'den 12px 14px'e düşürüldü */
  border-left: 4px solid #e74c3c;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  gap: 10px; /* 12px'den 10px'e düşürüldü */
  margin-bottom: 6px; /* 8px'den 6px'e düşürüldü */
}

.feature-icon,
.spec-icon {
  background: linear-gradient(135deg, #cc0000, #990000);
  color: white;
  width: 36px; /* 40px'den 36px'e düşürüldü */
  height: 36px; /* 40px'den 36px'e düşürüldü */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px; /* 16px'den 14px'e düşürüldü */
  flex-shrink: 0;
  position: relative;
}

.feature-icon i,
.spec-icon i {
  color: #ffffff !important;
  font-size: 14px; /* 16px'den 14px'e düşürüldü */
  text-align: center;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.feature-content,
.spec-content {
  flex: 1;
}

.feature-item:hover,
.spec-item:hover {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-left-color: #2196f3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.feature-item:hover .feature-icon,
.spec-item:hover .spec-icon {
  background: linear-gradient(135deg, #2196f3, #1976d2);
}

.feature-item .feature-label,
.spec-item .spec-label {
  font-weight: 600;
  color: #495057;
  font-size: 0.85rem; /* 0.9rem'den 0.85rem'e düşürüldü */
  display: block;
  margin-bottom: 3px; /* 4px'den 3px'e düşürüldü */
}

.feature-item .feature-value,
.spec-item .spec-value {
  color: #6c757d;
  font-size: 0.9rem; /* 0.95rem'den 0.9rem'e düşürüldü */
  word-break: break-word;
}

/* Action Buttons - Modern Design */
.property-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.property-modal-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.property-modal-action-btn.primary {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  grid-column: 1 / -1;
  margin-bottom: 8px;
  font-size: 1.1rem;
  padding: 16px;
}

.property-modal-action-btn.primary:hover {
  background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(231, 76, 60, 0.3);
}

.property-modal-action-btn.whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  border: 2px solid rgba(37, 211, 102, 0.3);
}

.property-modal-action-btn.whatsapp:hover {
  background: linear-gradient(135deg, #128C7E 0%, #0F6A5F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  border-color: rgba(37, 211, 102, 0.6);
}

.property-modal-action-btn.email {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
}

.property-modal-action-btn.email:hover {
  background: linear-gradient(135deg, #2980b9 0%, #1f639e 100%);
  transform: translateY(-2px);
}

.property-modal-action-btn.share {
  background: #6c757d;
  color: white;
  padding: 10px;
}

.property-modal-action-btn.share:hover {
  background: #495057;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .property-modal-container {
    min-width: 800px;
    max-width: 1800px;
  }
}

@media (max-width: 768px) {
  .property-modal-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-width: unset;
    width: 90vw; /* 95vw'den 90vw'ye düşürüldü */
    max-height: 90vh; /* 95vh'den 90vh'ye düşürüldü */
  }
  
  .property-modal-gallery-section {
    grid-column: 1;
    grid-row: 1;
  }
  
  .property-modal-details-section {
    grid-column: 1;
    grid-row: 2;
    padding: 16px; /* 20px'den 16px'e düşürüldü */
    gap: 12px; /* 16px'den 12px'e düşürüldü */
  }
  
  .property-modal-main-image-container {
    aspect-ratio: 16/9;
  }
  
  .property-modal-actions {
    grid-template-columns: 1fr;
  }
}

/* Existing thumbnail styles cleanup */

/* Two Column Layout */
.property-modal-body {
  display: flex;
  gap: 36px;
  padding: 32px 48px 0 48px;
  width: 100%;
  box-sizing: border-box;
}
.property-modal-left, .property-modal-right {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Left Column */
.property-modal-location-price {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.property-modal-location {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #e74c3c;
  font-weight: 600;
  font-size: 1.1rem;
}
.property-modal-location i {
  font-size: 1.2rem;
}
.property-modal-price {
  background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 20px;
  padding: 9px 28px;
  box-shadow: 0 2px 8px rgba(231,76,60,0.10);
  min-width: 110px;
  text-align: center;
}
.property-modal-description {
  font-size: 1.08rem;
  color: #222;
  background: #f7f7f7;
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  margin-top: 4px;
}

/* Optional Sections */
.property-modal-optional-sections {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Actions */
.property-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.property-modal-action-btn {
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 20px;
  padding: 8px 18px;
  cursor: pointer;
  background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
  color: #fff;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(231,76,60,0.10);
  display: flex;
  align-items: center;
  gap: 7px;
}
.property-modal-action-btn.whatsapp {
  background: linear-gradient(90deg, #25D366 0%, #128C7E 100%);
  border: 1px solid rgba(37, 211, 102, 0.3);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.2);
}
.property-modal-action-btn.email {
  background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
}
.property-modal-action-btn.share {
  background: #f7f7f7;
  color: #e74c3c;
  border: 1.5px solid #e74c3c;
  box-shadow: none;
}
.property-modal-action-btn.share:hover {
  background: #e74c3c;
  color: #fff;
}
.property-modal-action-btn:hover {
  background: linear-gradient(90deg, #c0392b 0%, #e74c3c 100%);
  transform: translateY(-2px) scale(1.04);
}

/* Favorite, Views, Date */
.property-modal-favorite {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  color: #cc0000;
  border: 3px solid #cc0000;
  border-radius: 25px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 16px;
  box-shadow: 0 6px 20px rgba(204,0,0,0.15);
  position: relative;
  overflow: hidden;
  min-width: 180px;
}
.property-modal-favorite.active,
.property-modal-favorite:hover {
  background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(204,0,0,0.3);
}
.property-modal-stats {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
}
.property-modal-views, .property-modal-date {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #888;
  font-size: 1rem;
  background: #f7f7f7;
  border-radius: 7px;
  padding: 6px 14px;
}

/* Responsive */
@media (max-width: 1200px) {
  .property-modal-container {
    min-width: 0;
    max-width: 99vw;
    padding: 0 0 18px 0;
  }
  .property-modal-header,
  .property-modal-gallery,
  .property-modal-body {
    padding-left: 18px;
    padding-right: 18px;
  }
}
@media (max-width: 900px) {
  .property-modal-body {
    flex-direction: column;
    gap: 18px;
    padding: 18px 8px 0 8px;
  }
  .property-modal-header,
  .property-modal-gallery {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 600px) {
  .property-modal-container {
    border-radius: 8px;
    padding: 0 0 8px 0;
  }
  .property-modal-header,
  .property-modal-gallery,
  .property-modal-body {
    padding-left: 4px;
    padding-right: 4px;
  }
  .property-modal-main-image-container {
    border-radius: 6px;
  }
  .property-modal-main-img {
    border-radius: 6px;
  }
}

/* RTL Support */
html[dir="rtl"] .property-modal-container,
html[dir="rtl"] .property-modal-header,
html[dir="rtl"] .property-modal-gallery,
html[dir="rtl"] .property-modal-body,
html[dir="rtl"] .property-modal-left,
html[dir="rtl"] .property-modal-right {
  direction: rtl;
}
html[dir="rtl"] .property-modal-header {
  flex-direction: row-reverse;
}
html[dir="rtl"] .property-modal-title-group {
  flex-direction: row-reverse;
}
html[dir="rtl"] .property-modal-badge {
  margin-left: 10px;
  margin-right: 0;
}
html[dir="rtl"] .property-modal-location-price {
  flex-direction: row-reverse;
}
html[dir="rtl"] .property-modal-actions {
  flex-direction: row-reverse;
}
html[dir="rtl"] .property-modal-stats {
  flex-direction: row-reverse;
}

/* Kapsamlı Modal Özellikleri CSS */

/* Feature Section Styles */
.feature-section {
    margin-bottom: 24px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.feature-section-title {
    color: #c0392b;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 8px;
}

.feature-section-title i {
    font-size: 1.3rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.feature-item {
    background: #fff;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 4px solid #e74c3c;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #333;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231,76,60,0.15);
}

.feature-item i {
    color: #e74c3c;
    font-size: 1.1rem;
    min-width: 20px;
}

.feature-item .feature-status {
    display: block;
    font-size: 0.8em;
    color: #27ae60;
    font-weight: 600;
    margin-top: 2px;
}

/* Modal Features Grid (eski uyumluluk) */
.modal-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.modal-feature-item {
    background: #f7f7f7;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.95rem;
    color: #444;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.modal-feature-item:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.modal-feature-item i {
    color: #e74c3c;
    font-size: 1rem;
}

/* Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 8px;
}

.spec-item {
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.spec-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(231,76,60,0.12);
    border-color: #e74c3c;
}

.spec-icon {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 3px 10px rgba(231,76,60,0.3);
}

.spec-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-label {
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value {
    font-weight: 700;
    color: #222;
    font-size: 1.1rem;
}

/* Mobile Responsive for Tabs */
@media (max-width: 768px) {
  .property-modal-tabs {
    flex-direction: column;
    gap: 2px;
    margin: 16px 0 0 0;
  }
  
  .property-modal-tab {
    border-radius: 8px;
    border-bottom: none;
    border-left: 4px solid transparent;
    text-align: left;
    padding: 14px 16px;
  }
  
  .property-modal-tab.active {
    border-left: 4px solid #e74c3c;
    border-bottom: none;
  }
  
  .property-modal-tab-content {
    border-radius: 8px;
    margin-bottom: 8px;
    max-height: 250px;
    padding: 16px;
  }
  
  .property-modal-tab-content .features-grid,
  .property-modal-tab-content .specs-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .property-modal-tab-content .feature-item,
  .property-modal-tab-content .spec-item {
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .property-modal-tab {
    padding: 12px 14px;
    font-size: 0.9rem;
  }
  
  .property-modal-tab-content {
    padding: 12px;
    max-height: 200px;
  }
  
  .feature-item .feature-label,
  .spec-item .spec-label {
    font-size: 0.85rem;
  }
  
  .feature-item .feature-value,
  .spec-item .spec-value {
    font-size: 0.9rem;
  }
}

.empty-features i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .feature-item {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .spec-item {
        padding: 12px;
        gap: 10px;
    }
    
    .spec-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .spec-value {
        font-size: 1rem;
    }
    
    .property-modal-tab {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .feature-section {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .property-modal-tab-content {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .modal-features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
    
    .spec-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .property-modal-tabs {
        flex-direction: column;
        gap: 2px;
    }
    
    .property-modal-tab {
        border-radius: 6px;
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    
    .property-modal-tab.active {
        border-bottom: none;
                 border-left: 3px solid #e74c3c;
     }
 }

/* Admin Panel Feature Tabs */
.feature-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.feature-tab {
    background: #f8f9fa;
    color: #666;
    border: none;
    border-radius: 8px 8px 0 0;
    padding: 12px 18px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 3px solid transparent;
    flex: 0 0 auto; /* taşan sekmelerin dar ekranlarda ikinci satıra geçebilmesi için */
}

.feature-tab:hover {
    background: #e9ecef;
    color: #cc0000;
}

.feature-tab.active {
    background: #fff;
    color: #cc0000;
    border-bottom: 3px solid #cc0000;
    box-shadow: 0 -2px 8px rgba(204,0,0,0.1);
}

.feature-tab i {
    font-size: 1rem;
}

.feature-tab-content {
    display: none;
    background: #fff;
    border-radius: 0 8px 8px 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.feature-tab-content.active {
    display: block;
    animation: tabContentSlideIn 0.3s ease;
}

@keyframes tabContentSlideIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.feature-tab-content h5 {
    color: #cc0000;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 8px;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.checkbox-item:hover {
    background: #e9ecef;
    border-color: #cc0000;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #cc0000;
    cursor: pointer;
}

.checkbox-item label {
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #333;
    flex: 1;
}

.checkbox-item label i {
    color: #cc0000;
    font-size: 1rem;
    min-width: 16px;
}

.checkbox-item input[type="checkbox"]:checked + label {
    color: #cc0000;
    font-weight: 600;
}

.checkbox-item:has(input[type="checkbox"]:checked) {
    background: rgba(204,0,0,0.1);
    border-color: #cc0000;
}

/* Responsive for tabs */
@media (max-width: 768px) {
    .feature-tabs {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .feature-tab {
        padding: 10px 14px;
        font-size: 0.9rem;
        flex: 1;
        min-width: 0;
        justify-content: center;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .checkbox-item {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .feature-tabs {
        flex-direction: column;
    }
    
    .feature-tab {
        border-radius: 6px;
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    
    .feature-tab.active {
        border-bottom: none;
        border-left: 3px solid #cc0000;
    }
}

/* Bildirim Sistemi */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    color: #333;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    border-left: 4px solid #cc0000;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10002;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    max-width: 350px;
    font-weight: 600;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.success {
    border-left-color: #25D366;
}

.notification.error {
    border-left-color: #e74c3c;
}

.notification.info {
    border-left-color: #3498db;
}

.notification i {
    font-size: 1.2rem;
    color: #cc0000;
}

.notification.success i {
    color: #25D366;
}

.notification.error i {
    color: #e74c3c;
}

.notification.info i {
    color: #3498db;
}

/* Favorilere Ekle Butonu Animasyonları */
.property-modal-favorite::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.property-modal-favorite:hover::before {
  left: 100%;
}

.property-modal-favorite i {
  transition: all 0.3s ease;
  z-index: 2;
  position: relative;
}

.property-modal-favorite span {
  z-index: 2;
  position: relative;
}

.property-modal-favorite:hover i {
  animation: heartBeat 0.6s ease;
  color: #ff6b6b;
}

.property-modal-favorite.active i {
  color: #ff6b6b;
  animation: heartPulse 1s infinite;
}

@keyframes heartBeat {
  0%, 50%, 100% { transform: scale(1); }
  25%, 75% { transform: scale(1.3); }
}

/* WHY CHOOSE ATLAS BÖLÜMÜ */
.why-atlas-section {
  padding: 6rem 1.5rem 5rem 1.5rem;
  background: #f7fafd;
  position: relative;
}
.why-atlas-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
}

/* Dark mode - Why Atlas section tam beyaz zemin yerine koyu */
body.dark-mode .why-atlas-section {
  background: #020617;
}

body.dark-mode .why-atlas-title {
  color: #f9fafb;
}

body.dark-mode .why-atlas-subtitle,
body.dark-mode .why-atlas-content p {
  color: #e5e7eb;
}
.why-atlas-left {
  flex: 1 1 340px;
  min-width: 320px;
}
.why-atlas-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #cc0000;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  text-align: center;
}

.why-atlas-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 2.5rem;
  text-align: center;
  line-height: 1.6;
  font-weight: 400;
}

.why-atlas-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-atlas-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border: 1px solid rgba(204,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.why-atlas-item:nth-child(1) {
  animation-delay: 0.1s;
}

.why-atlas-item:nth-child(2) {
  animation-delay: 0.2s;
}

.why-atlas-item:nth-child(3) {
  animation-delay: 0.3s;
}

.why-atlas-item:nth-child(4) {
  animation-delay: 0.4s;
}

.why-atlas-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(204,0,0,0.15);
  border-color: rgba(204,0,0,0.2);
}

.why-atlas-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #cc0000, #ff4444);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.why-atlas-item:hover::before {
  transform: scaleY(1);
}

.why-atlas-icon-container {
  background: linear-gradient(135deg, #cc0000, #ff4444);
  width: 55px;
  height: 55px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(204,0,0,0.2);
  transition: all 0.3s ease;
}

.why-atlas-item:hover .why-atlas-icon-container {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(204,0,0,0.3);
}

.why-atlas-icon {
  font-size: 1.3rem;
  color: #fff;
  transition: all 0.3s ease;
}

.why-atlas-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.why-atlas-item:hover .why-atlas-content h3 {
  color: #cc0000;
}

.why-atlas-content p {
  color: #64748b;
  font-size: 1rem;
  margin: 0;
  line-height: 1.7;
  transition: color 0.3s ease;
}

.why-atlas-item:hover .why-atlas-content p {
  color: #475569;
}
.why-atlas-right {
  flex: 1 1 340px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.why-atlas-graph-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ff0066;
  margin-bottom: 0.5rem;
  text-align: center;
  text-shadow: 0 1px 2px rgba(255, 0, 102, 0.3);
}
.why-atlas-graph-desc {
  color: #475569;
  font-size: 1.05rem;
  text-align: center;
  margin-bottom: 0.2rem;
}
.why-atlas-graph-legend {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  justify-content: center;
  margin: 0.7rem 0 0.2rem 0;
  font-size: 0.98rem;
}
.legend-line {
  display: inline-block;
  width: 32px;
  height: 4px;
  border-radius: 2px;
  margin-right: 0.3rem;
  vertical-align: middle;
}
.legend-traditional {
  background: #00cc66;
}
.legend-atlas {
  background: #ff0066;
}

/* Modern Chart Container */
.modern-chart-container {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.modern-chart-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #0094ff, #00d4ff, #ff6600);
  opacity: 0.6;
}

.modern-chart {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Enhanced SVG Animation styles */
.traditional-line-shadow {
  animation: drawLine 3s ease-in-out 0.5s forwards;
}

.traditional-line {
  animation: drawLine 3s ease-in-out 0.6s forwards;
}

.atlas-line-shadow {
  animation: drawLine 3s ease-in-out 2s forwards;
}

.atlas-line {
  animation: drawLine 3s ease-in-out 2.1s forwards;
  transition: stroke-width 0.3s ease, filter 0.3s ease;
}

.traditional-line {
  transition: stroke-width 0.3s ease, filter 0.3s ease;
}

/* Hover efektleri */
.modern-chart:hover .atlas-line {
  stroke-width: 6;
  filter: drop-shadow(0 0 10px rgba(255, 0, 102, 0.8));
  animation: none;
  stroke-dashoffset: 500;
  animation: drawLineHover 1.5s ease-in-out forwards;
}

.modern-chart:hover .traditional-line {
  stroke-width: 6;
  filter: drop-shadow(0 0 10px rgba(0, 204, 102, 0.8));
  animation: none;
  stroke-dashoffset: 500;
  animation: drawLineHover 1.5s ease-in-out forwards;
}

.modern-chart:hover .atlas-line-shadow {
  stroke-width: 8;
  animation: none;
  stroke-dashoffset: 500;
  animation: drawLineHover 1.5s ease-in-out forwards;
}

.modern-chart:hover .traditional-line-shadow {
  stroke-width: 8;
  animation: none;
  stroke-dashoffset: 500;
  animation: drawLineHover 1.5s ease-in-out forwards;
}

/* Chart container hover efekti */
.modern-chart-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

/* Hover animasyonu için yeni keyframe */
@keyframes drawLineHover {
  0% {
    stroke-dashoffset: 500;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

/* Animasyon sıfırlama için yardımcı class */
.reset-animation {
  animation: none !important;
  stroke-dashoffset: 500 !important;
}

/* Timeline Labels animation */
.traditional-timeline-label {
  animation: fadeInLabel 0.5s ease-out 3.5s forwards;
}

.atlas-timeline-label {
  animation: fadeInLabel 0.5s ease-out 4.5s forwards;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeInLabel {
  to {
    opacity: 1;
  }
}
.why-atlas-graph-axes {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 0.98rem;
  color: #64748b;
  margin-top: 0.2rem;
  padding: 0 0.5rem;
}
.why-atlas-graph-axes .y-axis {
  align-self: flex-start;
}
.why-atlas-graph-axes .x-axis {
  align-self: flex-end;
}
@media (max-width: 900px) {
  .why-atlas-container {
    flex-direction: column;
    gap: 2.5rem;
    align-items: stretch;
  }
  .why-atlas-right, .why-atlas-left {
    min-width: 0;
  }
  
  .why-atlas-title {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
  }
  
  .why-atlas-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .why-atlas-item {
    padding: 1.2rem;
    gap: 1.2rem;
  }
  
  .why-atlas-icon-container {
    width: 50px;
    height: 50px;
  }
  
  .why-atlas-icon {
    font-size: 1.2rem;
  }
  
  .why-atlas-content h3 {
    font-size: 1.2rem;
  }
  
  .why-atlas-content p {
    font-size: 0.95rem;
  }
}

/* MFA (Multi-Factor Authentication) Styles */
/* ========================================= */

/* Enhanced Admin User Info */
.admin-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    min-width: 300px;
    color: #ffffff !important; /* Strong white text */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.user-details {
    flex: 1;
}

.user-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
    color: #ffffff !important; /* Strong white text */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.user-name i {
    color: #ffffff !important; /* Strong white icons */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.admin-username {
    font-weight: 600;
    color: #ffffff !important; /* Strong white text */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
    font-size: 0.95rem;
}

.admin-role {
    font-size: 0.8rem;
    color: #ffffff !important; /* Strong white text */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
}

.security-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mfa-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.3) !important;
    color: #ffffff !important; /* Strong white text */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.admin-actions {
    display: flex;
    gap: 0.5rem;
}

.mfa-btn, .logout-btn {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    color: #ffffff !important; /* Strong white text */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
    border-radius: 8px;
    padding: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mfa-btn:hover {
    background: rgba(0, 0, 0, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    transform: translateY(-1px);
    color: #ffffff !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9) !important;
    color: #fff !important;
}

.logout-btn:hover {
    background: rgba(220, 38, 38, 0.8) !important;
    border-color: rgba(220, 38, 38, 0.8) !important;
    transform: translateY(-1px);
    color: #ffffff !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9) !important;
}

/* MFA Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 1800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
    margin: 0;
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.close-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

.modal-body {
    padding: 1.5rem;
}

/* MFA Setup Steps */
.mfa-step {
    text-align: center;
}

.mfa-step h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.mfa-step p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.mfa-step ul {
    text-align: left;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.mfa-step ul li {
    color: #374151;
    margin-bottom: 0.5rem;
}

/* QR Code Styles */
.qr-container {
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 2rem;
    margin: 1.5rem 0;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
}

.manual-entry {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.manual-entry p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #64748b;
}

.secret-code {
    background: #1e293b;
    color: #f1f5f9;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    letter-spacing: 1px;
    word-break: break-all;
    display: block;
}

/* MFA Form Styles */
#mfa-verification-form {
    margin-top: 1.5rem;
}

#verification-code {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1.1rem;
    text-align: center;
    letter-spacing: 3px;
    font-family: 'Courier New', monospace;
    margin-bottom: 1rem;
    transition: border-color 0.3s;
}

#verification-code:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Backup Codes */
.backup-codes {
    margin-top: 1.5rem;
    text-align: left;
}

.backup-codes h5 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.codes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.backup-code {
    background: #1e293b;
    color: #f1f5f9;
    padding: 0.5rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    text-align: center;
    letter-spacing: 1px;
}

.warning {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 0.75rem;
    color: #92400e;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.warning i {
    color: #f59e0b;
}

/* Security Status Card */
.security-status-card {
    background: #f0fdf4;
    border: 1px solid #22c55e;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.security-status-card h4 {
    color: #16a34a;
    margin-bottom: 0.5rem;
}

.security-status-card p {
    color: #15803d;
    margin: 0;
}

/* Security Actions */
.security-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: #3b82f6;
    color: #fff;
}

.btn-primary:hover:not(:disabled) {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-success {
    background: #10b981;
    color: #fff;
}

.btn-success:hover:not(:disabled) {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.btn-warning {
    background: #f59e0b;
    color: #fff;
}

.btn-warning:hover:not(:disabled) {
    background: #d97706;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.btn-danger {
    background: #ef4444;
    color: #fff;
}

.btn-danger:hover:not(:disabled) {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

/* MFA Verification Modal (Login) */
#mfa-verification.admin-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

#mfa-verification .admin-login-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#mfa-verification .admin-login-header {
    text-align: center;
    margin-bottom: 2rem;
}

#mfa-verification .admin-login-header h2 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

#mfa-verification .admin-login-header p {
    color: #6b7280;
    font-size: 0.95rem;
}

.mfa-options {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    gap: 0.5rem;
}

.link-button {
    background: none;
    border: none;
    color: #3b82f6;
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: underline;
    padding: 0.25rem;
    transition: color 0.2s;
}

.link-button:hover {
    color: #2563eb;
}

/* Text Color Utilities */
.text-success {
    color: #10b981 !important;
}

.text-danger {
    color: #ef4444 !important;
}

.text-warning {
    color: #f59e0b !important;
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Loading Spinner */
.fa-spinner {
    animation: spin 1s linear infinite;
}

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

/* Responsive Design for MFA */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body {
        padding: 1rem;
    }
    
    .codes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .security-actions {
        flex-direction: column;
    }
    
    .admin-user-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        min-width: auto;
    }
    
    .admin-actions {
        width: 100%;
        justify-content: flex-end;
    }
}
@media (max-width: 480px) {
    .modal-content {
        width: 100%;
        border-radius: 0;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .qr-container {
        padding: 1rem;
    }
    
    .qr-code {
        max-width: 150px;
    }
    
    #verification-code {
        letter-spacing: 2px;
        font-size: 1rem;
    }
    
    .backup-codes h5 {
        font-size: 0.9rem;
    }
}

/* Kompakt Filtreleme Stilleri */
.property-filters-compact {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 20px 0;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

/* Dark mode - emlak filtre kartı */
body.dark-mode .property-filters-compact {
    background: #020617;
    border-color: #111827;
    box-shadow: 0 18px 50px rgba(0,0,0,0.85);
}

body.dark-mode .filters-header {
    background: linear-gradient(135deg, #b91c1c, #7f1d1d);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #cc0000, #aa0000);
    color: white;
    cursor: pointer;
}

.filters-header .filter-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.toggle-filters {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.toggle-filters:hover {
    transform: scale(1.1);
}

.filters-content {
    padding: 20px;
    transition: all 0.3s ease;
}

.filters-content.collapsed {
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
}

.filters-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    align-items: end;
}

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

.filter-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.price-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.compact-select, .compact-input {
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    background: #fff;
    transition: all 0.3s ease;
    min-height: 42px;
}

body.dark-mode .compact-select,
body.dark-mode .compact-input {
    background: #020617;
    border-color: #1f2937;
    color: #e5e7eb;
}

body.dark-mode .compact-select::placeholder,
body.dark-mode .compact-input::placeholder {
    color: #9ca3af;
}

body.dark-mode .compact-select:disabled {
    background: #020617;
    color: #6b7280;
}

.compact-select:focus, .compact-input:focus {
    outline: none;
    border-color: #cc0000;
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
}

.compact-select:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.filter-actions {
    display: flex;
    align-items: end;
}

.clear-btn {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 12px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-btn:hover {
    background: #e9ecef;
    border-color: #cc0000;
    color: #cc0000;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .filters-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .price-group {
        grid-template-columns: 1fr;
    }
    
    .filters-header {
        padding: 12px 15px;
    }
    
    .filters-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .property-filters-compact {
        margin: 15px 0;
        border-radius: 8px;
    }
    
    .filters-header .filter-title {
        font-size: 1rem;
    }
    
    .compact-select, .compact-input {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
}

/* ============================================================
   MODAL ANIMATIONS
   ============================================================ */

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Fade Out Animation */
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Slide Up Animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   STORAGE MANAGEMENT MODAL - RESPONSIVE DESIGN
   ============================================================ */

/* Storage Management Modal Overlay */
.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(4px) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 10000 !important;
    padding: 1rem !important;
    animation: fadeIn 0.3s ease !important;
}

/* Modal Content Container */
.modal-overlay .modal-content {
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
    width: 100% !important;
    max-width: 900px !important; /* Daha büyük genişlik */
    max-height: 95vh !important; /* Daha büyük yükseklik */
    overflow-y: auto !important;
    animation: slideUp 0.3s ease !important;
    position: relative !important;
    margin: auto !important;
}

/* Property Form Modal - Scroll Fix */
.property-modal-content {
    max-height: 92vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    padding-right: 5px !important; /* Scrollbar için boşluk */
}

.property-modal-content .modal-body {
    max-height: calc(92vh - 120px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* Feature tabs container scroll */
.feature-tabs-container {
    max-height: 55vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 10px !important;
}

/* Modal Header */
.modal-overlay .modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e1e8ed;
    background: linear-gradient(135deg, #cc0000 0%, #a00000 100%);
    color: white;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-overlay .modal-header h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-overlay .modal-header h2 i {
    font-size: 1.2rem;
}

.modal-overlay .modal-close {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-overlay .modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Modal Body */
.modal-overlay .modal-body {
    padding: 2rem; /* Daha büyük padding */
}

/* Storage Stats Grid */
.storage-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.storage-stats .stat-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.25rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e1e8ed;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.storage-stats .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #cc0000, #ff6b6b);
}

.storage-stats .stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.15);
}

.storage-stats .stat-item i {
    font-size: 2rem;
    color: #cc0000;
    margin-bottom: 0.75rem;
    display: block;
}

.storage-stats .stat-item span {
    display: block;
    font-size: 0.95rem;
    color: #495057;
    line-height: 1.4;
}

.storage-stats .stat-item strong {
    color: #212529;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Storage Actions */
.storage-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.storage-actions .admin-btn {
    padding: 0.875rem 1.25rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    min-height: 48px;
}

.storage-actions .admin-btn {
    background: linear-gradient(135deg, #cc0000 0%, #a00000 100%);
    color: white;
}

.storage-actions .admin-btn:hover {
    background: linear-gradient(135deg, #a00000 0%, #800000 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(204, 0, 0, 0.3);
}

.storage-actions .admin-btn.secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
}

.storage-actions .admin-btn.secondary:hover {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
    box-shadow: 0 8px 20px rgba(108, 117, 125, 0.3);
}

.storage-actions .admin-btn.danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.storage-actions .admin-btn.danger:hover {
    background: linear-gradient(135deg, #c82333 0%, #a71e2a 100%);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
}

.storage-actions .admin-btn i {
    font-size: 1rem;
}

/* Storage Info */
.storage-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 2rem; /* Daha büyük padding */
    border-radius: 12px; /* Daha yuvarlak köşeler */
    border-left: 5px solid #2196f3; /* Daha kalın border */
    margin-top: 1.5rem;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15); /* Gölge efekti */
}

.storage-info h3 {
    color: #1976d2;
    margin-bottom: 1.5rem; /* Daha fazla margin */
    font-size: 1.2rem; /* Daha büyük font */
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.storage-info ul {
    margin: 0;
    padding-left: 1.5rem;
    color: #0d47a1;
    max-height: none; /* Yükseklik sınırını kaldır */
}

.storage-info li {
    margin-bottom: 0.75rem; /* Daha fazla spacing */
    line-height: 1.6; /* Daha iyi satır aralığı */
    font-size: 1rem; /* Daha büyük font */
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design for Storage Management */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 0.5rem;
        align-items: flex-start;
        padding-top: 1rem; /* Daha az üst boşluk */
    }
    
    .modal-overlay .modal-content {
        max-height: 98vh; /* Mobilde daha büyük */
        border-radius: 12px;
    }
    
    .modal-overlay .modal-header {
        padding: 1.25rem; /* Biraz daha büyük */
    }
    
    .modal-overlay .modal-header h2 {
        font-size: 1.3rem; /* Daha büyük başlık */
    }
    
    .modal-overlay .modal-body {
        padding: 1.5rem; /* Mobilde de yeterli padding */
    }
    
    .storage-stats {
        grid-template-columns: 1fr;
        gap: 1rem; /* Daha fazla gap */
        margin-bottom: 2rem;
    }
    
    .storage-stats .stat-item {
        padding: 1.25rem; /* Daha büyük padding */
    }
    
    .storage-stats .stat-item i {
        font-size: 1.75rem; /* Daha büyük ikonlar */
        margin-bottom: 0.75rem;
    }
    
    .storage-actions {
        grid-template-columns: 1fr;
        gap: 1rem; /* Daha fazla gap */
        margin-bottom: 2rem;
    }
    
    .storage-actions .admin-btn {
        padding: 1rem 1.25rem; /* Daha büyük butonlar */
        font-size: 0.95rem;
        min-height: 48px;
    }
    
    .storage-info {
        padding: 1.5rem; /* Mobilde de büyük padding */
    }
    
    .storage-info h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .storage-info li {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .modal-overlay {
        padding: 0.25rem;
        padding-top: 1rem;
    }
    
    .modal-overlay .modal-header {
        padding: 0.875rem;
    }
    
    .modal-overlay .modal-header h2 {
        font-size: 1.1rem;
    }
    
    .modal-overlay .modal-close {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .modal-overlay .modal-body {
        padding: 0.875rem;
    }
    
    .storage-stats .stat-item {
        padding: 0.875rem;
    }
    
    .storage-actions .admin-btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.85rem;
        min-height: 40px;
    }
    
    .storage-info {
        padding: 0.875rem;
    }
}

/* Storage Modal Body */
.storage-modal-body {
    padding: 2rem !important;
}

/* ============================================================
   END STORAGE MANAGEMENT MODAL STYLES
   ============================================================ */

/* ============================================================
   BULK IMPORT MODAL STYLES
   ============================================================ */

.bulk-import-content {
    padding: 1.5rem 0;
}

.import-mode-section,
.file-upload-section,
.json-editor-section,
.import-progress,
.import-results,
.debug-console {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.import-mode-section h4,
.file-upload-section h4,
.json-editor-section h4,
.import-progress h4,
.import-results h4,
.debug-console h4 {
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Import Mode Selection */
.mode-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mode-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mode-option:hover {
    border-color: #007bff;
    background: #f8f9fa;
}

.mode-option input[type="radio"] {
    margin-right: 0.75rem;
    transform: scale(1.2);
}

.mode-option input[type="radio"]:checked + span {
    color: #007bff;
    font-weight: 600;
}

.mode-option span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

/* File Upload Area */
.file-upload-area {
    border: 2px dashed #007bff;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-area:hover {
    background: #f8f9fa;
    border-color: #0056b3;
}

.file-upload-area.dragover {
    background: #e3f2fd;
    border-color: #0056b3;
    transform: scale(1.02);
}

.upload-content i {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 1rem;
    display: block;
}

.upload-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.upload-content small {
    color: #999;
    font-size: 0.9rem;
}

#file-select-btn {
    background: none;
    border: none;
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
}

#file-select-btn:hover {
    color: #0056b3;
}

/* File Info */
.file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-top: 1rem;
}

.file-info i {
    color: #28a745;
    font-size: 1.2rem;
}

.file-info span {
    flex: 1;
    font-weight: 500;
}

#remove-file {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

#remove-file:hover {
    background: #c82333;
}

/* JSON Editor */
.editor-toolbar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.toolbar-btn {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.toolbar-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.toolbar-btn.danger {
    background: #dc3545;
}

.toolbar-btn.danger:hover {
    background: #c82333;
}

#json-editor {
    width: 100%;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    resize: vertical;
    min-height: 300px;
}

#json-editor:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.json-status {
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    display: none;
}

.json-status.valid {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.json-status.invalid {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #28a745);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}

/* Import Results */
.results-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.result-card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    text-align: center;
}

.result-card.success {
    border-left-color: #28a745;
}

.result-card.error {
    border-left-color: #dc3545;
}

.result-card.warning {
    border-left-color: #ffc107;
}

.result-card h5 {
    margin-bottom: 0.5rem;
    color: #333;
}

.result-card .count {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
}

.result-card.success .count {
    color: #28a745;
}

.result-card.error .count {
    color: #dc3545;
}

.result-card.warning .count {
    color: #ffc107;
}

.error-list {
    max-height: 200px;
    overflow-y: auto;
    background: white;
    border-radius: 8px;
    padding: 1rem;
}

.error-item {
    padding: 0.75rem;
    border-left: 3px solid #dc3545;
    background: #f8f9fa;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Debug Console */
.toggle-debug {
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    font-size: 0.8rem;
    margin-left: auto;
}

.toggle-debug:hover {
    background: #5a6268;
}

.debug-output {
    background: #1a1a1a;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    padding: 1rem;
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
    white-space: pre-wrap;
    line-height: 1.4;
}

.debug-output::-webkit-scrollbar {
    width: 8px;
}

.debug-output::-webkit-scrollbar-track {
    background: #2a2a2a;
}

.debug-output::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

.debug-output::-webkit-scrollbar-thumb:hover {
    background: #777;
}

/* Animation for import progress */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.fa-spinner.fa-spin {
    animation: spin 1s linear infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bulk-import-content {
        padding: 1rem 0;
    }
    
    .import-mode-section,
    .file-upload-section,
    .json-editor-section,
    .import-progress,
    .import-results,
    .debug-console {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .mode-options {
        gap: 0.75rem;
    }
    
    .mode-option {
        padding: 0.75rem;
    }
    
    .file-upload-area {
        padding: 1.5rem 1rem;
    }
    
    .upload-content i {
        font-size: 2rem;
    }
    
    .editor-toolbar {
        gap: 0.25rem;
    }
    
    .toolbar-btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
    
    #json-editor {
        min-height: 200px;
        font-size: 0.8rem;
    }
    
    .results-summary {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .debug-output {
        font-size: 0.7rem;
        max-height: 200px;
    }
}

/* ============================================================
   END BULK IMPORT MODAL STYLES
   ============================================================ */

/* ============================================================
   MODERN SECURITY DASHBOARD - RESPONSIVE DESIGN
   ============================================================ */

/* Security Dashboard Container */
.security-dashboard {
    padding: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.security-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #28a745 0%, #20c997 25%, #ffc107 50%, #fd7e14 75%, #dc3545 100%);
}

.security-dashboard h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.security-dashboard h2 i {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
}

/* Security Stats Grid */
.security-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

/* Security Cards */
.security-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.security-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.security-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

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

.security-card i {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Card Specific Colors */
.security-card.active-sessions i {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.security-card.failed-attempts i {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

.security-card.mfa-enabled i {
    background: linear-gradient(135deg, #007bff 0%, #6f42c1 100%);
}

.security-card.threat-level i {
    background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
}

.security-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.security-info h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2c3e50;
    margin: 0;
    line-height: 1;
}

.security-info p {
    color: #6c757d;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Status Indicators */
.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: absolute;
    top: 1rem;
    right: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

.status-indicator.online {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.status-indicator.warning {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

.status-indicator.secure {
    background: linear-gradient(135deg, #007bff 0%, #6f42c1 100%);
}

.status-indicator.critical {
    background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
}

/* Security Events Section */
.security-events {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.events-header h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.events-header h3 i {
    color: #667eea;
}

.clear-logs-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.clear-logs-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
}

.events-container {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.event-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.event-item:hover {
    background: #e9ecef;
    transform: translateX(4px);
}

.event-item.loading {
    border-left-color: #007bff;
    animation: loadingPulse 1.5s infinite;
}

.event-item.success {
    border-left-color: #28a745;
}

.event-item.warning {
    border-left-color: #ffc107;
}

.event-item.error {
    border-left-color: #dc3545;
}

.event-item i {
    color: #667eea;
    font-size: 1.2rem;
}

/* Security Controls */
.security-controls {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.security-controls h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.security-controls h3 i {
    color: #667eea;
}

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

.control-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.control-card:hover {
    background: #e9ecef;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
}

.control-card label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    flex: 1;
}

.control-card label i {
    color: #667eea;
    font-size: 1.2rem;
}

/* Modern Toggle Switches */
.control-card input[type="checkbox"] {
    appearance: none;
    width: 50px;
    height: 26px;
    background: #ccc;
    border-radius: 13px;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.control-card input[type="checkbox"]:before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.control-card input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.control-card input[type="checkbox"]:checked:before {
    transform: translateX(24px);
}

/* Generate Report Button */
.generate-report-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.generate-report-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

@keyframes loadingPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Dark Theme Support */
@media (prefers-color-scheme: dark) {
    .security-dashboard {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        color: #ecf0f1;
    }
    
    .security-card {
        background: #34495e;
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .security-info h3 {
        color: #ecf0f1;
    }
    
    .security-events,
    .security-controls {
        background: #34495e;
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .event-item {
        background: #2c3e50;
    }
    
    .control-card {
        background: #2c3e50;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .security-dashboard {
        padding: 1.5rem;
    }
    
    .security-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .security-card {
        padding: 1.25rem;
    }
    
    .security-card i {
        font-size: 2rem;
        width: 60px;
        height: 60px;
    }
    
    .security-info h3 {
        font-size: 1.8rem;
    }
    
    .controls-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .events-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .security-dashboard h2 {
        font-size: 1.4rem;
    }
    
    .security-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .status-indicator {
        position: static;
        margin: 0 auto;
    }
    
    .control-card {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ============================================================
   END MODERN SECURITY DASHBOARD STYLES
   ============================================================ */

/* Property Details Modal - Override for wider display */
.property-modal .modal-content {
    max-width: 1800px !important;
}

/* Override thumbnail positioning from atlas-mobile-modals.css */
.property-modal .gallery-thumbnails {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 15px 0 0 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    z-index: 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 80px !important;
    height: auto !important;
}

/* Ensure thumbnails are visible and styled */
.property-modal .gallery-thumbnail {
    border-radius: 8px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    background: #f8f9fa !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 80px !important;
    height: 60px !important;
}

.property-modal .gallery-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure property image container doesn't overlap content */
.property-modal .property-image-container {
    position: relative !important;
    z-index: 1 !important;
}

/* Ensure description section is visible and above image */
.property-modal .description-section {
    position: relative !important;
    z-index: 10 !important;
    background: white !important;
    margin-top: 20px !important;
}

/* Ensure location section is visible */
.property-modal .location-section {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-top: 20px !important;
    padding: 12px 16px !important;
    background: #f8f9fa !important;
    border-radius: 10px !important;
    border-left: 4px solid #007bff !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Ensure property title is visible */
.property-modal .property-title {
    position: relative !important;
    z-index: 10 !important;
    background: white !important;
    margin-top: 20px !important;
}

/* Ensure location text is visible */
.property-modal .location-text {
    font-weight: 500 !important;
    color: #495057 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Security Detail Modal */
.security-detail-modal .modal-content {
    max-width: 500px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
}

.security-detail-modal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-bottom: none;
}

.security-detail-modal .modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.security-detail-modal .modal-body {
    padding: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: #e9ecef;
    transform: translateX(4px);
}

.detail-item i {
    color: #667eea;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.detail-item span {
    font-weight: 500;
    color: #2c3e50;
}

.event-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.event-message {
    font-weight: 500;
    color: #2c3e50;
}

.event-time {
    color: #6c757d;
    font-size: 0.85rem;
}

/* ============================================================
   END SECURITY DETAIL MODAL STYLES
   ============================================================ */

/* ============================================================
   GLOBAL DARK MODE THEME (INDEX + TEAM)
   ============================================================ */

/* Ana gövde */
body.dark-mode {
    background-color: #050509;
    color: #e5e7eb;
}

/* Header / nav */
body.dark-mode header {
    background-color: rgba(9, 10, 22, 0.96);
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}

body.dark-mode header.scrolled {
    background-color: rgba(9, 10, 22, 0.98);
    box-shadow: 0 4px 26px rgba(0, 0, 0, 0.75);
}

body.dark-mode header .nav-links a {
    color: #f9fafb !important;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

body.dark-mode header .nav-links a:hover {
    color: #f97373 !important;
    background: transparent !important;
}

body.dark-mode header .nav-links a.active {
    color: #fecaca !important;
}

/* Genel kartlar / kutular */
body.dark-mode .property-card,
body.dark-mode .feature-card,
body.dark-mode .stat-item,
body.dark-mode .info-card,
body.dark-mode .testimonial-card {
    background-color: #0b1020;
    border-color: #1f2937;
    color: #e5e7eb;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75);
}

body.dark-mode .property-card h3,
body.dark-mode .feature-card h3,
body.dark-mode .testimonial-header h3 {
    color: #f9fafb;
}

/* Hero / ana bölümler */
body.dark-mode .hero-section,
body.dark-mode .hero,
body.dark-mode .team-hero {
    background-color: #020617;
    color: #f9fafb;
}

/* Dark mode'da sadece team hero içeriğine özel arka plan ver,
   ana hero içeriği (.hero-content) için ekstra blok ekleme */
body.dark-mode .team-hero-content {
    background: radial-gradient(circle at 0% 0%, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.98));
    color: #f9fafb;
}

/* Butonlar */
body.dark-mode .btn,
body.dark-mode .primary-btn,
body.dark-mode .contact-btn.phone,
body.dark-mode .contact-btn.email {
    background: linear-gradient(135deg, #f97373, #e11d48);
    color: #fff;
    border-color: transparent;
}

body.dark-mode .btn.secondary,
body.dark-mode .secondary-btn {
    background: #020617;
    color: #e5e7eb;
    border-color: #1f2937;
}

/* Form alanları */
body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
    background-color: #020617;
    border-color: #1f2937;
    color: #e5e7eb;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: #6b7280;
}

/* Footer */
body.dark-mode footer {
    background-color: #020617;
    color: #9ca3af;
    border-top-color: #111827;
}

/* Küçük yardımcı sınıflar */
body.dark-mode .muted,
body.dark-mode .text-muted {
    color: #9ca3af;
}