﻿
.content-section {
    padding: 80px 0;
    position: relative;
}

.content-section .section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.content-block {
    display: flex;
    align-items: center; /* Dikeyde ortala */
    gap: 30px; /* Aralarına boşluk */
    flex-wrap: wrap; /* Mobil için */
}
.image-container {
    flex: 1;
    min-width: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%; /* Yükseklik eşitleme */
    display: flex;
    align-items: center;
    justify-content: center;
}

    .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.5s ease;
        border-radius: 12px;
        background-color:transparent;
    }

.text-content {
    flex: 1;
    min-width: 350px;
    padding: 40px;
}
    .text-content strong {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 20px;
        color: #2d3748;
        position: relative;
        display: inline-block;
    }

        .text-content strong:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 100px;
            height: 3px;
            background: linear-gradient(90deg, #9a0101, #ffffff);
        }

    .text-content p {
        font-size: 1rem;
        line-height: 1.8;
        color: #4a5568;
        margin-bottom: 30px;
    }

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin: 30px 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

.page-container {
    display: flex;
    height: 30vh;
    max-width: 1200px;
    margin: -80px auto 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

/* Arka planlar */
.search-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    background: #fff; /* Beyaz arkaplan */
}

.catalog-section {
    background: #e2001a; /* Kırmızı arkaplan */
    color: #fff;
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.search-section h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.search-section p {
    color: #7a7a7a;
    margin-bottom: 30px;
    font-size: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    background: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
    max-width: 500px;
    width: 100%;
}

    .search-box input {
        flex: 1;
        border: none;
        padding: 18px;
        font-size: 18px;
        background: #f5f5f5;
    }

        .search-box input:focus {
            outline: none;
        }

    .search-box button {
        border: none;
        background: none;
        padding: 14px;
        cursor: pointer;
        transition: background 0.3s;
    }

        .search-box button:hover {
            background: #e2001a10;
        }



.catalog-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/katalogjpg.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.15; /* Burada transparanlık ayarı */
    z-index: 1;
}

.catalog-content {
    position: relative;
    z-index: 2;
}

    .catalog-content h1 {
        font-size: 60px;
        font-weight: bold;
        margin-bottom: 20px;
    }

    .catalog-content a {
        color: #fff;
        text-decoration: none;
        font-size: 20px;
        border-bottom: 1px solid #fff;
        padding-bottom: 4px;
        transition: color 0.3s;
    }

        .catalog-content a:hover {
            color: #f0f0f0;
        }


/* Swiper alanını belirli bir genişlikte tutalım */
.swiper-container {
    position: relative;
    max-width: 90%;
    overflow: hidden;
}

/* Özel navigasyon butonları */
.custom-prev,
.custom-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6); /* Buton arka planı */
    color: white; /* Buton içindeki ok */
    font-size: 24px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .custom-prev:hover,
    .custom-next:hover {
        background: rgba(0, 0, 0, 0.8);
    }

/* Buton konumları */
.custom-prev {
    left: 10px;
}

.custom-next {
    right: 10px;
}


.activities-solutions-section {
    background-color: #f9f9f9;
}

.custom-card {
    border-radius: 16px;
    transition: 0.3s;
    height: 500px; /* kart yüksekliği artırıldı */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
}

    .custom-card:hover {
        transform: translateY(-5px);
    }

    .custom-card h2 {
        font-size: 28px;
        color: black;
    }

.card-image {
    max-height: 300px;
    object-fit: contain;
    margin-bottom: 20px;
}

.custom-card a.btn {
    width: 100%;
    padding: 16px 0;
    font-size: 18px;
    border-radius: 10px;
    background-color: #9a0101;
}
/* Hover durumunda ilk butonun rengini değiştir */
.custom-card:first-child:hover a.btn {
    background-color: #fff;
    color: #9a0101;
    border: 2px solid #9a0101;
}

