/* --- REFERANSLAR ÖZEL TASARIMI (Minimalist & B2B) --- */
.sn-ref-section {
    padding: 80px 0 100px 0;
    background-color: #f4f6f8; /* Çok hafif grimsi/mavimsi premium ferah bir fon */
    min-height: 600px;
}

/* Farklı Bir Başlık Stili (Karanlık banner yerine tipografik ve temiz) */
.sn-ref-header {
    text-align: center;
    margin-bottom: 60px;
}
.sn-ref-subtitle {
    color: #1a8b41;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}
.sn-ref-title {
    color: #222222;
    font-size: 36px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
}
.sn-ref-divider {
    width: 60px;
    height: 3px;
    background-color: #1a8b41;
    margin: 20px auto 0 auto;
}

/* Logo Izgara (Grid) Kutuları */
.sn-ref-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none !important;
    height: 100%;
    border: 1px solid #eef0f2;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Kutunun Üzerine Gelme (Hover) Efekti */
.sn-ref-box:hover {
    background-color: #ffffff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-5px);
    border-color: #1a8b41;
}

/* Logo Görseli - Başlangıçta Gri ve Soluk (Bütün karmaşayı çözer) */
.sn-ref-box img {
    max-width: 100%;
    height: 170px;
    object-fit: contain;
    filter: grayscale(100%) opacity(50%); /* Kurumsal Gri Efekt */
    transition: all 0.4s ease;
    margin-bottom: 20px;
}

/* Hover anında logo orijinal rengine döner ve parlar */
.sn-ref-box:hover img {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.08);
}

/* Referans İsmi */
.sn-ref-name {
    color: #999999;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    transition: color 0.3s ease;
}

.sn-ref-box:hover .sn-ref-name {
    color: #1a8b41;
}


/* --- İÇ SAYFA ÜST BANNER (Sayfalar arası bütünlük için zorunlu) --- */
.sn-page-title-area {
    background-color: #1a222b !important;
    padding: 60px 0 !important;
    position: relative;
    width: 100%;
}
.sn-page-title {
    color: #ffffff !important;
    font-size: 36px !important;
    font-weight: 800 !important;
    margin-bottom: 15px !important;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.sn-breadcrumb {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
.sn-breadcrumb li {
    margin: 0 5px !important;
    color: #a0a5aa !important;
    font-size: 15px !important;
}
.sn-breadcrumb a {
    color: #a0a5aa !important;
    text-decoration: none !important;
}
.sn-breadcrumb a:hover {
    color: #1a8b41 !important;
}

/* --- REFERANS (PROJE) GALERİSİ ÖZEL TASARIMI --- */
.sn-project-section {
    padding: 80px 0;
    background-color: #f4f6f8; /* Ürün sayfasından farklı, çok hafif mavimsi gri bir B2B fonu */
}

/* Proje Başlığı (Ortalanmış ve Tok) */
.sn-project-header {
    text-align: center;
    margin-bottom: 50px;
}
.sn-project-subtitle {
    color: #1a8b41;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}
.sn-project-title {
    color: #222222;
    font-size: 30px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
}
.sn-project-divider {
    width: 50px;
    height: 3px;
    background-color: #1a8b41;
    margin: 20px auto 0 auto;
}

/* Mimari / Proje Kart Yapısı */
.sn-project-card {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    background-color: #000; /* Resim yüklenirken veya hoverda arka plan siyah olsun */
}

/* Gerçek Fotoğraflar Kutuyu Tamamen Doldursun (Sihir burada: object-fit: cover) */
.sn-project-img {
    width: 100%;
    height: 300px; /* Bütün proje fotoğraflarını aynı boyda jilet gibi keser */
    object-fit: cover; 
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0.95;
}

.sn-project-card:hover .sn-project-img {
    transform: scale(1.1);
    opacity: 0.6; /* Üzerine gelince resim hafif soluklaşıp kararır */
}

/* Proje Overlay (Tıklama Alanı) */
.sn-project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 2;
    text-decoration: none !important;
}

.sn-project-card:hover .sn-project-overlay {
    opacity: 1;
    visibility: visible;
}

/* İkon Tasarımı */
.sn-project-icon {
    width: 65px;
    height: 65px;
    background-color: rgba(26, 139, 65, 0.9); /* Şeffaf Tankomilk Yeşili */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sn-project-card:hover .sn-project-icon {
    transform: translateY(0); /* Hover olunca ikon aşağıdan yukarı yaylanarak çıkar */
}