/* Genel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --border-color: #dee2e6;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header ve Navbar */
header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* DOSYA: assets/css/style.css içindeki Logo Stilleri bölümünü bu kodla değiştirin */

/* ========== LOGO STİLLERİ - PROFESYONEL GÖRÜNÜM ========== */
/* Header ve Navbar - Güncellendi */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 0.5rem 0; /* Padding azaltıldı */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* PROFESYONEL LOGO STİLLERİ */
.logo-area {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Logo alanı küçülmesin */
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 8px 0;
}

/* ANA LOGO AYARLARI - BÜYÜK VE NET */
.logo-img {
    /* Büyük boyut */
    height: 80px; /* 50px'den 80px'e çıkarıldı */
    width: auto;
    max-width: 280px; /* Maksimum genişlik */
    
    /* Görüntü netliği */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    image-rendering: pixelated; /* Fallback */
    -webkit-font-smoothing: antialiased;
    
    /* Nesneni konumu */
    object-fit: contain;
    object-position: center;
    
    /* Geçiş efekti */
    transition: all 0.3s ease;
    
    /* Gölge efekti ile derinlik */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Logo hover efekti */
.logo-link:hover .logo-img {
    transform: scale(1.03);
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.15));
}

/* Alternatif: Logo + Text Kombinasyonu için */
.logo-with-text {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .company-name {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.logo-text .company-slogan {
    font-size: 12px;
    color: #7f8c8d;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Menü düzenlemesi - Logo büyüyünce menü düzeni */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem; /* Gap azaltıldı */
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem !important;
    white-space: nowrap;
}

/* Tablet görünümü (768px - 1024px) */
@media (max-width: 1024px) {
    .logo-img {
        height: 70px;
        max-width: 240px;
    }
    
    .navbar {
        padding: 0.7rem 0;
    }
    
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }
}

/* Mobil görünümü (768px ve altı) */
@media (max-width: 768px) {
    .logo-img {
        height: 60px;
        max-width: 200px;
    }
    
    .navbar .container {
        flex-wrap: wrap;
    }
    
    .nav-menu {
        width: 100%;
        justify-content: center;
        padding: 10px 0;
        border-top: 1px solid #eee;
        margin-top: 10px;
    }
}

/* Küçük mobil (480px ve altı) */
@media (max-width: 480px) {
    .logo-img {
        height: 50px;
        max-width: 160px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 8px;
    }
}

/* Yüksek çözünürlüklü ekranlar için */
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi),
       (min-resolution: 2dppx) {
    .logo-img {
        image-rendering: -webkit-optimize-contrast;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transform: translateZ(0);
    }
}

/* Admin buton ayarı logo büyüyünce */
.admin-btn {
    background: #ff6b35 !important;
    color: white !important;
    padding: 0.5rem 1rem !important; /* Biraz küçültüldü */
    border-radius: 25px !important;
    font-weight: 600 !important;
    transition: all 0.3s !important;
    white-space: nowrap;
    font-size: 1rem !important;
}

/* Menü */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem !important;
    display: inline-block;
    padding: 5px 10px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);
}

.admin-btn {
    background: #ff6b35 !important;
    color: white !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: all 0.3s !important;
    display: inline-block !important;
}

.admin-btn:hover {
    background: #e55a2b !important;
    transform: translateY(-2px);
}

/* Hero Bölümü */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.hero-content {
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 500;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Arama Kutusu */
.search-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 900px;
    margin: 0 auto;
}

.search-box form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.search-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.search-select,
.search-input {
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    min-width: 150px;
    flex: 1;
    max-width: 200px;
}

.search-btn {
    background: #1abc9c;
    color: white;
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 120px;
}

.search-btn:hover {
    background: #16a085;
    transform: translateY(-2px);
}

