﻿
:root {
    --primary-color: #ffc107;
    --dark-bg: #212529;
    --light-bg: #ffffff;
    --light-text: #f1f1f1;
    --accent-pink: hotpink;
    --font-main: 'Inter', sans-serif;
    --footer-bg: #1f2327;
}

/* === RESET & BASE === */
body {
    margin: 0;
    font-family: var(--font-main);
    line-height: 1.6;
    background-color: var(--light-bg);
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* === NAVBAR === */
.navbar-brand img {
    max-height: 32px;
    filter: brightness(105%);
}

.navbar-brand:hover {
    opacity: 0.85;
    transition: 0.3s;
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    background-image: url('/img/hero-Gaziantep.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

    .hero-content h1 {
        font-size: 3rem;
        font-weight: 700;
    }

    .hero-content p {
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.85);
        margin-top: 0.5rem;
    }

    .hero-content a {
        padding: 10px 20px;
        font-size: 1rem;
        border-radius: 5px;
    }

/* === BUTTONS === */
.btn {
    transition: all 0.3s ease-in-out;
}

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

.btn-warning:hover {
    background-color: #e0a800;
    color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* === CARDS === */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    }

.card-img-top {
    height: 220px;
    object-fit: cover;
}

/* === FOOTER === */
.footer {
    background-color: var(--footer-bg);
    color: var(--light-text);
    padding: 40px 20px 20px;
    font-family: var(--font-main);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.footer-logo {
    width: 120px;
    margin-bottom: 10px;
}

.footer-menu li {
    list-style: none;
    margin-bottom: 8px;
}

    .footer-menu li a {
        color: #ffffff;
        text-decoration: none;
        font-weight: 400;
        transition: color 0.3s;
    }

        .footer-menu li a:hover {
            color: var(--primary-color);
        }

.footer-icons a {
    color: #fff;
    font-size: 20px;
    margin: 0 8px;
    transition: transform 0.3s ease, color 0.3s ease;
}

    .footer-icons a:hover {
        color: var(--primary-color);
        transform: scale(1.2);
    }

.footer-phone a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 4px;
}

.footer-phone i {
    color: var(--accent-pink);
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    opacity: 0.9;
}

    .footer-bottom .slogan {
        font-size: 13px;
        margin-top: 6px;
        font-style: italic;
        color: #ccc;
    }

    .footer-bottom .year::after {
        content: " 2025 Simerk Emlak";
    }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-section {
        height: 350px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .card-img-top {
        height: 160px;
    }
}
.ilan-kart {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .ilan-kart:hover {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        transform: translateY(-5px);
    }

.ilan-gorsel-wrapper {
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: #f8f9fa;
}

.ilan-foto {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detay-btn {
    transition: 0.3s ease;
}

    .detay-btn:hover {
        background-color: #0d6efd;
        color: white;
        border-color: #0d6efd;
    }
.iletisim-hero {
    width: 100vw;
    height: 400px;
    background: url('/img/iletisim-hero.png') no-repeat center center / cover;
    position: relative;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .iletisim-hero .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.45);
        z-index: 0;
    }

    .iletisim-hero .content {
        position: relative; /* bu olmazsa içerik arkada kalır */
        z-index: 1;
        text-align: center;
        color: white;
        padding: 0 1rem;
    }
.ilanlar-filter-hero {
    width: 100vw;
    height: 380px;
    background: url('/img/ilanlar-banner.png') no-repeat center center / cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .ilanlar-filter-hero .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.45);
        z-index: 0;
    }

    .ilanlar-filter-hero .content {
        position: relative;
        z-index: 1;
        color: white;
        text-align: center;
        padding: 0 1rem;
    }
.btn-sariklasik {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: black;
}

    .btn-sariklasik:hover {
        background-color: #e0a800;
        border-color: #d39e00;
        color: white;
    }
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* taşmayı engeller */
}



.ilanlar-filter-hero {
    background-image: url('/img/ilanlar-banner.png');
}

.overlay {
    background-color: rgba(0, 0, 0, 0.45);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.content {
    z-index: 1;
}


.hero-inner {
    position: relative;
    z-index: 1;
    color: white;
    padding: 1rem;
}


@media (max-width: 768px) {
    .tam-hero {
        height: 300px;
    }

        .tam-hero .hero-content h1 {
            font-size: 1.8rem;
        }

        .tam-hero .hero-content p {
            font-size: 1rem;
        }
}
.iletisim-hero-banner {
    width: 100vw;
    height: 400px;
    background: url('/img/iletisim-banner.png') no-repeat center center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    margin: 0;
    padding: 0;
}

    .iletisim-hero-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.45);
        z-index: 0;
    }

    .iletisim-hero-banner .hero-inner {
        z-index: 1;
        position: relative;
        color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        padding: 0 1rem;
        max-width: 800px;
    }
/* === Filtre Form Genel === */
.filter-form {
    max-width: 700px;
    margin: 0 auto;
}

/* === Mobil Görünüm için Düzenleme === */
@media (max-width: 768px) {
    .filter-form {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px;
        padding: 0 1rem;
    }

        .filter-form .form-select,
        .filter-form .btn {
            width: 100% !important;
        }
}
body {
    font-family: 'Inter', sans-serif;
    background-color: #fdfdfd;
    color: #2e2e2e;
    line-height: 1.7;
}

