/* Markalar (Referanslar) Bölümü Stilleri */
.marka-card {
    position: relative;
    border-radius: 12px;
    overflow: visible;
    margin-bottom: 30px;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.marka-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.marka-img-container {
    position: relative;
    overflow: hidden;
    height: 220px;
    flex-shrink: 0;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid #e9ecef;
}

.marka-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
    background-color: #fff;
    padding: 15px;
    box-sizing: border-box;
}

.marka-card:hover .marka-img {
    transform: scale(1.08);
}

.marka-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 43, 120, 0.1) 0%, rgba(0, 121, 145, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.marka-card:hover .marka-overlay {
    opacity: 1;
}

.marka-content {
    padding: 25px 20px;
    background-color: #fff;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.marka-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2c3e50;
    transition: color 0.3s ease;
    height: 65px;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    line-height: 1.4;
    text-align: center;
    justify-content: center;
}

.marka-card:hover .marka-title {
    color: #3a2b78;
}

.marka-desc {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
    height: 60px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-align: center;
}

.marka-btn-container {
    margin-top: auto;
    text-align: center;
}

.marka-btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #3a2b78 0%, #007991 100%);
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    width: 80%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(58, 43, 120, 0.3);
}

.marka-btn:hover {
    background: linear-gradient(135deg, #007991 0%, #3a2b78 100%);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(58, 43, 120, 0.4);
}

.marka-icon {
    position: absolute;
    top: -30px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3a2b78 0%, #007991 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: 4px solid #fff;
}

.marka-card:hover .marka-icon {
    transform: rotate(360deg) scale(1.1);
    background: linear-gradient(135deg, #007991 0%, #3a2b78 100%);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Referans Badge */
.referans-badge {
    position: absolute;
    top: -8px;
    left: -8px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
    border: 2px solid #fff;
}

/* Markalar Başlık Stilleri */
.markalar-section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.markalar-main-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.markalar-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #3a2b78 0%, #007991 100%);
    border-radius: 2px;
}

.markalar-subtitle {
    font-size: 16px;
    color: #6c757d;
    font-weight: 400;
    margin-top: 20px;
}

/* Responsive Ayarlamalar */
@media (max-width: 991px) {
    .marka-img-container {
        height: 200px;
    }
    
    .marka-img {
        padding: 12px;
    }
    
    .marka-title {
        font-size: 17px;
        height: 60px;
    }
    
    .marka-content {
        padding: 20px 15px;
    }
}

@media (max-width: 767px) {
    .marka-img-container {
        height: 180px;
    }
    
    .marka-img {
        padding: 10px;
    }
    
    .marka-title {
        font-size: 16px;
        height: 55px;
    }
    
    .marka-desc {
        font-size: 13px;
        height: 50px;
        -webkit-line-clamp: 2;
    }
    
    .marka-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        top: -25px;
        right: 15px;
    }
    
    .marka-content {
        padding: 18px 15px;
    }
    
    .marka-btn {
        padding: 10px 20px;
        font-size: 13px;
        width: 90%;
    }
    
    .markalar-main-title {
        font-size: 28px;
    }
    
    .markalar-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .marka-img-container {
        height: 160px;
    }
    
    .marka-img {
        padding: 8px;
    }
    
    .marka-title {
        font-size: 15px;
        height: 50px;
    }
    
    .marka-desc {
        height: 45px;
        font-size: 12px;
    }
    
    .marka-content {
        padding: 15px 12px;
    }
    
    .markalar-main-title {
        font-size: 24px;
    }
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.marka-card {
    animation: fadeInUp 0.6s ease-out;
}

.marka-card:nth-child(1) { animation-delay: 0.1s; }
.marka-card:nth-child(2) { animation-delay: 0.2s; }
.marka-card:nth-child(3) { animation-delay: 0.3s; }
.marka-card:nth-child(4) { animation-delay: 0.4s; }
.marka-card:nth-child(5) { animation-delay: 0.5s; }
.marka-card:nth-child(6) { animation-delay: 0.6s; }

/* Hover Efektleri */
.marka-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(58, 43, 120, 0.05) 0%, rgba(0, 121, 145, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
    z-index: 1;
}

.marka-card:hover::before {
    opacity: 1;
}

.marka-card > * {
    position: relative;
    z-index: 2;
}
