﻿/* --- PÄ°LOT KARTLARI (%80 FOTO - %20 YAZI) --- */

.member-card {
    /* KartÄ±n Toplam YÃ¼ksekliÄŸi */
    height: 315px;
    
    /* 3px Gri Ã‡erÃ§eve */
    border: 3px solid #eee;
    
    background: #fff;
    background-clip: padding-box;
    border-radius: 20px;
    overflow: hidden;
    
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.6s ease, box-shadow 0.6s ease, border-color 0.7s ease;
    
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* --- HOVER EFEKTÄ° --- */
.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    
    /* Gradyan Ã‡erÃ§eve */
    border-color: transparent;
    background: linear-gradient(#fff, #fff) padding-box, 
                linear-gradient(135deg, #e60118 0%, #171717 100%) border-box;
}

/* --- RESÄ°M ALANI (%80) --- */
.member-card .pic {
    height: 75%;
    width: 100%;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    min-height: 0;
}

.member-card .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    padding: 0;
    background: transparent;
    
    /* ZOOM YOK */
    transition: none !important;
    transform: none !important;
}

.member-card .pic img[src="assets/img/DroneYariscilariSporkulubu.png"] {
    object-fit: contain;
    object-position: center center;
    padding: 8px;
    background: #fff;
}

/* --- YAZI ALANI (%20 - SOLDA Ä°SÄ°M, SAÄDA Ä°KON) --- */
/* --- YAZI ALANI DÃœZENÄ° --- */
.member-infopt {
    height: auto;
    min-height: 96px;
    margin-top: auto;
    padding: 0 14px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: static;
}

/* --- SOL KISIM (Ä°simler) --- */
.info-leftpt {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding-left: 6px;
}

/* Nickname (Ã‡Ä°ZGÄ° BURAYA GELECEK) */
.nicknamept {
    font-size: 16px;
    font-weight: 800;
    color: #222;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    line-height: 1.2;
    
    /* --- SÄ°HÄ°RLÄ° KODLAR BURADA --- */
    width: fit-content; /* YazÄ± ne kadarsa kutu o kadar olsun */
    position: relative; /* Ã‡izgi buna gÃ¶re konumlanacak */
    padding-bottom: 8px; /* YazÄ± ile Ã§izgi arasÄ±na boÅŸluk aÃ§tÄ±k */
}

/* Ã‡izgiyi "::after" ile ekliyoruz (YazÄ±ya yapÄ±ÅŸÄ±k gezer) */
.nicknamept::after {
    content: ""; /* BoÅŸ bir iÃ§erik oluÅŸtur */
    position: absolute; /* Serbest dolaÅŸÄ±m */
    left: 0; 
    bottom: 0; /* En alta yapÄ±ÅŸ */
    
    width: 100%; /* ÃœstÃ¼ndeki yazÄ± ne kadarsa o da %100 o kadar olsun */
    height: 3px; /* Ã‡izgi kalÄ±nlÄ±ÄŸÄ± */
    background-color: #e60118; /* KÄ±rmÄ±zÄ± renk */
    border-radius: 2px; /* KenarlarÄ± yuvarla */
}

/* ESKÄ° RED-LINE KUTUSUNU GÄ°ZLE (ArtÄ±k gerek yok) */
.red-linept {
    display: none; 
}

/* GerÃ§ek Ä°sim */
.real-namept {
    font-size: 13px;
    color: #505050;
    font-weight: 500;
    white-space: normal;
    margin-top: 2px; /* Ã‡izgiden biraz uzaklaÅŸsÄ±n */
    line-height: 1.2;
}

/* --- SAÄ KISIM (Ä°konlar) --- */
.social-rightpt {
    display: flex;
    gap: 6px;
    align-items: center;
    position: static;
}

.social-iconpt {
    width: 34px;
    height: 34px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e60118;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.88rem;
}

.social-iconpt:hover {
    background: #e60118;
    color: #fff;
    border-color: #e60118;
}

@media (max-width: 1199.98px) {
    .member-card {
        height: 350px;
    }
}

