/* =========================================================
   AKGÜN İNŞAAT EMLAK - SADE & MODERN İLAN DETAY TASARIMI
   Göz Yormayan, Ferah ve Kurumsal Vitrin Mimarisi
   ========================================================= */

.property-detail-page {
    background-color: #f8fafc;
    color: #1e293b;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
}

/* 1. Sade & Ferah Header */
.prop-clean-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 24px 0 20px;
}

/* 2. Key Stats Strip (Kompakt ve Dengeli) */
.prop-stats-ribbon {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
    width: 100%;
}
.prop-stat-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.prop-stat-box:hover {
    border-color: #10b981;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
}
.prop-stat-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #ecfdf5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.prop-stat-info {
    overflow: hidden;
    min-width: 0;
    flex: 1;
}
.prop-stat-title {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #64748b;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.prop-stat-val {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

/* 3. Main Grid (2 Kolon) */
.prop-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
    width: 100%;
}
@media (max-width: 1024px) {
    .prop-main-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
}

/* 4. Fotoğraf Galerisi */
.prop-gallery-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    margin-bottom: 24px;
    overflow: hidden;
}
.prop-cover-frame {
    position: relative;
    width: 100%;
    height: 480px;
    background: #0f172a;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 10px;
}
@media (max-width: 768px) {
    .prop-cover-frame { height: 300px; }
}
.prop-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.prop-cover-frame:hover .prop-cover-img {
    transform: scale(1.015);
}
.prop-counter-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.8);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(6px);
    z-index: 5;
}
.prop-btn-fullscreen {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.8);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 5;
}
.prop-btn-fullscreen:hover {
    background: #10b981;
    color: #ffffff;
}

/* Thumbnails */
.prop-thumbs-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}
.prop-thumbs-strip::-webkit-scrollbar { height: 5px; }
.prop-thumbs-strip::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 10px; }
.prop-thumbs-strip::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

.prop-thumb-btn {
    flex: 0 0 96px;
    width: 96px;
    height: 68px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f8fafc;
    padding: 0;
}
.prop-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.prop-thumb-btn:hover {
    border-color: #94a3b8;
}
.prop-thumb-btn.active {
    border-color: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
}

/* 5. Clean Content Cards */
.prop-card-clean {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    margin-bottom: 24px;
    width: 100%;
}
.prop-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 20px;
    gap: 12px;
}
.prop-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}
.prop-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #ecfdf5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Specs Grid */
.prop-specs-matrix {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 16px;
    width: 100%;
}
@media (max-width: 768px) {
    .prop-specs-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .prop-specs-matrix { grid-template-columns: minmax(0, 1fr); }
}
.prop-spec-tile {
    display: flex;
    flex-direction: column;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    min-width: 0;
}
.prop-spec-k {
    font-size: 10px;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 2px;
}
.prop-spec-v {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* Description */
.prop-desc-body {
    font-size: 14px;
    line-height: 1.8;
    color: #334155;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: pre-line;
}
.prop-desc-body p { margin-bottom: 14px; }

/* 6. Sticky Sidebar (Lead Card) */
.prop-sticky-col {
    position: sticky;
    top: 90px;
    width: 100%;
}
.prop-consultant-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 24px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    width: 100%;
}
.prop-agent-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2px solid #10b981;
    object-fit: cover;
    margin: 0 auto 12px;
    display: block;
}

.prop-action-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 10px;
}
.prop-action-cta svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
}
.prop-cta-whatsapp {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}
.prop-cta-whatsapp:hover {
    background: #059669;
}
.prop-cta-phone {
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}
.prop-cta-phone:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* Inquiry Form */
.prop-input-light {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 13px;
    color: #0f172a;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}
.prop-input-light:focus {
    outline: none;
    border-color: #10b981;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}
.prop-input-light::placeholder { color: #94a3b8; }
.prop-submit-btn-light {
    width: 100%;
    background: #0f172a;
    color: #ffffff;
    padding: 12px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.prop-submit-btn-light:hover {
    background: #1e293b;
}

/* 7. Lightbox */
.prop-lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(3, 7, 18, 0.96);
    display: none;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    backdrop-filter: blur(12px);
}
.prop-lightbox-modal.active { display: flex; }
.prop-lightbox-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 16px 0;
    min-height: 0;
}
.prop-lightbox-img {
    max-height: calc(100vh - 160px);
    max-width: calc(100vw - 120px);
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}
@media (max-width: 640px) {
    .prop-lightbox-img { max-width: 100vw; }
}
.prop-lightbox-nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(30, 41, 59, 0.8);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: absolute;
}
.prop-lightbox-nav:hover {
    background: #10b981;
}
.prop-nav-l { left: 16px; }
.prop-nav-r { right: 16px; }

.coded-by-logo {
    filter: brightness(0) invert(1);
    opacity: 0.65;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}
.group:hover .coded-by-logo,
.coded-by-logo:hover {
    filter: none !important;
    opacity: 1 !important;
    transform: scale(1.06);
}
