/* Referans / müşteri proje detayı — Musteri-Detay.aspx */

body.home-nav-sticky {
    padding-top: var(--home-header-h, 72px);
}

/* Header altı + general.css breadcrumb ortalamasını geçersiz kıl */
body.blog-page .page-musteriler.page-ref-detay {
    padding-top: clamp(66px, 10vw, 94px);
    padding-bottom: 3rem;
}
body.blog-page.home-nav-sticky .page-musteriler.page-ref-detay {
    padding-top: 0;
}
body.blog-page .page-ref-detay .inner-page-breadcrumb {
    text-align: left;
    background: #fff !important;
    border-bottom: 1px solid #e8e8e8;
    padding: 1rem 0 !important;
}
body.blog-page .page-ref-detay .inner-page-breadcrumb .container {
    text-align: left;
    max-width: 1180px;
}
.page-ref-detay {
    background: #f4f6f8;
}
.page-ref-detay .inner-page-breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem;
    font-size: 0.92rem;
}
.page-ref-detay .inner-page-breadcrumb li + li::before {
    content: "/";
    margin-right: 0.35rem;
    color: #aaa;
}
.page-ref-detay .inner-page-breadcrumb a {
    color: #666;
    text-decoration: none;
}
.page-ref-detay .inner-page-breadcrumb a:hover { color: #c69c6d; }
.page-ref-detay .inner-page-breadcrumb li[aria-current="page"] {
    color: #c69c6d;
    font-weight: 600;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-ref-detay .ref-detail-layout {
    padding-top: 2rem;
    max-width: 1180px;
}

/* Makale kartı */
.ref-detail-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
    border: 1px solid #e8ecef;
    margin-bottom: 1.5rem;
}
/* main.css `header { position:absolute; width:100% }` — site üst menüsü; kart başlığı değil */
.page-ref-detay .ref-detail-header {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    z-index: auto;
    background: transparent;
    border-bottom: none;
    padding: 1.75rem 2rem 0;
}
.ref-detail-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a67c4d;
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.75rem;
    border: 1px solid rgba(198, 156, 109, 0.35);
    border-radius: 999px;
    background: rgba(198, 156, 109, 0.08);
}
.ref-detail-card h1 {
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    font-weight: 800;
    color: #1e2d3a;
    line-height: 1.25;
    margin: 0 0 1rem;
}
.ref-detail-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    font-size: 0.88rem;
    color: #777;
    margin-bottom: 1.5rem;
}
.ref-detail-meta-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ref-detail-meta-row i { color: #c69c6d; }

.ref-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    padding: 0 2rem 2rem;
    align-items: start;
}
.ref-detail-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    background: linear-gradient(145deg, #f8f9fa 0%, #eef1f4 100%);
    border-radius: 14px;
    border: 1px solid #e8ecef;
    padding: 2rem;
}
.ref-detail-visual img {
    max-width: 100%;
    max-height: 320px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.08));
}

.ref-detail-info-panel {
    background: #f8f9fa;
    border-radius: 14px;
    border: 1px solid #e8ecef;
    padding: 1.5rem 1.35rem;
}
.ref-detail-info-panel h2 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a67c4d;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(198, 156, 109, 0.35);
}
.ref-detail-specs {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ref-detail-specs li {
    padding: 0.65rem 0;
    border-bottom: 1px solid #e8ecef;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #444;
}
.ref-detail-specs li:last-child { border-bottom: none; }
.ref-detail-specs strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin-bottom: 0.2rem;
    font-weight: 600;
}
.ref-detail-specs a {
    color: #a67c4d;
    font-weight: 600;
    word-break: break-all;
    text-decoration: none;
}
.ref-detail-specs a:hover {
    color: #c69c6d;
    text-decoration: underline;
}
.ref-detail-specs a i { margin-left: 4px; font-size: 0.85em; }

.ref-detail-body {
    padding: 0 2rem 2rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}
.ref-detail-body p { margin: 0 0 1.1rem; }
.ref-detail-body h2,
.ref-detail-body h3 {
    color: #1e2d3a;
    margin: 1.5rem 0 0.75rem;
    font-weight: 700;
}
.ref-detail-body ul,
.ref-detail-body ol {
    margin: 0 0 1.1rem 1.25rem;
}
.ref-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* main.css `footer { background:#000; padding-top:80px }` — article içi alt alan */
.page-ref-detay .ref-detail-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 2rem !important;
    margin: 0;
    border-top: 1px solid #eee;
    background: #fafbfc !important;
    background-color: #fafbfc !important;
    text-align: left !important;
}
.ref-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ref-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(145deg, #c69c6d 0%, #a67c4d 100%);
    color: #fff !important;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.ref-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(198, 156, 109, 0.4);
    color: #fff !important;
}
.ref-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border: 2px solid #c69c6d;
    color: #a67c4d !important;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.ref-btn-outline:hover {
    background: #c69c6d;
    color: #fff !important;
}
.ref-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #666 !important;
    text-decoration: none;
    font-size: 0.95rem;
}
.ref-back-link:hover { color: #a67c4d !important; }

/* İlgili projeler */
.ref-related-section {
    margin-top: 0.5rem;
}
.ref-related-section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e2d3a;
    text-align: center;
    margin: 0 0 0.35rem;
}
.ref-related-lead {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin: 0 0 1.75rem;
}
.ref-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.ref-related-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8ecef;
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.ref-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}
.ref-related-card-img {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f2f5;
    padding: 1.25rem;
}
.ref-related-card-img img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}
.ref-related-card-body {
    padding: 1rem 1.15rem 1.15rem;
    flex: 1;
}
.ref-related-card-body h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 0.35rem;
    line-height: 1.35;
}
.ref-related-card-body span {
    font-size: 0.82rem;
    color: #c69c6d;
    font-weight: 600;
}

/* CTA */
.ref-detail-cta {
    margin-top: 2rem;
    background: linear-gradient(135deg, #141414 0%, #2a2a2a 50%, #1c1c1c 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    color: #fff;
}
.ref-detail-cta h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #fff;
}
.ref-detail-cta p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 1.25rem;
    line-height: 1.6;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.ref-not-found {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8ecef;
}
.ref-not-found h1 { font-size: 1.5rem; margin-bottom: 1rem; }
.ref-not-found p { color: #666; margin-bottom: 1.5rem; }

@media (max-width: 991px) {
    .ref-detail-grid { grid-template-columns: 1fr; }
    .ref-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .ref-detail-header,
    .ref-detail-grid,
    .ref-detail-body,
    .ref-detail-footer { padding-left: 1.25rem; padding-right: 1.25rem; }
    .ref-related-grid { grid-template-columns: 1fr; }
    .ref-detail-footer { flex-direction: column; align-items: stretch; }
    .ref-detail-actions { flex-direction: column; }
    .ref-btn-primary,
    .ref-btn-outline { justify-content: center; }
}
