﻿
/* Genel resim ayarları */
.team-img img {
    width: 100%; /* Resmin bulunduğu konteynırın genişliği kadar genişlik */
    height: 250px; /* Sabit bir yükseklik */
    object-fit: contain; /* Resmi bozmadan kırpma */
    border-radius: 5px; /* Köşeleri hafif yuvarlayabilirsiniz, isteğe bağlı */
}

.blog-text p {
    max-height: 100px; /* Yüksekliği sınırlıyoruz */
    overflow: hidden; /* Taşan metni gizle */
    text-overflow: ellipsis; /* "..." ekle */
    word-wrap: break-word; /* Uzun kelimeleri böl */
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Maksimum 4 satır göster */
    -webkit-box-orient: vertical;
}
.fixed-alert {
    position: fixed; /* Ekranın üstüne sabitler */
    top: 0;
    left: 0;
    width: 100%; /* Genişliği ekranın tamamını kaplar */
    z-index: 9999; /* Diğer elementlerin önünde gösterir */
    border-radius: 0; /* Köşeleri düzleştirir */
}
.blog-title, .blog-description {
    word-break: break-word !important; /* Bu, kelimelerin uzunluğuna göre taşmasını engeller */
    white-space: normal !important; /* Satırın içine sığmayan kelimeleri kır */
    overflow-wrap: anywhere !important; /* Kelimelerin taşmasını engelle */
    line-height: 1.5 !important; /* Satır boşluğunu ayarlama */
    margin-top: 15px !important; /* Üstten boşluk bırakma */
}

#languageMenu .dropdown-item:active {
    background-color: #ff4d4d !important; /* Tıklanma anında kırmızı arka plan */
    color: white !important; /* Yazı rengi beyaz */
}



.service-item {
    transition: all 0.3s ease;
    background-color: #fff;
}

    .service-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        background-color: #f8f9fa;
    }

.image-wrapper {
    width: 100%;
    height: 160px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .image-wrapper img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
    }

.resource-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 🟦 Buton renkleri düzgün görünsün */
.resource-btn {
    color: #007bff !important;
    border-color: #007bff !important;
    background-color: transparent;
    transition: all 0.2s ease-in-out;
}

    .resource-btn:hover,
    .resource-btn:focus {
        background-color: #007bff !important;
        color: #fff !important;
        text-decoration: none;
        border-color: #007bff !important;
    }

@media (max-width: 768px) {
    .image-wrapper {
        height: 120px;
    }
}


.demo-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

    /* Ok her zaman görünür */
    .demo-btn .arrow-icon {
        display: inline-block;
        transition: transform 0.3s ease-in-out;
        font-weight: bold;
    }

    /* Hover sırasında oku hafif sağa kaydır */
    .demo-btn:hover .arrow-icon {
        transform: translateX(6px);
    }

    /* Hover sırasında butona da küçük parlama efekti */
    .demo-btn:hover {
        box-shadow: 0 0 10px rgba(255, 193, 7, 0.6);
        background-color: #ffca2c !important; /* daha parlak warning tonu */
    }

    /* Görüşme planla butonu */
.meeting-btn {
    border: 2px solid #fff !important;
    color: #fff !important;
    background: transparent !important;
    transition: none !important;
    pointer-events: auto !important; /* tıklanabilir kalır */
}

/* Hover efektini tamamen kapat */
.meeting-btn:hover {
    border: 2px solid #fff !important;
    color: #fff !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}
