/* ============================================================
   YesAy — Proje Detay Premium Stil
   ============================================================ */

/* ---- HERO BANNER ---- */
.proje-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}
@media (max-width: 768px) {
    .proje-hero { background-attachment: scroll; min-height: 55vh; }
}

.proje-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,15,28,.2)  0%,
        rgba(10,15,28,.45) 40%,
        rgba(10,15,28,.85) 80%,
        rgba(10,15,28,.95) 100%
    );
    z-index: 1;
}

.proje-hero-icerik {
    position: relative;
    z-index: 2;
    padding-bottom: 3.5rem;
    padding-top: 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.proje-hero-left { max-width: 700px; }

.proje-durum-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--gold);
    color: var(--navy);
    font-size: .75rem;
    font-weight: 700;
    padding: .3rem .9rem;
    border-radius: 20px;
    letter-spacing: .4px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.durum-dot {
    width: 7px; height: 7px;
    background: var(--navy);
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
    0%,100% { opacity:1; transform:scale(1); }
    50%      { opacity:.5; transform:scale(1.4); }
}

.proje-hero-baslik {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: .75rem;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.proje-hero-fiyat {
    display: flex;
    flex-direction: column;
    margin-bottom: .75rem;
}
.fiyat-label {
    font-size: .75rem;
    font-weight: 600;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.fiyat-deger {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 800;
    color: var(--gold);
    text-shadow: 0 1px 10px rgba(0,0,0,.2);
}

.proje-hero-konum {
    font-size: .9rem;
    color: rgba(255,255,255,.75);
    margin-bottom: .5rem;
}
.proje-hero-konum i { color: var(--gold); }

.proje-btn-wa {
    background: #25D366;
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    padding: .65rem 1.5rem;
    font-size: .9rem;
    border: none;
    transition: background .2s, transform .1s;
}
.proje-btn-wa:hover { background: #1da851; color: #fff; transform: translateY(-2px); }
.proje-btn-ara {
    background: rgba(255,255,255,.15);
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    padding: .65rem 1.5rem;
    font-size: .9rem;
    border: 1.5px solid rgba(255,255,255,.4);
    backdrop-filter: blur(4px);
    transition: background .2s;
}
.proje-btn-ara:hover { background: rgba(255,255,255,.25); color: #fff; }

.proje-hero-foto-sayisi {
    align-items: center;
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.8);
    border: 1px solid rgba(255,255,255,.2);
    backdrop-filter: blur(6px);
    padding: .5rem 1rem;
    border-radius: 8px;
    font-size: .8rem;
    cursor: pointer;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 1rem; left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255,255,255,.5);
    font-size: 1.5rem;
    animation: bounce-down 2s infinite;
}
@keyframes bounce-down {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}

/* ---- İSTATİSTİK ÇUBUĞU ---- */
.proje-stats-bar {
    background: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    padding: 0;
    position: relative;
    z-index: 10;
}
.proje-stats-grid {
    display: grid;
    grid-template-columns: repeat(var(--cols, 4), 1fr);
    border-left: 1px solid #f0f0f0;
}
@media (max-width: 991px)  { .proje-stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px)  { .proje-stats-grid { grid-template-columns: repeat(2, 1fr); } }

.proje-stat-kutu {
    padding: 1.25rem 1.25rem;
    border-right: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
    transition: background .2s;
}
.proje-stat-kutu:hover { background: #fafbff; }
.psk-ikon {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: .35rem;
}
.psk-etiket {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #999;
    margin-bottom: .25rem;
}
.psk-deger {
    font-size: .95rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

/* ---- BÖLÜMLER ---- */
.proje-bolum {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.proje-bolum-baslik {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy);
    padding-bottom: .75rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid var(--gold);
    display: flex;
    align-items: center;
}
.proje-bolum-baslik i { color: var(--gold); }
.proje-aciklama-metin {
    color: #555;
    line-height: 1.9;
    font-size: .95rem;
}

/* ---- GALERİ ---- */
.proje-galeri-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: .5rem;
    border-radius: 12px;
    overflow: hidden;
}
@media (max-width: 575px) {
    .proje-galeri-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
}

.pgrid-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: zoom-in;
}
.pgrid-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .35s;
}
.pgrid-item:hover img { transform: scale(1.06); }

/* İlk fotoğraf büyük (2 kolon span) */
.pgrid-buyuk {
    grid-column: span 2;
    grid-row: span 2;
    border-radius: 8px;
}

/* Video thumbnail özel stil */
.pgrid-video {
    grid-column: span 2;
    cursor: pointer;
}
.pgrid-play {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background: rgba(0,0,0,.4);
    color: #fff;
    gap: .5rem;
    transition: background .2s;
}
.pgrid-video:hover .pgrid-play { background: rgba(0,0,0,.55); }
.play-daire {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    color: var(--navy);
    transition: transform .2s;
}
.pgrid-video:hover .play-daire { transform: scale(1.1); }
.pgrid-play > span {
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .5px;
}

/* Son fotoğraf "daha fazla" overlay */
.pgrid-daha {
    position: absolute; inset: 0;
    background: rgba(27,42,74,.7);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}

/* ---- SOSYAL DONATILAR ---- */
.donati-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: .75rem;
}
.donati-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: #f5f7ff;
    border-radius: 10px;
    padding: .7rem 1rem;
    font-size: .88rem;
    font-weight: 500;
    color: var(--navy);
    border: 1px solid #e8ecf8;
    transition: all .2s;
}
.donati-item:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.donati-item i {
    font-size: 1.1rem;
    color: var(--gold);
    flex-shrink: 0;
}
.donati-item:hover i { color: var(--gold); }

