/* ======================
   GENEL
====================== */
.ilan-page {
    padding: 30px;
}

/* ======================
   BAŞLIK
====================== */
.ilan-header {
    margin-bottom: 20px;
    padding: 5px;
}

.ilan-header h1 {
    font-size: 24px;
}

/* ======================
   GRID
====================== */
.ilan-content {
    display: grid;
    grid-template-columns: 1fr 250px 300px;
    gap: 20px;
    align-items: start;
}

/* ======================
   FOTOĞRAF ALANI
====================== */
.ilan-photos {
    padding: 10px;
}

/* ANA FOTO */
.photo-viewer {
    position: relative;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-viewer img {
    max-width: 100%;
    max-height: 100%;
    cursor: zoom-in;
}

/* ANA OKLAR */
.photo-viewer .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: rgba(0,0,0,0.55);
    border: none;
    font-size: 32px;
    width: 45px;
    height: 45px;
    cursor: pointer;
}

.photo-viewer .prev { left: 10px; }
.photo-viewer .next { right: 10px; }

/* ======================
   THUMBNAIL ALANI
====================== */
.photo-thumbs-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

/* 2 SATIR × 5 FOTO (SABİT DAVRANIŞ) */
.photo-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 60px;
    gap: 8px;
    width: 520px;
    margin: 0 auto;
}

/* THUMB */
.photo-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
}

.photo-thumbs img.active {
    opacity: 1;
    border-color: #c9a227;
}

/* THUMB SAYFA OKLARI */
.thumb-nav {
    background: #eee;
    border: none;
    font-size: 22px;
    width: 32px;
    height: 32px;
    cursor: pointer;
}

/* ======================
   LIGHTBOX
====================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
}

/* LIGHTBOX OKLARI (GENİŞ TIKLAMA ALANI) */
.lightbox button {
    position: absolute;
    background: none;
    color: #fff;
    border: none;
    cursor: pointer;
}

.lb-prev,
.lb-next {
    top: 0;
    bottom: 0;
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.lb-prev { left: 0; }
.lb-next { right: 0; }

/* ======================
   DETAYLAR
====================== */
.ilan-details {
    padding: 16px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.ilan-price {
    font-size: 22px;
    font-weight: 700;
    color: #1f4bd8;
    margin-bottom: 6px;
}

.ilan-address {
    font-size: 13px;
    color: #555;
}

.ilan-details hr {
    margin: 12px 0;
    border: none;
    border-top: 1px solid #ddd;
}

.ilan-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ilan-info li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dotted #e0e0e0;
}

/* ======================
   İLETİŞİM
====================== */
.ilan-contact {
    border: 1px solid #c9a227;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.contact-header {
    background: #c9a227;
    color: #fff;
    text-align: center;
    font-weight: 700;
    padding: 12px;
}

.contact-body {
    padding: 16px;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 18px;
}

.phone-number {
    font-size: 26px;
    font-weight: 600;
    color: #b8951f;
}

.contact-divider {
    height: 1px;
    background: #ddd;
    margin-bottom: 10px;
}

.contact-subtitle {
    text-align: center;
    font-weight: 600;
    color: #b8951f;
    margin-bottom: 12px;
}

/* FORM */
.form-row {
    display: flex;
    gap: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.contact-form textarea {
    resize: none;
    height: 90px;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background: #c9a227;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}
.ilan-description {
    max-width: 1200px;
    margin: 60px auto 40px;
    padding: 30px;
    border-top: 2px solid #d4af37; /* altın çizgi */
}

.ilan-description h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.description-text {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    white-space: normal;
}
