/*slayt altı animed*/
.hero .hero-waves {
  display: block;
  width: 100%;
  height: 60px;
  position: relative;
}

.hero .wave1 use {
  fill: #222222; /* Açık mavi */
  animation: move-forever1 10s linear infinite;
  animation-delay: -2s;
  opacity: 0.6;
}

.hero .wave2 use {
  fill: #b9ff73; /* Orta mavi */
  animation: move-forever2 8s linear infinite;
  animation-delay: -2s;
  opacity: 0.4;
}

.hero .wave3 use {
  fill: #b300b3; /* Koyu mavi */
  animation: move-forever3 6s linear infinite;
  animation-delay: -2s;
}


@keyframes move-forever1 {
  0% {
    transform: translate(85px, 0%);
  }

  100% {
    transform: translate(-90px, 0%);
  }
}

@keyframes move-forever2 {
  0% {
    transform: translate(-90px, 0%);
  }

  100% {
    transform: translate(85px, 0%);
  }
}

@keyframes move-forever3 {
  0% {
    transform: translate(-90px, 0%);
  }

  100% {
    transform: translate(85px, 0%);
  }
}
/**/
/* Yazı: Buton görünümünde */
/* Yazı: Buton görünümünde */
.kampanya-title-wrapper { 
    position: relative; 
    text-align: center; 
    margin-bottom: 20px;
}

/* h2 yerine .kampanya-title sınıfı kullanıldı */
.kampanya-title-wrapper .kampanya-title {
    display: inline-block;
    position: relative;
    padding: 8px 32px;
    font-size: 20px;
    font-weight: 700;
    border-radius: 30px;
    color: #ffffff;
    background: #b38f1d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    z-index: 1;
    margin: 0;
}

/* Ortadaki ince çizgi */
.kampanya-title-wrapper::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ccc; 
    z-index: 0;
}
/**/
/* Esnek Kart Konteyneri */
.card-container-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0 -10px;
}

/* Ana Kart Yapısı */
.professional-card-item {
    flex-basis: calc(25% - 20px);
    width: calc(25% - 20px); /* Net Genişlik eklendi */
    margin: 10px 10px 25px 10px;
    background: #111a24;
    border-radius: 15px;
    border: 1px solid #1e2d3d;
    overflow: visible;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box; /* Taşmaları önler */
}

/* Hover Efekti */
.professional-card-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-color: #2c4257;
    transform: translateY(-4px);
}

/* 1. Üst Başlık Alanı */
.professional-card-header {
    padding: 10px 10px 8px 10px;
    text-align: center;
    border-radius: 15px 15px 0 0;
    background: #111a24;
}

/* Yenilenmiş Profesyonel Başlık Tipi */
.professional-card-title {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hover durumunda başlık rengi */
.professional-card-item:hover .professional-card-title {
    color: #38bdf8;
}

/* 2. Resim Alanı */
.professional-card-img-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    line-height: 0;
}
.professional-card-img-container img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

/* 3. Alt Div */
.professional-card-footer {
    height: 22px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #111a24;
    border-radius: 0 0 15px 15px;
}

/* YouTube PNG Butonu */
.yt-img-btn {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    line-height: 0;
    background-color: #ffffff;
    border: 1px solid #1e2d3d;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 5;
}

.yt-img-btn img {
    display: block;
    width: 41px;
    height: 35px;
    object-fit: contain;
}

.yt-img-btn:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.6);
}

/* MOBİL DÜZENİ - Kesin 2 Yan Yana Kart Yapısı */
@media (max-width: 767px) {
    .card-container-flex {
        margin: 0 -5px; /* Dış boşlukları daraltarak sığmayı garantiye alır */
    }
    .professional-card-item {
        flex: 0 0 calc(50% - 10px) !important; /* Dışarıdan gelebilecek css çakışmalarını ezer */
        width: calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
        margin: 5px 5px 25px 5px !important;
    }
    .professional-card-title {
        font-size: 12.5px;
        letter-spacing: -0.1px;
    }
    .professional-card-header {
        padding: 8px 5px 6px 5px;
    }
    .professional-card-img-container img {
        height: 150px; /* Mobilde oranları korumak için yükseklik ayarlandı */
    }
}