﻿/* ===== İYİLEŞEN ZİHİNLERİN SESİ DÜZENLEME ===== */

.mind-reviews-section {
    /*    background: url('/images/brain.png') no-repeat center center;*/
    background-size: contain;
    background-attachment: fixed;
    padding: 100px 0; /* Üst ve alt boşlukları dengeledik */
    position: relative;
    overflow: visible;
    min-height: 1000px;
}


    /* Başlık öne çıksın */
    .mind-reviews-section .section-title {
        position: absolute; /* 🔹 artık arka planın üstünde */
        pointer-events: none;
        top: 28%; /* 🔹 dikeyde ortala */
        left: 50%; /* 🔹 yatayda ortala */
        transform: translate(-50%, -50%); /* 🔹 tam ortada hizala */
        text-align: center;
        z-index: 3; /* 🔹 arka planın önünde kalsın */
        width: 100%;
    }


        .mind-reviews-section .section-title h2 {
            font-size: 2rem;
            font-weight: 700;
            color: #2F4730;
            margin-bottom: 10px;
        }

        .mind-reviews-section .section-title .subtitle {
            display: block;
            font-size: 1rem;
            color: #7C7C7C;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 260px;
        }


.mind-review-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}


/* Kart konteyneri */
.mind-reviews-container {
    position: relative;
    max-width: 2000px;
    margin: 0 auto;
    padding: 300px 0; /* 🔹 Yüksekliği korumadan boşluk yaratır */
}

/* Yorum kartları */
.mind-review-card {
    background: rgba(241, 243, 228, 0.95);
    color: #2F4730;
    font-style: italic;
    font-size: 0.95rem;
    border-radius: 15px;
    padding: 22px 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(3px); /* 🔹 hafif cam efekti, çok zarif durur */
    position: absolute;
    width: 280px;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}


    .mind-review-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .mind-review-card span {
        display: block;
        margin-top: 15px;
        font-weight: 500;
        font-size: 0.9rem;
        color: #4F6A50;
    }

/* === Kart konumları === */
.card1 {
    top: 80%;
    right: 75%;
}

.card2 {
    top: 95%;
    right: 15%;
}

.card3 {
    top: 57%;
    right: 8%;
}

.card4 {
    top: 37%;
    right: 28%;
}

.card5 {
    top: 72%;
    right: 33%;
}

.card6 {
    top: 48%;
    right: 52%;
}

.card7 {
    top: 90%;
    right: 52%;
}

.card8 {
    top: 28%;
    right: 73%;
}

/* Hover efekti */
.mind-review-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    z-index: 99; /* 🔹 Öne gelsin */
}




/* Yorum yap butonu */
.btn-review {
    background: rgba(95, 122, 82, 0.06);
    color: #4d6650;
    padding: 10px 26px;
    border-radius: 25px;
    border: 1px solid rgba(95, 122, 82, 0.3);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
}

    .btn-review:hover {
        background: rgba(95, 122, 82, 0.15);
    }


.review-form-wrapper {
    display: none;
    position: fixed; /* 🔹 Absolute değil, fixed olmalı */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Arka planı hafif karartır */
    z-index: 9999;
    justify-content: center;
    align-items: center;
    overflow-y: auto; /* Form çok uzunsa kendi içinde kaysın */
}

    .review-form-wrapper.open {
        display: flex !important; /* Formu ortalar */
    }

/* Form tasarımı */
.review-form {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    position: relative;
}

    .review-form label {
        display: block;
        margin-top: 12px;
        font-weight: 600;
        color: #2F4730;
    }

    .review-form input,
    .review-form textarea {
        width: 100%;
        padding: 10px;
        margin-top: 5px;
        border: 1px solid #ddd;
        border-radius: 10px;
        font-size: 14px;
    }

.btn-send-review {
    margin-top: 18px;
    width: 100%;
    padding: 12px;
    background: #5F7A52;
    border: none;
    color: white;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}


.btn-send-review:hover {
    background: #3F5736;
}

/* Buton Kapsayıcısı - Butonu daha aşağı itmek için margin artırıldı */
.review-button-container {
    width: 100%;
    text-align: center;
    margin-top: 180px; /* Kartlardan iyice uzaklaştırmak için artırdık */
    padding-bottom: 60px;
    position: relative;
    z-index: 100; /* Kartların her türlü üstünde kalsın */
}

/* Soft Tasarımlı Yorum Yap Butonu */
.btn-review {
    background-color: #f1f3e4; /* Kartların arka plan rengiyle aynı soft ton */
    color: #5F7A52; /* Yazı rengi yine senin kurumsal yeşilin */
    padding: 12px 30px;
    border-radius: 50px;
    border: 2px solid #e2e5d1; /* Çok hafif bir çerçeve */
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04); /* Çok hafif bir gölge */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    /* Hover Durumu - Hafifçe belirginleşme */
    .btn-review:hover {
        background-color: #5F7A52; /* Üzerine gelince senin yeşiline döner */
        color: #ffffff;
        border-color: #5F7A52;
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(95, 122, 82, 0.2);
    }

    /* Butonun yanına şık bir artı (+) veya kalem ikonu */
    .btn-review::after {
        content: '+';
        font-size: 18px;
        font-weight: 400;
    }

@media (max-width: 992px) {

    .mind-reviews-section {
        min-height: auto;
        padding: 60px 0;
    }


        .mind-reviews-section .section-title {
            position: static;
            transform: none;
            margin-bottom: 20px;
            pointer-events: auto;
        }

            .mind-reviews-section .section-title .subtitle {
                margin-bottom: 20px;
            }

    .mind-reviews-container {
        padding: 20px 20px;
    }

    .mind-review-card {
        position: static;
        width: auto;
        margin-bottom: 25px;
    }
    .review-button-container {
        margin-top: 40px;
        padding-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .mind-reviews-section .section-title .subtitle {
        margin-bottom: 40px;
    }

    .review-button-container {
        margin-top: 40px;
    }
}
