/* Kankacım, Referanslarımız Sayfası (Detaylı ve Sanatsal) Stilleri - MAVİ & TURUNCU KONSEPT */

/* --- SAYFA BAŞLIĞI --- */
.page-header {
    background-color: #111;
    /* KANKACIM BURAYI GÜNCELLEDİK: Senin özel görselin buradan çekiliyor */
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../uploads/genelicerik/referans.png');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    text-align: center;
    color: white;
    margin-bottom: 80px;
    background-attachment: fixed;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.breadcrumb {
    font-size: 1.1rem;
    color: #ddd;
    background-color: rgba(0,0,0,0.6);
    display: inline-block;
    padding: 10px 30px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.breadcrumb a {
    /* Linkler TURUNCU (#e68f23) */
    color: #e68f23;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb span {
    margin: 0 10px;
    color: #fff;
}

/* --- GİRİŞ METNİ --- */
.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.intro-text h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    font-weight: 800;
    margin-bottom: 20px;
}

.intro-text p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* --- REFERANS GRID ALANI --- */
.references-page-section {
    padding-bottom: 100px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.ref-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 100px;
}

/* Referans Kartı */
.ref-card {
    background-color: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 15px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Animasyon Başlangıcı */
    opacity: 0;
    transform: translateY(30px);
}

/* Scroll Animasyonu */
.ref-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* KANKACIM İŞTE BURASI: Köşedeki üçgen MAVİ (#317da8) ve HEP GÖRÜNÜR */
.ref-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 80px;
    height: 80px;
    background-color: #317da8;
    transform: rotate(45deg);
    transition: all 0.4s ease;
    opacity: 1; /* Sabit görünür */
}

/* Hover'da üçgen biraz daha içeri girsin, hareket katsın */
.ref-card:hover {
    transform: translateY(-10px);
    /* Gölge MAVİ tint */
    box-shadow: 0 20px 40px rgba(49, 125, 168, 0.1);
    /* Kenarlık MAVİ */
    border-color: #317da8;
}

.ref-card:hover::before {
    top: -40px; /* Hafif aşağı kayar */
    right: -40px; /* Hafif sola kayar */
}

/* Logo Resmi */
.ref-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    filter: grayscale(0%);
}

.ref-card:hover img {
    transform: scale(1.15);
}

/* Placeholder */
.ref-placeholder {
    text-align: center;
    color: #ccc;
}

/* --- NEDEN BİZİ TERCİH ETTİLER? --- */
.why-us-section {
    background-color: #f9f9f9;
    padding: 80px 40px;
    border-radius: 20px;
    margin-bottom: 80px;
    text-align: center;
}

.why-header h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 50px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.why-item {
    background: #fff;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.why-item:hover {
    transform: translateY(-10px);
}

.why-icon {
    width: 70px;
    height: 70px;
    /* İkon arka planı MAVİ tint */
    background-color: rgba(49, 125, 168, 0.1);
    /* İkon rengi MAVİ (#317da8) */
    color: #317da8;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.why-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.why-item p {
    color: #666;
    font-size: 0.95rem;
}

/* --- CTA (AİLEMİZE KATILIN) --- */
.join-cta {
    background: linear-gradient(45deg, #1a1a1a, #333);
    border-radius: 20px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Arka plan dekoru - MAVİ (#317da8) */
.join-cta::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-color: #317da8;
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    opacity: 0.9;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.cta-content h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    color: #ccc;
}

.cta-button-wrapper {
    position: relative;
    z-index: 2;
}

.btn-join {
    /* Buton TURUNCU (#e68f23) olsun, aksiyon çağrısı */
    background-color: #e68f23;
    color: #ffffff;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    display: inline-block;
}

.btn-join:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    background-color: #fff;
    color: #e68f23;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .join-cta {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .join-cta::after {
        width: 100%;
        height: 150px;
        top: auto;
        bottom: 0;
        clip-path: polygon(0 40%, 100% 0, 100% 100%, 0% 100%);
    }
}

@media (max-width: 768px) {
    .ref-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .ref-card {
        height: 140px;
        padding: 20px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}