/* ---- ÖDEME SEÇENEKLERİ ---- */
.odeme-liste { display: flex; flex-direction: column; gap: .5rem; }
.odeme-item {
    background: #f8f9fc;
    border-left: 3px solid var(--gold);
    padding: .75rem 1rem;
    border-radius: 0 8px 8px 0;
    font-size: .9rem;
    color: #444;
    font-weight: 500;
}

/* ---- HARİTA ---- */
.harita-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.harita-wrapper iframe {
    width: 100%;
    height: 320px;
    border: 0;
    display: block;
}

/* ---- DANIŞMAN KARTI ---- */
.danisan-kart-sticky { position: sticky; top: 88px; }

.danisan-kart {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(27,42,74,.12);
    overflow: hidden;
    border: 1px solid rgba(27,42,74,.06);
}
.danisan-kart-top {
    height: 6px;
    background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 100%);
}

.danisan-foto {
    width: 160px; height: 160px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin: 0 auto;
    border: 4px solid var(--gold);
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
    aspect-ratio: 1 / 1;
}
.danisan-avatar {
    width: 160px; height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    color: var(--gold);
    font-size: 3.4rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 16px rgba(27,42,74,.2);
}
.danisan-adi {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy);
    margin-top: .25rem;
}
.danisan-unvan {
    font-size: .8rem;
    color: #888;
    margin-bottom: .4rem;
}
.danisan-belge {
    display: inline-flex;
    align-items: center;
    background: rgba(212,168,83,.1);
    color: var(--gold-2, #b8890a);
    border: 1px solid rgba(212,168,83,.3);
    padding: .25rem .7rem;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 700;
}

.danisan-proje-ozet {
    background: #f8f9fc;
    border-top: 1px solid #f0f0f0;
    padding: .75rem 1.25rem;
}
.ozet-baslik { font-size: .82rem; font-weight: 700; color: var(--navy); }
.ozet-fiyat  { font-size: .78rem; color: var(--gold-2, #b8890a); font-weight: 600; }

.danisan-btn-wa {
    background: #25D366;
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    padding: .7rem 1rem;
    font-size: .9rem;
    transition: background .2s, transform .1s;
}
.danisan-btn-wa:hover { background: #1da851; color: #fff; transform: translateY(-1px); }
.danisan-btn-ara {
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    padding: .7rem 1rem;
    font-size: .9rem;
    transition: background .2s;
}
.danisan-btn-ara:hover { background: var(--navy-2, #2d4578); color: #fff; }
.danisan-saat { font-size: .72rem; color: #aaa; }

.danisan-guvence {
    display: flex;
    border-top: 1px solid #f0f0f0;
}
.guvence-item {
    flex: 1;
    text-align: center;
    padding: .7rem .5rem;
    font-size: .72rem;
    font-weight: 600;
    color: #666;
    border-right: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: .2rem;
    align-items: center;
}
.guvence-item:last-child { border-right: none; }
.guvence-item i { font-size: 1rem; color: var(--gold); }

.fiyat-banner {
    background: linear-gradient(135deg, var(--navy), var(--navy-2, #2d4578));
    border-radius: 14px;
    padding: 1rem 1.25rem;
    text-align: center;
    color: #fff;
    box-shadow: 0 4px 16px rgba(27,42,74,.2);
}
.fiyat-banner-label { font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.6);
                      text-transform: uppercase; letter-spacing: .5px; }
.fiyat-banner-deger { font-size: 1rem; font-weight: 800; color: var(--gold); margin-top: .2rem; }

/* ---- MOBİL DANIŞMAN ÇUBUĞU ---- */
.mobil-danisan-cubugu {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 900;
    background: #fff;
    border-top: 2px solid #e0e4ef;
    padding: .7rem 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,.1);
}
.mobil-danisan-cubugu .flex-1 { flex: 1; }
.mobil-danisan-cubugu .danisan-btn-wa,
.mobil-danisan-cubugu .danisan-btn-ara {
    padding: .45rem .9rem;
    font-size: .82rem;
    border-radius: 8px;
}

/* Mobilde alt çubuk için body padding */
@media (max-width: 991px) {
    body { padding-bottom: 64px; }
}