/* Danışman Kartı */
.consultant-card {
    border-radius: 18px;
    background-color: #fff;
    border: 1px solid #eee;
    padding: 2rem;
    transition: all 0.3s ease;
}

    .consultant-card:hover {
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
        transform: translateY(-4px);
    }

.consultant-photo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Ofis Bilgileri ve Saatler */
.info-box {
    border-radius: 16px;
    background: #fff;
    padding: 1.8rem;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

    .info-box:hover {
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
        transform: translateY(-3px);
    }
.footer {
    background-color: #1f2327;
    color: #f1f1f1;
    padding: 60px 20px 30px;
    font-size: 15px;
}

.footer-heading {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #ffc107;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu a {
    color: #f1f1f1;
    text-decoration: none;
}

    .footer-menu a:hover {
        color: #ffc107;
    }

.footer-icons a {
    font-size: 20px;
    color: #fff;
    transition: transform 0.3s ease, color 0.3s ease;
}

    .footer-icons a:hover {
        color: #ffc107;
        transform: scale(1.1);
    }

.footer-bottom {
    font-size: 14px;
    color: #ccc;
}
.btn:hover {
    transform: scale(1.05);
}
.card {
    border: none;
    border-radius: 12px;
    background-color: #fdfdfd;
    transition: box-shadow 0.3s ease;
}

    .card:hover {
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }
/* Daha şık filtre kutuları */
.ilanlar-filter-hero select,
.ilanlar-filter-hero button {
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    font-size: 0.95rem;
}

    /* Hover efekti ile filtre butonu */
    .ilanlar-filter-hero button:hover {
        background-color: var(--primary-color);
        color: black;
        transition: 0.3s ease;
    }
.ilan-kart {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .ilan-kart:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    }

/* Kart içindeki fiyat etiketi gibi sabit konumlandırılmış detay */
.ilan-fiyat-etiket {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: black;
    padding: 6px 12px;
    font-weight: bold;
    border-radius: 8px;
    font-size: 0.9rem;
}
.map-wrapper iframe {
    width: 100%;
    height: 400px;
    border: none;
}

@media (max-width: 768px) {
    .map-wrapper iframe {
        height: 300px;
    }
}
/* Detay: ratio kabı içinde carousel tam doldursun */
.ratio > #ilanCarousel {
    position: absolute;
    inset: 0;
}

/* Slayt boyu ve görsel/video kırpmaları */
#ilanCarousel .carousel-item,
#ilanCarousel .carousel-item img,
#ilanCarousel .carousel-item video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Oklar kenarlarda, tam yükseklik; videonun üstünde ama ortayı kaplamasın */
#ilanCarousel .carousel-control-prev,
#ilanCarousel .carousel-control-next {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 14%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

#ilanCarousel .carousel-control-prev {
    left: 0;
    right: auto;
}

#ilanCarousel .carousel-control-next {
    right: 0;
    left: auto;
}

/* Köşeler yuvarlak, taşma yok */
#ilanCarousel .carousel-inner {
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
    overflow: hidden;
}
/* Kart: ratio kabı içinde her carousel full doldursun */
.ratio > .ilanCarousel {
    position: absolute;
    inset: 0;
}

/* Slayt / görsel / video yüksekliği */
.ilanCarousel .carousel-item,
.ilanCarousel .carousel-item img,
.ilanCarousel .carousel-item video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Oklar kenarlarda; kartı aşağı itmeyi önlemek için absolute ve full height */
.ilanCarousel .carousel-control-prev,
.ilanCarousel .carousel-control-next {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 12%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.ilanCarousel .carousel-control-prev {
    left: 0;
    right: auto;
}

.ilanCarousel .carousel-control-next {
    right: 0;
    left: auto;
}

/* Köşeler ve taşma */
.ilanCarousel .carousel-inner {
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
    overflow: hidden;
}
:root {
    /* Kart görsel alanı oranı (4/3 genelde emlak için iyi) */
    --card-img-ratio: 4/3;
    --card-img-bg: #f4f4f4; /* Letterbox alanı rengi */
}

/* Bootstrap ile uyumlu: kart üstündeki görseller */
.card .card-img-top,
.card > img.card-img-top,
.card .card-img {
    width: 100%;
    aspect-ratio: var(--card-img-ratio); /* Görsel alanı yüksekliğini sabitler */
    object-fit: contain; /* Kırpma yok; görselin tamamı görünür */
    object-position: center;
    background: var(--card-img-bg); /* Oran farkından kalan kenarlar için arkaplan */
    display: block;
}

/* Başlık asla taşmasın */
.card {
    overflow: hidden;
}

/* Eski tarayıcılar için aspect-ratio yoksa yedek sabit yükseklik */
@supports not (aspect-ratio: 1) {
    .card .card-img-top,
    .card > img.card-img-top,
    .card .card-img {
        height: 220px; /* ihtiyaca göre değiştir */
        width: 100%;
        object-fit: contain;
        background: var(--card-img-bg);
    }
}

/* İstersen masaüstünde alanı biraz daha genişlet */
@media (min-width: 992px) {
    :root {
        --card-img-ratio: 16/9;
    }
    /* örnek: daha yatay görünüm */
}
