/* ========================================================= */
/* --- ERKAP KAPI - WARM LUXURY ÜRÜN DETAY STİLLERİ (1500px) --- */
/* ========================================================= */

:root {
    --bg-main: #f5f2eb;          /* Ana Zemin: Sıcak Krem / Grej */
    --bg-card: #fdfbf7;          /* Kart Zemin: Fildişi */
    --bg-section: #eae4d8;        /* Bölüm Vizon Geçişi */
    
    --gold-primary: #b58d43;     /* Şampanya Altını */
    --gold-dark: #8c6a2a;        /* Koyu Kehribar */
    --gold-light: #d6b46e;
    --gold-gradient: linear-gradient(135deg, #d6b46e 0%, #b58d43 50%, #8c6a2a 100%);
    
    --text-dark: #2c2724;        /* Ahşap Antrasit */
    --text-body: #544d47;        /* Gövde Metni */
    --text-muted: #82786f;       /* İkincil Metin */
    
    --border-color: #e2d9cc;
    --border-gold: rgba(181, 141, 67, 0.35);
    --shadow-soft: 0 10px 30px rgba(70, 50, 20, 0.07);
    --shadow-hover: 0 18px 40px rgba(181, 141, 67, 0.18);
}

body {
    background-color: var(--bg-main);
    color: var(--text-body);
}

/* 1500px Sayfa Genişliği */
.detail-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 25px;
}

/* ========================================================= */
/* --- HERO / PAGE BANNER (ARKA PLAN RESMİLİ SAYFA BAŞLIĞI) --- */
/* ========================================================= */
.page-hero {
    position: relative;
    width: 100%;
    min-height: 280px;
    background: url('../uploads/kurumsal/hakkimizda.png') no-repeat center center / cover; /* Arka plan resmi yolu */
    background-color: #2c2724; /* Yedek koyu zemin */
    padding-top: 200px; /* Sabit Header çakışmasını engelleyen boşluk */
    padding-bottom: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-curtain-light {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(20, 18, 16, 0.72) 0%, rgba(20, 18, 16, 0.85) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1500px;
    width: 100%;
    padding: 0 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.page-hero .page-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.breadcrumb-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(253, 251, 247, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 13.5px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.breadcrumb-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.25s ease;
}

.breadcrumb-link:hover {
    color: var(--gold-light);
}

.breadcrumb-separator {
    color: var(--gold-primary);
    font-size: 11px;
}

.breadcrumb-current {
    color: var(--gold-light);
    font-weight: 700;
}

/* ========================================================= */
/* --- ÜRÜN DETAY GRID LAYOUT & GÖRSEL ALANI --- */
/* ========================================================= */
.product-detail-main {
    padding: 40px 0 80px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 580px 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 50px;
}

/* GALERİ SÜTUNU & KESİLMEYEN DİKEY KAPI ÇERÇEVESİ */
.detail-gallery-column {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.main-image-stage {
    position: relative;
    width: 100%;
    height: 620px; /* Dikey kapı için optimize edilmiş yükseklik */
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.main-image-stage img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* Görsel hiçbir şekilde kırpılmaz */
    display: block;
    transition: transform 0.4s ease;
}

.main-image-stage:hover img {
    transform: scale(1.03);
}

.detail-badge {
    position: absolute;
    top: 15px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.detail-badge.popular {
    left: 15px;
    background: #c0392b;
    color: #ffffff;
}

.detail-badge.ahsap {
    right: 15px;
    background: var(--gold-gradient);
    color: #ffffff;
}

/* KÜÇÜK RESİM ŞERİDİ */
.thumb-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.thumb-item {
    width: 85px;
    height: 95px;
    min-width: 85px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--border-color);
    background: #ffffff;
    transition: all 0.25s ease;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-item.active,
.thumb-item:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(181, 141, 67, 0.3);
}

.thumb-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* BİLGİ VE ETKİLEŞİM SÜTUNU */
.detail-info-column {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.category-badge-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.tag-line {
    width: 25px;
    height: 2px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

.category-badge-box i {
    color: var(--gold-primary);
    font-size: 14px;
}

.cat-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-main-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.25;
}

/* 4 ÖZEL NİTELİK KARTI GRID */
.static-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 35px;
}

.highlight-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.highlight-box:hover {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.icon-wrap {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    background: rgba(181, 141, 67, 0.12);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.text-wrap {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.text-wrap strong {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 700;
}

.text-wrap span {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* EYLEM BUTONLARI (WHATSAPP + TELEFON) */
.action-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 25px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
}

.btn-whatsapp:hover {
    background: #1eb856;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.28);
    transform: translateY(-2px);
}

.btn-phone {
    background: var(--gold-gradient);
    color: #ffffff;
}

.btn-phone:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
    opacity: 0.95;
}

/* AÇIKLAMA BÖLÜMÜ */
.product-description-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 50px;
}

.block-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.block-header.center {
    justify-content: center;
}

.block-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.block-title i {
    color: var(--gold-primary);
}

.description-content {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.8;
}

/* BENZER ÜRÜNLER */
.related-products-block {
    padding-top: 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.related-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.related-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold-primary);
}

.related-thumb {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.related-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.related-card:hover .related-thumb img {
    transform: scale(1.05);
}

.related-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.related-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 10px 0;
}

.related-more {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ÜRÜN BULUNAMADI KARTI */
.product-not-found-container {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.not-found-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: var(--shadow-soft);
}

.not-found-icon {
    font-size: 50px;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold-gradient);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 20px;
}

/* RESPONSIVE DÜZENLEMELER */
@media screen and (max-width: 1200px) {
    .product-detail-grid {
        grid-template-columns: 450px 1fr;
        gap: 30px;
    }
    .main-image-stage {
        height: 520px;
    }
}

@media screen and (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    .main-image-stage {
        height: 550px;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .page-hero {
        padding-top: 120px;
        min-height: 220px;
    }
    .page-hero .page-title {
        font-size: 24px;
    }
    .static-highlights-grid {
        grid-template-columns: 1fr;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .product-main-title {
        font-size: 26px;
    }
    .detail-info-column,
    .product-description-block {
        padding: 22px;
    }
}