@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

 /* Slider konteyner */
 .slider {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    /*border-radius: 15px;*/
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Slider resimleri */
.slider img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

/* Slider içeriği */
.slider-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

body, html {
    font-family: Arial, sans-serif;
   /* background-color: #00628b;  Arka plan rengi */
}

.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1); /* Şeffaf arka plan */
    backdrop-filter: blur(10px); /* Bulanık efekt */
    overflow: hidden;
   background-color: #00628b;
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 100px;
    box-sizing: border-box;
}

.slide .image {
    width: 45%;
    height: 100%; /* Resmin yüksekliği tam ekran */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide .image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Resmi kırpmadan tam oturt */
    transition: transform 0.5s ease;
}

.slide .content {
    width: 50%;
    color: white;
}

.slide .content h2 {
    font-size: 3rem;
    margin-bottom: 40px; /* Başlık ile açıklama arasındaki boşluk artırıldı */
}

.slide .content p {
    font-size: 1.5rem;
    line-height: 1.8; /* Satır aralığı artırıldı */
    margin-bottom: 50px; /* Açıklama ile buton arasındaki boşluk artırıldı */
}

.slide .content a {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.slide .content a:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Oklar */
.controls {
    position: absolute;
    top: 50%;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.controls button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.controls button:hover {
    opacity: 0.8;
}

/* Parallax Efekt */
.slide:hover .image img {
    transform: scale(1.1);
}

.slide:hover .content {
    transform: translateX(10px);
}

.slide .content {
    transition: transform 0.5s ease;
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .slide {
        padding: 0 50px;
    }

    .slide .content h2 {
        font-size: 2.5rem;
    }

    .slide .content p {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .slide {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 0 20px;
    }

    .slide .image {
        width: 100%;
        height: 50%;
        margin-bottom: 20px;
    }

    .slide .content {
        width: 100%;
    }

    .slide .content h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .slide .content p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .controls {
        top: auto;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .slide .image {
        width: 100%;
        height: 40%;
    }

    .slide .content h2 {
        font-size: 1.8rem;
    }

    .slide .content p {
        font-size: 1rem;
    }

    .controls button {
        font-size: 20px;
    }
}