/* Özellikler Bölümü */
.features {
    background: white;
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    background: white;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* İlanlar Bölümü */
.properties {
    padding: 4rem 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* İlan Kartları */
.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.property-card a {
    text-decoration: none;
    color: inherit;
}

.property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.no-image {
    height: 200px;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
}

.no-image span {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: bold;
    color: white;
}

.property-badge.sale {
    background: var(--secondary-color);
}

.property-badge.rent {
    background: var(--accent-color);
}

.property-info {
    padding: 1.5rem;
}

.property-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.property-location {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.property-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.property-features span {
    background: var(--bg-light);
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    font-size: 0.9rem;
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.property-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
}

.property-view {
    color: var(--accent-color);
    font-weight: 500;
    transition: color 0.3s;
}

.property-card:hover .property-view {
    color: #2980b9;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: #ecf0f1;
}

/* Mobil Menü */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .search-box form {
        flex-direction: column;
    }
    
    .search-select,
    .search-input,
    .search-btn {
        width: 100%;
        max-width: 100%;
    }
    
    .property-grid {
        grid-template-columns: 1fr;
    }
}

/* Mesaj Bildirimleri */
.alert {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
    text-align: center;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* DETAY SAYFASI STILLERI - Sahibinden.com Tarzı */
.detail-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

/* Üst navigasyon */
.detail-nav {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.detail-nav a {
    color: #489ae9;
    text-decoration: none;
    font-size: 14px;
}

/* Ana başlık */
.detail-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
}

/* 3 kolonlu yapı */
.detail-grid {
    display: grid;
    grid-template-columns: 550px 1fr 280px;
    gap: 20px;
    margin-bottom: 20px;
}

/* Sol - Galeri */
.detail-gallery {
    background: white;
    padding: 15px;
    border-radius: 8px;
}

.gallery-main {
    width: 100%;
    height: 420px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.gallery-thumbs {
    display: flex;
    gap: 5px;
    overflow-x: auto;
}

.gallery-thumb {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    border-radius: 4px;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: #489ae9;
}

/* Orta - Bilgiler */
.detail-info {
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.detail-price {
    font-size: 32px;
    color: #ff6000;
    font-weight: bold;
    margin-bottom: 10px;
}

.detail-price-m2 {
    font-size: 14px;
    color: #666;
    background: #f5f5f5;
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.detail-table {
    width: 100%;
}

.detail-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.detail-table td {
    padding: 8px;
    font-size: 13px;
}

.detail-table td:first-child {
    color: #666;
    background: #fafafa;
    width: 40%;
}

/* Sağ - Danışman */
.detail-agent {
    background: white;
    padding: 15px;
    border-radius: 8px;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.agent-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.agent-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.agent-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.agent-info p {
    font-size: 13px;
    color: #666;
}

.agent-phone {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.2s;
}

.agent-phone:hover {
    background: #489ae9;
    color: white;
    border-color: #489ae9;
}

.agent-message {
    width: 100%;
    padding: 12px;
    background: #25d366;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

/* Alt açıklama bölümü */
.detail-description {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}

.detail-description h2 {
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #489ae9;
}

.detail-description p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

/* Responsive */
@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-agent {
        position: relative;
    }
}
/* ===== DETAIL SAYFASI DÜZELTMELERİ ===== */
/* Bu kodları style.css dosyasının EN SONUNA ekleyin */

/* Genel container düzeltmesi */
.detail-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px; /* Kenar boşlukları ekledik */
    box-sizing: border-box; /* Padding'i genişliğe dahil et */
}

/* Üst navigasyon düzeltmesi */
.detail-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
    background: white;
    border-bottom: 1px solid #e5e5e5;
    box-sizing: border-box;
}

/* Ana başlık düzeltmesi */
.detail-title {
    font-size: 24px;
    margin-bottom: 20px;
    padding: 0 10px;
    word-wrap: break-word; /* Uzun başlıkları kır */
}

/* 3 kolonlu grid düzeltmesi */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 350px 300px;
    gap: 20px;
    margin-bottom: 30px;
    box-sizing: border-box;
}

/* Galeri bölümü düzeltmesi */
.detail-gallery {
    background: white;
    border-radius: 8px;
    padding: 15px;
    position: relative;
    box-sizing: border-box;
    overflow: hidden; /* Taşmaları engelle */
}

.gallery-main {
    width: 100%;
    height: 400px;
    object-fit: contain; /* Resmi sığdır */
    background: #f5f5f5;
    border-radius: 5px;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto; /* Yatay scroll ekle */
    padding-bottom: 5px;
}

.gallery-thumb {
    min-width: 80px;
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid #e5e5e5;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: #489ae9;
}

/* Bilgi tablosu düzeltmesi */
.detail-info {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
}

.detail-price {
    font-size: 28px;
    color: #ff6000;
    font-weight: bold;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.detail-price-m2 {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.detail-table {
    width: 100%;
    font-size: 14px;
    table-layout: fixed; /* Sabit tablo genişliği */
}

.detail-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.detail-table td {
    padding: 10px 5px;
    vertical-align: middle;
    word-wrap: break-word; /* Uzun metinleri kır */
}

.detail-table td:first-child {
    color: #666;
    width: 40%;
}

.detail-table td:last-child {
    color: #333;
    font-weight: 500;
}

/* Danışman bölümü düzeltmesi */
.detail-agent {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
}

.agent-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.agent-avatar {
    width: 50px;
    height: 50px;
    background: #489ae9;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0; /* Küçülmeyi engelle */
}

.agent-info {
    flex: 1;
    min-width: 0; /* Taşmayı engelle */
}

.agent-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
    word-wrap: break-word;
}

.agent-info p {
    font-size: 13px;
    color: #666;
    word-wrap: break-word;
}

.agent-phone {
    display: block;
    background: #f8f9fa;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    text-align: center;
    transition: background 0.3s;
    word-wrap: break-word;
}

.agent-phone:hover {
    background: #e8f4fe;
}

.agent-message {
    width: 100%;
    background: #489ae9;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.agent-message:hover {
    background: #3a7ec7;
}

/* Açıklama bölümü düzeltmesi */
.detail-description {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-top: 20px;
    box-sizing: border-box;
}

.detail-description h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.detail-description p {
    line-height: 1.6;
    color: #555;
    word-wrap: break-word;
}

/* Responsive Düzeltmeler - Tablet */
@media (max-width: 1024px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .detail-gallery {
        order: 1;
    }
    
    .detail-info {
        order: 2;
    }
    
    .detail-agent {
        order: 3;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .gallery-main {
        height: 300px;
    }
}

/* Responsive Düzeltmeler - Mobil */
@media (max-width: 768px) {
    .detail-container {
        padding: 0 10px;
    }
    
    .detail-title {
        font-size: 20px;
    }
    
    .detail-price {
        font-size: 24px;
    }
    
    .gallery-main {
        height: 250px;
    }
    
    .gallery-thumb {
        min-width: 60px;
        width: 60px;
        height: 45px;
    }
    
    .detail-table {
        font-size: 13px;
    }
    
    .detail-table td {
        padding: 8px 5px;
    }
    
    .agent-info h3 {
        font-size: 15px;
    }
    
    .detail-description {
        padding: 20px 15px;
    }
    
    .detail-description h2 {
        font-size: 18px;
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 480px) {
    .detail-grid {
        gap: 10px;
    }
    
    .detail-gallery,
    .detail-info,
    .detail-agent,
    .detail-description {
        padding: 15px;
    }
    
    .gallery-main {
        height: 200px;
    }
    
    .detail-price {
        font-size: 20px;
    }
    
    .detail-table {
        font-size: 12px;
    }
}

/* Taşma engelleyici genel kurallar */
body {
    overflow-x: hidden; /* Yatay taşmayı engelle */
}

* {
    max-width: 100%; /* Hiçbir eleman %100'den geniş olmasın */
}

img {
    max-width: 100%;
    height: auto;
}
/* ========== LOGO SLOGAN STİLLERİ ========== */
.logo-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-slogan {
    position: relative;
    display: inline-block;
    background: #DC2626;
    padding: 8px 20px;
    transform: skewX(-10deg);
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
}

.logo-slogan::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 40px 0;
    border-color: transparent #DC2626 transparent transparent;
}

.slogan-text {
    color: white;
    font-size: 15px;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0.5px;
    display: inline-block;
    transform: skewX(10deg);
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    font-family: 'Arial', sans-serif;
}

.logo-area:hover .logo-slogan {
    background: #B91C1C;
    transform: skewX(-10deg) translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.4);
}
/* ========== LIGHTBOX (FOTOĞRAF BÜYÜTME) STİLLERİ ========== */
/* Bu kodları style.css dosyasının EN SONUNA ekleyin */

.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

/* Kontrol Butonları */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10000;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Fotoğraf sayacı */
.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    border-radius: 25px;
}

/* Detay sayfasındaki galeriye tıklanabilir cursor */
.gallery-main,
.gallery-thumb {
    cursor: pointer;
    transition: opacity 0.3s;
}

.gallery-main:hover,
.gallery-thumb:hover {
    opacity: 0.9;
}

/* Mobil için düzenlemeler */
@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 10px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .lightbox-counter {
        bottom: 20px;
        font-size: 14px;
    }
}