.campaigns-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0;
}

.campaign-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.campaign-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.campaign-item .campaign-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.campaign-item .campaign-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Üstteki 4'lü Küçük Kart Stilleri */
.campaign-item.small-card-item {
    height: 125px; /* Görseldeki küçük kart yüksekliği */
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: none; /* Hover efekti ana öğede kalacak */
}

.campaign-item.small-card-item:hover {
    transform: none; /* Hover efekti ana öğede kalacak */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.campaign-item.small-card-item .campaign-small-card-inner {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
}

.campaign-item.small-card-item .campaign-image-wrapper {
    position: relative;
    height: 100%;
    width: 100px; /* Resim alanı genişliği */
    flex-shrink: 0;
    border-radius: 20px 0 0 20px; /* Sol tarafa yuvarlak köşe */
    overflow: hidden;
}

.campaign-item.small-card-item .red-vertical-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 5px;
    background-color: #FF0000;
    z-index: 3;
}

.campaign-item.small-card-item .campaign-image {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0; /* İç resim için köşeleri sıfırla */
}

.campaign-item.small-card-item .campaign-content {
    position: relative;
    flex-grow: 1;
    padding: 15px;
    padding-left: 0; /* Resimle başlık arasına boşluk bırakmak için */
    background: none; /* Arka plan gradyanı kaldırıldı */
    color: #1a1a1a; /* Başlık rengi siyah */
    left: auto;
    bottom: auto;
}

.campaign-item.small-card-item .campaign-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
    color: #1a1a1a;
    line-height: 1.3;
    padding-left: 10px;
}

/* Sağdaki 2x2 Küçük Kart Stilleri (Kare ve Resim Üzerinde İçerik) */
.campaign-item.square-card-item {
    height: 200px; /* Kare kart yüksekliği */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.campaign-item.square-card-item .campaign-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.campaign-item.square-card-item .campaign-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
}

.campaign-item.square-card-item .campaign-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    letter-spacing: .5px;
    z-index: 3;
}

.campaign-item.square-card-item .campaign-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
}

.campaign-item.square-card-item .campaign-discount {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0;
}

/* Large Banner Stilleri */
.campaign-item.large-banner-item {
    height: 400px; /* 2. görseldeki yüksekliğe göre ayarlanır */
    background-color: #FF0000; /* Görseldeki kırmızı arka plan */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.campaign-item.large-banner-item .campaign-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.campaign-item.large-banner-item .row.no-gutters {
    height: 100%;
    width: 100%;
    margin-right: 0; 
    margin-left: 0;
}

.campaign-item.large-banner-item .col-md-6 {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 2; /* İçeriği resmin önüne getir */
}

.campaign-item.large-banner-item .campaign-content {
    position: relative;
    width: 100%;
    height: auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
    color: #fff; /* Varsayılan metin rengi */
    background: none;
}

.campaign-item.large-banner-item .campaign-image {
    position: absolute; 
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    top: 0;
    left: 0;
}

.campaign-item.large-banner-item .campaign-logo {
    position: absolute;
    bottom: 20px;
    right: 20px; /* Sağ alt köşeye hizalı */
    z-index: 3;
}

.campaign-item.large-banner-item .campaign-logo img {
    max-width: 100px;
    height: auto;
}

.campaign-item.large-banner-item .campaign-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.campaign-item.large-banner-item .campaign-description {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.campaign-item.large-banner-item .discount-box,
.campaign-item.large-banner-item .payment-option-box {
    padding: 8px 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.campaign-item.large-banner-item .discount-percentage,
.campaign-item.large-banner-item .payment-option-text,
.campaign-item.large-banner-item .discount-amount {
    font-size: 16px;
    font-weight: 600;
}

.campaign-item.large-banner-item .payment-option-box .discount-amount {
    margin-left: 10px;
    border-left: 1px solid;
    padding-left: 10px;
}

.campaign-item.large-banner-item .additional-info p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Slider Container */
.campaign-slider-container {
    position: relative;
    height: 400px; /* Büyük banner yüksekliği ile uyumlu */
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.campaign-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-slide {
    min-width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slider-slide.active {
    opacity: 1;
    position: relative;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 15px;
}

.slider-btn {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background-color: #717171;
}
