/* ====================================================
   YAPALI - PROJELERİMİZ SAYFASI ULTRA PREMIUM CSS
   ==================================================== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --pr-dark-blue:  #002277;
    --pr-light-blue: #0cacf0;
    --pr-bg-color:   #f8fafc;
    --font-display:  'Bebas Neue', 'Arial Black', sans-serif;
    --font-body:     'Inter', system-ui, sans-serif;
}

/* ── HERO (ÜST ALAN) ── */
.pr-hero {
    position: relative;
    height: 520px;
    background: url('../uploads/projelerliste/projeliste.png') no-repeat center center / cover;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px;
    font-family: var(--font-body);
}

.pr-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0.96) 0%,
        rgba(240,248,255,0.90) 30%,
        rgba(220,238,255,0.55) 55%,
        rgba(200,228,255,0.10) 75%,
        transparent 100%
    );
    z-index: 1;
}

.pr-hero-line {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, var(--pr-light-blue), var(--pr-dark-blue));
    z-index: 2;
}

.pr-hero-container {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.pr-hero-breadcrumb {
    display: flex; align-items: center; gap: 8px; margin-bottom: 22px;
    font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #5a7a9a;
}
.pr-hero-breadcrumb a { color: #5a7a9a; text-decoration: none; transition: color 0.2s; }
.pr-hero-breadcrumb a:hover { color: var(--pr-light-blue); }
.pr-hero-breadcrumb i { font-size: 9px; color: var(--pr-light-blue); }
.pr-hero-breadcrumb span:last-child { color: var(--pr-light-blue); }

.pr-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 800;
    letter-spacing: 3px; text-transform: uppercase; color: var(--pr-light-blue); margin-bottom: 16px;
}
.pr-hero-eyebrow::before { content: ''; display: block; width: 28px; height: 2px; background: var(--pr-light-blue); }

.pr-hero-title {
    font-family: var(--font-display); font-size: 4.6rem; line-height: 0.95;
    color: var(--pr-dark-blue); letter-spacing: 2px; margin: 0;
}

/* ── PROJELER LİSTELEME ALANI ── */
.pr-grid-section {
    padding: 120px 0;
    background-color: var(--pr-bg-color);
    font-family: var(--font-body);
}

.pr-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.pr-section-header { text-align: center; margin-bottom: 70px; }
.pr-section-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase;
    color: var(--pr-light-blue); margin-bottom: 16px;
}
.pr-section-eyebrow::before, .pr-section-eyebrow::after {
    content: ''; display: block; width: 24px; height: 1px; background: var(--pr-light-blue); opacity: 0.5;
}
.pr-section-title {
    font-family: var(--font-display); font-size: 3.4rem; line-height: 1;
    color: var(--pr-dark-blue); letter-spacing: 1px; margin: 0;
}
.pr-accent { color: var(--pr-light-blue); }

/* ── BÜYÜTÜLMÜŞ KART GRID SİSTEMİ ── */
.pr-grid {
    display: grid;
    /* Kartların genişliği masaüstünde minimum 420px olacak şekilde ayarlandı (Çok görkemli durur) */
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 40px;
}

/* ── PREMIUM BÜYÜK KART TASARIMI (4:3 ORAN) ── */
.pr-card {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    background: var(--pr-dark-blue);
    aspect-ratio: 4 / 3; /* Sinematik Dikdörtgen Format */
    box-shadow: 0 15px 40px rgba(0, 34, 119, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.pr-card-img {
    width: 100%;
    height: 100%;
    position: relative;
}

.pr-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pr-no-img {
    width: 100%; height: 100%; background: #e2e8f0;
    display: flex; justify-content: center; align-items: center;
    font-size: 4rem; color: #cbd5e1;
}

/* Sinematik Degrade Overlay */
.pr-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 21, 74, 0.95) 0%, rgba(0, 34, 119, 0.4) 50%, transparent 100%);
    opacity: 0.85;
    transition: opacity 0.4s ease, background 0.4s ease;
}

/* ── KART İÇİ METİN ALANLARI ── */
.pr-card-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 45px 35px 35px 35px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transform: translateY(15px); /* Hafif aşağıda bekler */
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pr-card-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.pr-card-slogan {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin: 0 0 20px 0;
    line-height: 1.5;
    font-weight: 500;
    opacity: 0.9;
}

/* Projeyi İncele Linki */
.pr-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    color: var(--pr-light-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}
.pr-card-btn svg { width: 16px; height: 16px; }

/* HOVER (MOU ÜZERİNE GELİNCE) REAKSİYONLARI */
.pr-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 34, 119, 0.18);
}
.pr-card:hover .pr-card-img img {
    transform: scale(1.08);
}
.pr-card:hover .pr-card-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 21, 74, 0.98) 0%, rgba(12, 172, 240, 0.4) 100%);
}
.pr-card:hover .pr-card-content {
    transform: translateY(0); /* İçerik yukarı kayar */
}
.pr-card:hover .pr-card-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Boş Durum Hali */
.pr-empty-state {
    grid-column: 1 / -1; text-align: center; padding: 80px 0; color: #64748b;
}
.pr-empty-state i { font-size: 3.5rem; margin-bottom: 20px; color: #cbd5e1; }

/* ── SCROLL REVEAL ANİMASYONU ── */
.pr-reveal { opacity: 0; transform: translateY(35px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.pr-reveal.pr-visible { opacity: 1; transform: translateY(0); }

/* ====================================================
   YÜZDE YÜZ MOBİL UYUM (RESPONSIVE)
   ==================================================== */
@media (max-width: 1024px) {
    .pr-grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 30px; }
    .pr-hero-title { font-size: 3.6rem; }
}

@media (max-width: 768px) {
    .pr-hero { height: 420px; padding-top: 60px; }
    .pr-hero-container { padding: 0 20px; }
    .pr-hero-title { font-size: 2.6rem; }
    
    .pr-grid-section { padding: 80px 0; }
    .pr-container { padding: 0 20px; }
    .pr-section-title { font-size: 2.3rem; }
    
    /* Mobilde tam uyum için tekli dizilim */
    .pr-grid { grid-template-columns: 1fr; gap: 25px; }
    .pr-card { aspect-ratio: 4 / 3; } /* Dikdörtgen kalarak görselleri korur */
    
    /* Mobilde hover olamayacağı için animasyonları sabitliyoruz */
    .pr-card-content { transform: translateY(0); padding: 30px 20px; }
    .pr-card-btn { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .pr-card { aspect-ratio: 1 / 1; } /* Çok küçük telefonlarda kare kalarak alanı dengeler */
    .pr-card-title { font-size: 1.6rem; }
    .pr-card-slogan { font-size: 0.85rem; margin-bottom: 15px; }
}