.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* auto-fill yerine auto-fit daha dengeli durur */
    gap: 25px;
    justify-content: center;
}

.testimonial-card-v2 {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}
.location-link {
    text-decoration: none;
    display: block;
    color: inherit;
}
.location-card {
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.location-card:hover {
    transform: scale(1.03); /* Hafif büyüme efekti şık durur */
}
.location-card img {
    width: 100%;
    height: 270px; /* Senin ölçülerine göre sabitledik */
    object-fit: cover;
}
/* Kapsayıcıyı esnek yap ama zorlama */
.property-content {
    display: flex;
    flex-direction: column;
    padding: 15px; /* İç boşluğu biraz azalttık */
}

/* Başlık alanı */
.property-content h3 {
    margin: 0 0 5px 0; /* Alttaki konum yazısına biraz daha yaklaştırdık */
    line-height: 1.3;
    min-height: auto; /* Sabit yükseklik yerine otomatiğe aldık */
    max-height: 2.8em; /* En fazla 2 satırlık yer kaplasın */
    overflow: hidden;
}

.property-content h3 a {
    font-size: 15px; /* Mobilde çok kaba durmasın diye hafif küçülttük */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-decoration: none;
    color: #222;
}

/* Konum yazısı */
.property-content .location {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

/* Özellikler (İkonların olduğu kısım) */
.property-features {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    margin-top: 5px; /* Buradaki margin-top: auto; komutunu sildik veya azalttık */
}

.property-features span {
    font-size: 12px;
    color: #444;
}
/* Kartın içeriğinin olduğu yer */
.property-content {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: #fff;
}

/* Başlık alanı - İşte sihir burada */
.property-content h3 {
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    /* Satır yüksekliğini sabitle ki harfler binmesin */
    line-height: 1.3 !important; 
    /* 2 satırlık alanı her zaman ayır (Ne eksik ne fazla) */
    height: 2.6em !important; 
    overflow: hidden;
    display: block;
}

.property-content h3 a {
    font-size: 16px !important;
    font-weight: 700;
    color: #222;
    text-decoration: none;
    /* 2 satırdan sonrasını kes ve ... koy */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Konum bilgisi */
.property-content .location {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px !important;
    display: block;
    /* Konum tek satırı geçerse başlığa binmesin diye kilitledik */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Özellikler alanı */
.property-features {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #eee;
    margin-top: 5px; /* Boşluğu buradan manuel ayarla kanka */
}
.types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 ana sütun */
    grid-template-rows: repeat(2, 300px); /* 2 ana satır, yükseklik 300px */
    gap: 20px;
}

.type-item {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

/* Kutu Yerleşimleri (Görseldeki gibi) */
.item-1 { grid-column: span 1; grid-row: span 1; } /* Sol üst küçük */
.item-2 { grid-column: span 3; grid-row: span 1; } /* Sağ üst geniş */
.item-3 { grid-column: span 3; grid-row: span 1; } /* Sol alt geniş */
.item-4 { grid-column: span 1; grid-row: span 1; } /* Sağ alt küçük */

.type-overlay {
    background: rgba(0, 0, 0, 0.4); /* Resmin üzerindeki siyah karartma */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.3s ease;
}

.type-item:hover .type-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.type-item:hover {
    transform: scale(1.02);
}

.type-overlay h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.type-overlay span {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .types-grid {
        grid-template-columns: 1fr 1fr; /* Mobilde 2 sütun */
        grid-template-rows: auto;
    }
    .type-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        height: 250px;
    }
}
.video-promo {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Kaydırırken arka plan sabit kalır */
    display: flex;
    align-items: center;
    color: #fff;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 23, 60, 0.6); /* Lacivert/Siyah tonlarında karartma */
    display: flex;
    align-items: center;
}

.video-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-top: 25px;
}

.video-content p {
    font-size: 18px;
    opacity: 0.9;
}

/* Play Butonu Efekti */
.play-btn {
    width: 90px;
    height: 90px;
    background: #007bff;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.5);
    animation: pulse 2s infinite; /* Sürekli yanıp sönen dalga efekti */
}

.play-btn:hover {
    background: #fff;
    color: #007bff;
    transform: scale(1.1);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@media (max-width: 768px) {
    .video-promo { height: 350px; }
    .video-content h2 { font-size: 24px; }
}
/* Modal Arka Planı */
.video-modal {
    display: none; 
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

/* Modal İçeriği */
.video-modal-content {
    position: relative;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    width: 80%;
    max-width: 900px;
}

/* 16:9 Video Oranı */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Kapatma Butonu */
.video-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.video-close:hover { color: #007bff; }
.btn-view-all2 {
    display: inline-block;
    /* Şeffaf Beyaz Arka Plan */
    background: rgba(255, 255, 255, 0.2) !important; 
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 12px; /* Köşeleri biraz daha yumuşatınca cam efekti daha iyi durur */
    font-weight: 600;
    text-decoration: none;
    
    /* Cam Efektinin Sırrı: Backdrop Filter */
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    
    /* İnce Beyaz Çerçeve (Camın kenarı gibi) */
    border: 1px solid rgba(255, 255, 255, 0.3);
    
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1); /* Hafif gölge */
}

/* Üzerine gelince (Hover) */
.btn-view-all2:hover {
    background: rgba(255, 255, 255, 0.4) !important; /* Biraz daha belirginleşsin */
    transform: translateY(-3px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}
/* Header ve Filtreleme Butonu */
.btn[type="submit"] {
    background-color: #00173c !important; /* Header lacivert tonu */
    border-color: #00173c !important;
    color: #ffffff !important;
    padding: 10px 25px;
    border-radius: 8px; /* Diğer inputlarla uyumlu olsun */
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* İkon ile yazı arasındaki boşluk */
    cursor: pointer;
}

/* Üzerine gelince (Hover) */
.btn[type="submit"]:hover {
    background-color: #002a6b !important; /* Bir tık daha açık/canlı mavi */
    border-color: #002a6b !important;
    transform: scale(1.03); /* Hafifçe büyüme efekti */
    box-shadow: 0 4px 12px rgba(0, 23, 60, 0.2);
}

/* İçindeki büyüteç ikonunu biraz daha belirgin yapalım */
.btn[type="submit"] i {
    font-size: 14px;
}
/* Öne Çıkan Etiketi (Label) */
.property-label {
    background-color: #00173c !important; /* Header lacivert tonu */
    color: #ffffff !important; /* Yazı bembeyaz kalsın */
    padding: 5px 15px;
    border-radius: 50px; /* Daha modern, yuvarlak bir görünüm */
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase; /* Yazıları büyük yaparak dikkat çekici kılalım */
    position: absolute; /* Resmin üzerinde durması için */
    top: 15px;
    left: 15px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Hafif gölge ile resimden ayıralım */
}
/* İkonları yazı rengiyle eşitle */
.property-features span i {
    color: inherit !important; /* Yazı rengi neyse ikon da o olsun */
    opacity: 0.8; /* İkonlar yazıya göre bir tık daha hafif dursun istersen */
    margin-right: 6px;
    font-size: 15px;
}

/* Spanların (yazıların) rengini de burdan kontrol edebilirsin */
.property-features span {
    color: #555 !important; /* Yazı rengini buraya yazarsan ikon da bu rengi alır */
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}
/* Tüm İlanları Görüntüle Butonu */
.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #00173c !important; /* Header lacivert tonu */
    color: #ffffff !important;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #00173c;
}

/* Üzerine gelince (Hover) */
.btn-view-all:hover {
    background-color: #002a6b !important; /* Bir tık açık mavi */
    border-color: #002a6b !important;
    transform: translateX(5px); /* Sağa doğru hafif kayma hareketi (Ok yönünde) */
    box-shadow: 0 4px 15px rgba(0, 23, 60, 0.2);
}

/* İçindeki ok ikonu için */
.btn-view-all i {
    transition: transform 0.3s ease;
}

.btn-view-all:hover i {
    transform: translateX(3px); /* Ok butona basınca hafifçe ileri fırlar */
}
/* Hizmet İkonları (İnşaat, Tadilat, Yatırım) */
.service-item .service-icon {
    color: #00173c !important; /* Header lacivert tonu */
    font-size: 40px; /* İkon boyutu (varsayılanı korumak için istersen değiştirebilirsin) */
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

/* Kartın üzerine gelince ikonun tepkisi (Opsiyonel ama şık durur) */
.service-item:hover .service-icon {
    color: #002a6b !important; /* Üzerine gelince biraz daha canlı bir mavi */
    transform: translateY(-5px) rotate(5deg); /* Hafif yukarı kalkıp yana yatar */
}

/* Hizmet başlıklarını da biraz belirginleştirelim */
.service-item h3 {
    color: #222;
    font-weight: 700;
    margin-bottom: 15px;
}
/* Yorumlardaki Yıldız Rating Alanı */
.star-rating {
    margin-bottom: 10px;
    display: flex;
    gap: 3px; /* Yıldızların arasına çok hafif boşluk */
}

/* Dolu ve Boş Yıldızların Rengi */
.star-rating .fa-star, 
.star-rating .far-star,
.star-rating i {
    color: #00173c !important; /* Header lacivert tonu */
    font-size: 14px; /* Boyutu buradan ayarlayabilirsin */
    transition: transform 0.2s ease;
}

/* Opsiyonel: Boş yıldızlar biraz daha saydam dursun istersen (daha şık durur) */
.star-rating .far.fa-star {
    opacity: 0.4;
}

/* Kartın üzerine gelince yıldızlar parlasın */
.service-item:hover .star-rating i,
.testimonial-item:hover .star-rating i {
    transform: scale(1.1);
}
/* Grup Konumlandırması */
.input-group {
    position: relative;
    margin-bottom: 25px;
}

/* İkonların Hizalanması */
.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    z-index: 2;
    transition: all 0.3s ease;
}

.textarea-group .input-icon {
    top: 20px;
    transform: none;
}

/* Input İç Boşlukları (İkonlar için yer açar) */
.elite-form input:not([type="date"]), 
.elite-form select, 
.elite-form textarea {
    width: 100%;
    padding: 12px 12px 12px 40px; /* Soldan ikon payı */
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
}

/* Floating Label (Hareketli Etiket) Ayarı */
.input-group label {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 0 5px;
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Focus olduğunda label'ı yukarı taşı */
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 12px;
    font-size: 12px;
    color: #30419b;
}

/* Select ve Date için özel ayar */
.elite-form select {
    appearance: none;
    cursor: pointer;
}
/* Formun alt kısmını ortala */
.form-footer {
    margin-top: 25px;
    text-align: center;
}

/* Ana Buton Stili */
.submit-btn {
    background: #000; /* Senin temanın ana mavisi */
    color: #ffffff;
    border: none;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px; /* Tam yuvarlak köşeler */
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* İkon ve metin arası boşluk */
    width: 100%; /* Mobilde tam genişlik için */
    box-shadow: 0 4px 15px rgba(48, 65, 155, 0.3);
    position: relative;
    overflow: hidden; /* Parlama efekti için gerekli */
}

/* Butonun üzerine gelince */
.submit-btn:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(48, 65, 155, 0.4);
}

/* Parlama Efekti (Elite Shine) */
.elite-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: none;
}

.elite-shine:hover::after {
    left: 150%;
    transition: all 0.7s ease;
}

/* İkonun ufak hareketi */
.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}