/**
 * İnşaat Projeleri - Frontend Stilleri
 * Renk: Champagne Gold (#C9A961) + Deep Obsidian Navy (#021220)
 * Font: tema fontunu miras alır (harici font yüklenmez).
 */

/* CSS değişkenleri - sadece kendi class'larımıza scope */
.ip-grid-wrap, .ip-project-hero, .ip-detail-wrap, .ip-cards-row, .ip-related,
.ip-projects-grid, .ip-filter-bar, .ip-btn, .ip-badge, .ip-gallery, .ip-contact-card {
    --ip-gold: #C9A961;
    --ip-gold-dark: #A88A48;
    --ip-gold-light: #E8D9A8;
    --ip-gold-soft: #F5EDD8;
    --ip-navy: #021220;
    --ip-navy-light: #0E2034;
    --ip-navy-soft: #1F3552;
    --ip-bg: #F7F7F5;
    --ip-bg-warm: #F2EFE9;
    --ip-white: #FFFFFF;
    --ip-border: #EAEAE6;
    --ip-border-soft: #F0F0EC;
    --ip-text: #1F2330;
    --ip-text-muted: #757680;
    --ip-success: #2E7D5B;
    --ip-radius: 2px;
    --ip-radius-lg: 6px;
    --ip-shadow-sm: 0 1px 2px rgba(2, 18, 32, 0.05);
    --ip-shadow: 0 6px 24px rgba(2, 18, 32, 0.08);
    --ip-shadow-lg: 0 20px 48px rgba(2, 18, 32, 0.14);
    --ip-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Container - tema container'ı ile çakışmaması için scope'lu */
.ip-project-hero .ip-container,
.ip-detail-wrap .ip-container,
.ip-cards-row .ip-container,
.ip-related .ip-container {
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}
/* Shortcode/row grid container — full-bleed his, max 1380 */
.ip-grid-wrap .ip-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================================================
   FLATSOME BUTTON RESET
   Flatsome'un global button stilleri (min-height 2.5em, line-height 2.4em,
   margin-bottom 1em, uppercase, font-weight bolder, transition vb.)
   butonlarımıza sızıyor. Tüm button class'larımızı reset ediyoruz.
   Aynı specificity → source order ile sonraki class kuralları override eder.
   ========================================================================== */
.ip-filter-btn,
.ip-gallery-nav,
.ip-lb-nav,
.ip-lb-close,
.ip-btn {
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 0;
    box-sizing: border-box;
    box-shadow: none;
    color: inherit;
    cursor: pointer;
    display: inline-block;
    font-family: inherit;
    font-size: inherit;
    font-weight: normal;
    letter-spacing: normal;
    line-height: 1.4;
    margin: 0;
    max-width: none;
    min-height: 0;
    min-width: 0;
    padding: 0;
    position: static;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    transition: var(--ip-transition);
    vertical-align: middle;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}
.ip-filter-btn:focus,
.ip-gallery-nav:focus,
.ip-lb-nav:focus,
.ip-lb-close:focus,
.ip-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(201, 169, 97, 0.4);
}

/* SVG icon helper */
.ip-grid-wrap .ip-icon,
.ip-project-hero .ip-icon,
.ip-detail-wrap .ip-icon,
.ip-cards-row .ip-icon,
.ip-related .ip-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    stroke-width: 2;
    stroke: currentColor;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ====== Section header ====== */
.ip-section-header {
    text-align: center;
    margin-bottom: 48px;
}
.ip-section-header .ip-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--ip-gold-dark);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.ip-section-header .ip-subtitle::before,
.ip-section-header .ip-subtitle::after {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--ip-gold);
    opacity: 0.7;
}
.ip-section-header h2 {
    font-size: 34px;
    font-weight: 600;
    color: var(--ip-navy);
    margin: 0 0 18px;
    letter-spacing: -0.6px;
    line-height: 1.15;
}
.ip-section-header .ip-divider {
    width: 44px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ip-gold) 50%, transparent);
    margin: 0 auto;
}

/* ====== Buttons ====== */
.ip-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border: 1px solid transparent;
    border-radius: var(--ip-radius);
    background: var(--ip-gold);
    color: var(--ip-navy);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--ip-transition);
    line-height: 1.4;
}
.ip-btn:hover {
    background: var(--ip-gold-dark);
    color: var(--ip-white);
    text-decoration: none;
}
.ip-btn-navy {
    background: var(--ip-navy);
    color: var(--ip-white);
}
.ip-btn-navy:hover {
    background: var(--ip-navy-light);
    color: var(--ip-gold);
}

/* ====== Badge ====== */
.ip-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    line-height: 1.2;
}
.ip-badge-active {
    background: rgba(46, 125, 91, 0.12);
    color: var(--ip-success);
}
.ip-badge-active::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ip-success);
    animation: ipPulse 2s infinite;
}
.ip-badge-completed {
    background: var(--ip-navy);
    color: var(--ip-gold);
}
@keyframes ipPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ==========================
   GRID WRAP
   ========================== */
.ip-grid-wrap {
    padding: 70px 0 90px;
}

/* Filter */
.ip-filter-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
    padding: 8px;
    background: var(--ip-bg);
    border-radius: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.ip-filter-btn {
    padding: 10px 24px;
    border: none;
    background: transparent;
    color: var(--ip-text-muted);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--ip-transition);
    letter-spacing: 0.3px;
    font-family: inherit;
}
.ip-filter-btn:hover { color: var(--ip-navy); }
.ip-filter-btn.active {
    background: var(--ip-navy);
    color: var(--ip-gold);
    box-shadow: 0 4px 12px rgba(2, 18, 32, 0.2);
}
.ip-filter-btn .ip-count {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 11px;
}
.ip-filter-btn:not(.active) .ip-count {
    background: var(--ip-border);
    color: var(--ip-text-muted);
}

/* Grid */
.ip-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.ip-projects-grid.cols-1 { grid-template-columns: 1fr; }
.ip-projects-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.ip-projects-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
    .ip-projects-grid,
    .ip-projects-grid.cols-3,
    .ip-projects-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .ip-projects-grid,
    .ip-projects-grid.cols-2,
    .ip-projects-grid.cols-3,
    .ip-projects-grid.cols-4 { grid-template-columns: 1fr; }
}

/* Card — homepage ile aynı portrait overlay tarz */
.ip-project-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--ip-radius-lg);
    background: var(--ip-navy);
    box-shadow: none;
    transition: var(--ip-transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}
.ip-project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ip-shadow);
}
.ip-card-image {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--ip-navy);
}
.ip-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}
.ip-project-card:hover .ip-card-image img { transform: scale(1.06); }
.ip-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(2, 18, 32, 0.92) 0%,
        rgba(2, 18, 32, 0.78) 22%,
        rgba(2, 18, 32, 0.45) 48%,
        rgba(2, 18, 32, 0.15) 72%,
        transparent 100%
    );
    transition: var(--ip-transition);
}
.ip-project-card:hover .ip-card-image::after {
    background: linear-gradient(
        to top,
        rgba(2, 18, 32, 0.95) 0%,
        rgba(2, 18, 32, 0.82) 25%,
        rgba(2, 18, 32, 0.5) 52%,
        rgba(2, 18, 32, 0.2) 78%,
        transparent 100%
    );
}
.ip-card-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--ip-navy) 0%, var(--ip-navy-light) 100%);
}
.ip-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.ip-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    z-index: 2;
    color: var(--ip-white);
}
.ip-card-category {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ip-gold-light);
    margin-bottom: 10px;
    display: block;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
.ip-card-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.2;
    color: var(--ip-white);
    letter-spacing: -0.3px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
.ip-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.92);
    flex-wrap: wrap;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.ip-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
/* Meta ikonlarını gizle — homepage ile aynı temiz görünüm */
.ip-card-meta .ip-icon { display: none; }
.ip-card-meta span + span::before {
    content: '·';
    margin-right: 6px;
    opacity: 0.6;
}
/* Gold ok dairesi — homepage'de yok, gizli */
.ip-card-arrow { display: none; }

.ip-load-more-wrap {
    text-align: center;
    margin-top: 50px;
}
.ip-empty {
    text-align: center;
    color: var(--ip-text-muted);
    padding: 60px 20px;
    font-size: 16px;
}


/* ==========================
   PROJECT DETAIL — v2 minimal
   Üst: sade başlık + masonry görsel cluster
   Gövde: 2 kolon (içerik + sticky sidebar)
   Renk: Champagne Gold + Deep Obsidian Navy korundu.
   ========================== */

/* ==========================
   HERO — Editorial layout
   1) Galeri (masonry)
   2) Beyaz başlık satırı (2 kolon: title+subtitle | status+location)
   3) İnce ayırıcı çizgi
   .ip-project-hero sadece CSS scope wrapper'ı.
   ========================== */
.ip-project-hero {
    position: relative;
    background: transparent;
    padding: 0;
    border-bottom: none;
    height: auto;
    overflow: visible;
}
.ip-project-hero::after { content: none; }
.ip-project-hero > img,
.ip-project-hero .wp-post-image { display: none; }

/* 1) Galeri bölümü */
.ip-hero-gallery {
    background: var(--ip-white);
    padding: 36px 0 32px;
}

/* 2) Başlık satırı - minimal, bg yok, alt çizgili */
.ip-hero-title {
    background: var(--ip-white);
    padding: 18px 0 0;
}
.ip-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 50px;
    align-items: center;
    padding: 4px 0 24px;
    border-bottom: 1px solid var(--ip-border);
    background: transparent;
    border-radius: 0;
}
.ip-title-left { min-width: 0; }
.ip-title-left h1 {
    font-size: 34px;
    font-weight: 600;
    color: var(--ip-navy);
    margin: 0 0 8px;
    letter-spacing: -.02em;
    line-height: 1.12;
}
.ip-title-subtitle {
    color: var(--ip-text-muted);
    font-size: 15px;
    font-weight: 400;
    margin: 0;
}
.ip-title-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-top: 4px;
    min-width: 200px;
}
.ip-title-right .ip-badge {
    min-width: 160px;
    justify-content: center;
    padding: 11px 22px;
    font-size: 12.5px;
    letter-spacing: .12em;
    text-transform: capitalize;
    font-weight: 500;
    border-radius: 100px;
    background: var(--ip-navy);
    border: 1px solid var(--ip-navy);
    color: var(--ip-gold);
}
.ip-title-right .ip-badge-active {
    background: var(--ip-navy);
    border-color: var(--ip-navy);
    color: var(--ip-gold);
}
.ip-title-right .ip-badge-active::before {
    background: var(--ip-gold);
}
.ip-title-right .ip-loc {
    color: var(--ip-text);
    font-size: 15px;
    font-weight: 400;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-align: center;
}
.ip-title-right .ip-loc .ip-icon { width: 14px; height: 14px; color: var(--ip-gold); }

/* 3) Ayırıcı */
.ip-title-separator {
    border: 0;
    height: 1px;
    background: var(--ip-border-soft);
    margin: 0;
    width: 100%;
}

/* Masonry galeri - 1 büyük (slider) + küçük preview'lar.
   Beyaz arka plan üstünde sade, çerçevesiz. */
.ip-hero-masonry {
    margin: 0;
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr;
    grid-template-rows: 240px 240px;
    gap: 10px;
}
.ip-hero-masonry .m-tile {
    overflow: hidden;
    border-radius: 10px;
    background: var(--ip-bg-warm);
    cursor: zoom-in;
    position: relative;
    transition: box-shadow .35s ease;
}
.ip-hero-masonry .m-tile.m-big {
    border-radius: 12px;
    cursor: default;
}
.ip-hero-masonry .m-tile img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .8s cubic-bezier(.16, 1, .3, 1);
}
.ip-hero-masonry .m-tile:not(.m-big):hover img { transform: scale(1.04); }
.ip-hero-masonry .m-tile.m-big { grid-column: 1; grid-row: 1 / span 2; }
.ip-hero-masonry .m-tile.m-2 { grid-column: 2; grid-row: 1; }
.ip-hero-masonry .m-tile.m-3 { grid-column: 3; grid-row: 1; }
.ip-hero-masonry .m-tile.m-4 { grid-column: 2; grid-row: 2; }
.ip-hero-masonry .m-tile.m-5 { grid-column: 3; grid-row: 2; }

/* "+N görsel" overlay - daha sade */
.ip-hero-masonry .m-tile .m-more {
    position: absolute; inset: 0;
    background: rgba(2, 18, 32, .62);
    color: var(--ip-white);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
    opacity: 0; transition: opacity .25s ease;
}
.ip-hero-masonry .m-tile:hover .m-more { opacity: 1; }
/* Tek görsel varsa - tek dev tile */
.ip-hero-masonry.m-single {
    grid-template-columns: 1fr;
    grid-template-rows: 480px;
}
.ip-hero-masonry.m-single .m-tile.m-big { grid-column: 1; grid-row: 1; }
/* 2-3-4 görsel varsa */
.ip-hero-masonry.m-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 400px; }
.ip-hero-masonry.m-2 .m-tile.m-big { grid-column: 1; grid-row: 1; }
.ip-hero-masonry.m-2 .m-tile.m-2 { grid-column: 2; grid-row: 1; }
.ip-hero-masonry.m-3 { grid-template-columns: 1.7fr 1fr; grid-template-rows: 240px 240px; }
.ip-hero-masonry.m-3 .m-tile.m-big { grid-column: 1; grid-row: 1 / span 2; }
.ip-hero-masonry.m-3 .m-tile.m-2 { grid-column: 2; grid-row: 1; }
.ip-hero-masonry.m-3 .m-tile.m-3 { grid-column: 2; grid-row: 2; }
.ip-hero-masonry.m-4 { grid-template-columns: 1.7fr 1fr 1fr; grid-template-rows: 240px 240px; }
.ip-hero-masonry.m-4 .m-tile.m-big { grid-column: 1; grid-row: 1 / span 2; }
.ip-hero-masonry.m-4 .m-tile.m-2 { grid-column: 2; grid-row: 1; }
.ip-hero-masonry.m-4 .m-tile.m-3 { grid-column: 3; grid-row: 1; }
.ip-hero-masonry.m-4 .m-tile.m-4 { grid-column: 2 / span 2; grid-row: 2; }

/* ==========================
   BÜYÜK TILE = SLIDER
   .ip-gallery class'ı big tile'da; slider'ı tile'a sığdır.
   ========================== */
.ip-hero-masonry .m-big.ip-gallery {
    background: var(--ip-navy);
    border: none;
    box-shadow: none;
    border-radius: 12px;
    overflow: hidden;
}
.ip-hero-masonry .m-big .ip-gallery-main {
    aspect-ratio: auto;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}
.ip-hero-masonry .m-big .ip-gallery-slide img {
    transition: transform .8s cubic-bezier(.16, 1, .3, 1);
}
.ip-hero-masonry .m-big:hover .ip-gallery-slide.active img { transform: scale(1.03); }
/* Slider içinde thumbs yok */
.ip-hero-masonry .m-big .ip-gallery-thumbs { display: none; }

/* ==========================
   DETAIL CONTENT
   ========================== */
.ip-detail-wrap {
    padding: 40px 0 50px;
    background: var(--ip-white);
}
.ip-detail-grid {
    display: block;
}
.ip-detail-content { min-width: 0; max-width: 100%; }
.ip-detail-content > .ip-detail-section p { max-width: 980px; }
.ip-detail-content > .ip-detail-section .ip-lead { max-width: 980px; }

/* İletişim kartı — cards-row içinde yan yana, sticky değil */
.ip-contact-card {
    background: var(--ip-white);
    border: 1px solid var(--ip-border);
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(2, 18, 32, .04);
    transition: border-color .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}
.ip-contact-card:hover {
    border-color: var(--ip-gold-light);
    box-shadow: 0 8px 24px rgba(2, 18, 32, .08);
}
.ip-contact-card .ip-contact-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--ip-navy);
    letter-spacing: -.005em;
}
.ip-contact-card .ip-contact-desc {
    margin: 0 0 20px;
    color: var(--ip-text-muted);
    font-size: 14px;
    line-height: 1.55;
    font-weight: 400;
}
.ip-contact-card .ip-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    border-top: 1px solid var(--ip-border-soft);
    flex: 1;
}
.ip-contact-card .ip-contact-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--ip-border-soft);
    font-size: 14px;
    color: var(--ip-text);
    line-height: 1.4;
}
.ip-contact-card .ip-contact-list li:last-child { border-bottom: none; }
.ip-contact-card .ip-contact-icon {
    flex: none;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--ip-gold-soft);
    color: var(--ip-gold-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ip-contact-card .ip-contact-icon .ip-icon {
    width: 15px; height: 15px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ip-contact-card .ip-contact-list a {
    color: var(--ip-text);
    text-decoration: none;
    transition: color .2s ease;
    word-break: break-word;
}
.ip-contact-card .ip-contact-list a:hover { color: var(--ip-gold-dark); }
.ip-contact-card .ip-contact-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--ip-navy);
    color: var(--ip-gold);
    padding: 14px 22px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .04em;
    margin-top: auto;
    transition: background .25s ease, transform .25s ease;
}
.ip-contact-card .ip-contact-cta:hover {
    background: var(--ip-navy-light);
    transform: translateX(2px);
}
.ip-contact-card .ip-contact-cta .ip-icon {
    width: 15px; height: 15px;
    stroke: var(--ip-gold);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .25s ease;
}
.ip-contact-card .ip-contact-cta:hover .ip-icon { transform: translateX(3px); }

/* Lead — gold yan çubuk, kutu yok */
.ip-detail-content .ip-lead {
    font-size: 19px;
    color: var(--ip-navy);
    font-weight: 400;
    line-height: 1.55;
    margin: 0 0 40px;
    padding: 0 0 0 18px;
    background: transparent;
    border-left: 2px solid var(--ip-gold);
    border-radius: 0;
}

/* Section başlıkları — kalın navy, süs yok */
.ip-detail-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--ip-navy);
    margin: 0 0 18px;
    letter-spacing: -.01em;
    display: block;
}
.ip-detail-content h2::before { display: none; }
.ip-detail-content p {
    color: var(--ip-text);
    line-height: 1.7;
    margin: 0 0 14px;
    font-size: 15.5px;
    font-weight: 300;
}

.ip-detail-section { margin-bottom: 50px; }
.ip-detail-section:last-child { margin-bottom: 0; }

/* Genel ul (the_content içinden gelen) */
.ip-detail-content .ip-detail-section > ul:not(.ip-features-list) {
    list-style: none;
    padding: 0;
    margin: 18px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 32px;
}
.ip-detail-content .ip-detail-section > ul:not(.ip-features-list) li {
    padding-left: 18px;
    position: relative;
    color: var(--ip-text);
    font-weight: 300;
    line-height: 1.55;
}
.ip-detail-content .ip-detail-section > ul:not(.ip-features-list) li::before {
    content: '';
    position: absolute;
    left: 2px; top: 10px;
    width: 5px; height: 5px;
    background: var(--ip-gold);
    border-radius: 50%;
}

/* Özellikler listesi — sade satırlı tablo */
.ip-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--ip-border-soft);
}
.ip-features-list li {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--ip-border-soft);
    font-size: 14.5px;
    color: var(--ip-text);
    font-weight: 300;
    line-height: 1.45;
}
.ip-features-list li::before {
    content: '';
    flex: none;
    width: 5px; height: 5px;
    background: var(--ip-gold);
    border-radius: 50%;
    transform: none;
    box-shadow: none;
}
.ip-features-list li:nth-child(odd) { padding-right: 16px; }
.ip-features-list li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--ip-border-soft); }

/* ==========================
   GALLERY SLIDER — JS class'ları aynen, sade görünüm
   ========================== */
.ip-gallery {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: var(--ip-bg-warm);
    border: 1px solid var(--ip-border);
    box-shadow: 0 2px 8px rgba(2, 18, 32, .05);
}
.ip-gallery-main {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ip-navy);
}
.ip-gallery-slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity .55s ease;
}
.ip-gallery-slide.active { opacity: 1; }
.ip-gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ip-gallery-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    border: none;
    color: var(--ip-navy);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--ip-transition);
    z-index: 3;
    box-shadow: 0 4px 12px rgba(2,18,32,.18);
}
.ip-gallery-nav:hover { background: var(--ip-gold); color: var(--ip-navy); }
.ip-gallery-nav.prev { left: 16px; }
.ip-gallery-nav.next { right: 16px; }
.ip-gallery-nav .ip-icon { width: 18px; height: 18px; stroke-width: 2; }

.ip-gallery-counter {
    position: absolute;
    bottom: 16px; right: 16px;
    background: rgba(2,18,32,.78);
    color: var(--ip-gold);
    padding: 5px 12px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    z-index: 3;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.ip-gallery-counter .cur { color: var(--ip-gold); }
.ip-gallery-counter .total { opacity: .65; }

.ip-gallery-thumbs {
    display: flex;
    gap: 6px;
    padding: 8px;
    background: var(--ip-white);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--ip-gold) transparent;
}
.ip-gallery-thumbs::-webkit-scrollbar { height: 4px; }
.ip-gallery-thumbs::-webkit-scrollbar-track { background: transparent; }
.ip-gallery-thumbs::-webkit-scrollbar-thumb {
    background: var(--ip-gold);
    border-radius: 2px;
}
.ip-gallery-thumbs::-webkit-scrollbar-thumb:hover { background: var(--ip-gold-dark); }

.ip-gallery-thumb {
    flex: none;
    width: 80px; height: 56px;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    opacity: .5;
    transition: var(--ip-transition);
    position: relative;
    border: none;
}
.ip-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ip-gallery-thumb:hover { opacity: .85; }
.ip-gallery-thumb.active {
    opacity: 1;
    outline: 2px solid var(--ip-gold);
    outline-offset: -2px;
}

/* ==========================
   CARDS ROW — Proje Bilgileri + Konum + Bize Ulaşın
   ========================== */
.ip-cards-row {
    padding: 30px 0 80px;
    background: var(--ip-white);
}
.ip-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: stretch;
}
.ip-cards-grid.cards-1 { grid-template-columns: 1fr; }
.ip-cards-grid.cards-2 { grid-template-columns: 1fr 1fr; }
.ip-cards-grid.cards-3 { grid-template-columns: 1fr 1fr 1fr; }

.ip-info-card {
    background: var(--ip-white);
    border: 1px solid var(--ip-border);
    border-radius: 14px;
    padding: 30px;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(2, 18, 32, .04);
    transition: border-color .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}
.ip-info-card:hover {
    border-color: var(--ip-gold-light);
    box-shadow: 0 8px 24px rgba(2, 18, 32, .08);
}
.ip-info-header {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 20px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--ip-border-soft);
    gap: 10px;
}
.ip-info-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--ip-navy);
    letter-spacing: -.005em;
}
.ip-info-list {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ip-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--ip-border-soft);
    font-size: 14.5px;
    gap: 12px;
}
.ip-info-row:last-child { border-bottom: none; }
.ip-info-label {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--ip-text-muted);
    font-weight: 400;
    font-size: 14px;
}
.ip-info-label .ip-icon {
    width: 16px; height: 16px;
    color: var(--ip-gold);
}
.ip-info-value {
    color: var(--ip-navy);
    font-weight: 500;
    text-align: right;
    font-size: 14px;
}

/* Map card — bilgi kartı ile aynı stil + harita iframe */
.ip-map-card {
    background: var(--ip-white);
    border: 1px solid var(--ip-border);
    border-radius: 14px;
    overflow: hidden;
    background-color: var(--ip-white);
    box-shadow: 0 2px 8px rgba(2, 18, 32, .04);
    transition: border-color .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}
.ip-map-card:hover {
    border-color: var(--ip-gold-light);
    box-shadow: 0 8px 24px rgba(2, 18, 32, .08);
}
.ip-map-card .ip-map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 30px 18px;
    border-bottom: 1px solid var(--ip-border-soft);
    gap: 10px;
}
.ip-map-card .ip-map-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--ip-navy);
    letter-spacing: -.005em;
}
.ip-map-card .ip-map-link {
    color: var(--ip-gold-dark);
    text-decoration: none;
    font-size: 12.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .2s ease;
}
.ip-map-card .ip-map-link:hover { color: var(--ip-navy); }
.ip-map-card .ip-map-link .ip-icon { width: 12px; height: 12px; }
.ip-map-card .ip-map-body {
    flex: 1;
    min-height: 320px;
    background: var(--ip-bg-warm);
}
.ip-map-card iframe {
    width: 100%; height: 100%;
    border: 0; display: block;
}
.ip-map-card.no-map { display: none; }

/* ==========================
   LIGHTBOX — masonry tile click ile açılır
   ========================== */
.ip-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(2, 18, 32, .96);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .35s ease;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.ip-lightbox.open {
    display: flex;
    opacity: 1;
}
.ip-lb-stage {
    position: relative;
    width: min(90vw, 1400px);
    height: min(86vh, 900px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ip-lb-stage img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 6px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
    user-select: none;
    -webkit-user-drag: none;
}
.ip-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #ffffff;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background .25s ease, border-color .25s ease;
    z-index: 2;
    padding: 0;
    opacity: 1 !important;
    visibility: visible !important;
}
.ip-lb-nav:hover,
.ip-lb-nav:focus,
.ip-lb-nav:focus-visible,
.ip-lb-nav:active {
    background: var(--ip-gold) !important;
    background-color: var(--ip-gold) !important;
    border-color: var(--ip-gold) !important;
    color: var(--ip-navy) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(-50%) !important;
}

.ip-lb-nav.prev { left: 24px; }
.ip-lb-nav.next { right: 24px; }
.ip-lb-nav svg {
    width: 24px; height: 24px;
    stroke: #ffffff;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block !important;
    opacity: 1 !important;
}
.ip-lb-nav:hover svg,
.ip-lb-nav:focus svg,
.ip-lb-nav:active svg {
    stroke: var(--ip-navy) !important;
    opacity: 1 !important;
	color: white !important;
}

.ip-lb-close {
    position: absolute;
    top: 24px; right: 24px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #ffffff;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
    z-index: 2;
    padding: 0;
    opacity: 1 !important;
    visibility: visible !important;
}
.ip-lb-close:hover,
.ip-lb-close:focus,
.ip-lb-close:focus-visible,
.ip-lb-close:active {
    background: var(--ip-gold) !important;
    background-color: var(--ip-gold) !important;
    border-color: var(--ip-gold) !important;
    color: var(--ip-navy) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: rotate(90deg) !important;
}
.ip-lb-close svg {
    width: 18px; height: 18px;
    stroke: #ffffff;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    display: block !important;
    opacity: 1 !important;
}
.ip-lb-close:hover svg,
.ip-lb-close:focus svg,
.ip-lb-close:active svg {
    stroke: var(--ip-navy) !important;
    opacity: 1 !important;
}
.ip-lb-counter {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--ip-white);
    font-size: 13px;
    letter-spacing: .14em;
    font-weight: 500;
    padding: 8px 18px;
    background: rgba(2, 18, 32, .6);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 100px;
    z-index: 2;
}
.ip-lb-counter .cur { color: var(--ip-gold); }
.ip-lb-counter .sep { margin: 0 8px; opacity: .5; }
body.ip-lb-open { overflow: hidden; }
@media (max-width: 768px) {
    .ip-lb-nav { width: 42px; height: 42px; }
    .ip-lb-nav.prev { left: 10px; }
    .ip-lb-nav.next { right: 10px; }
    .ip-lb-close { width: 38px; height: 38px; top: 14px; right: 14px; }
    .ip-lb-counter { bottom: 18px; font-size: 12px; padding: 6px 14px; }
}

/* ==========================
   RELATED
   ========================== */
.ip-related {
    background: var(--ip-bg-warm);
    padding: 90px 0;
    border-top: 1px solid var(--ip-border);
}

/* ==========================
   RESPONSIVE
   ========================== */
@media (max-width: 992px) {
    .ip-title-row { grid-template-columns: 1fr; gap: 20px; }
    .ip-title-right { align-items: flex-start; }
    .ip-cards-grid.cards-3 { grid-template-columns: 1fr 1fr; }
    .ip-cards-grid.cards-3 > :nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .ip-cards-grid,
    .ip-cards-grid.cards-2,
    .ip-cards-grid.cards-3 { grid-template-columns: 1fr; gap: 18px; }
    .ip-cards-grid.cards-3 > :nth-child(3) { grid-column: auto; }
}
@media (max-width: 768px) {
    .ip-hero-gallery { padding: 22px 0 24px; }
    .ip-hero-title { padding: 10px 0 0; }
    .ip-title-row { padding: 2px 0 18px; }
    .ip-title-left h1 { font-size: 24px; letter-spacing: -.015em; line-height: 1.15; margin-bottom: 6px; }
    .ip-title-subtitle { font-size: 14px; }
    .ip-title-right .ip-badge { min-width: 120px; padding: 8px 16px; font-size: 11px; }
    .ip-title-right .ip-loc { font-size: 14px; }
    .ip-detail-wrap { padding: 30px 0 36px; }
    .ip-detail-content .ip-lead { font-size: 17px; margin-bottom: 28px; }
    .ip-detail-section { margin-bottom: 34px; }
    .ip-info-card { padding: 22px; }
    .ip-map-card .ip-map-header { padding: 20px 22px 16px; }
    .ip-map-card .ip-map-body { min-height: 260px; }
    .ip-info-header h3,
    .ip-map-card .ip-map-header h3 { font-size: 16px; }
    .ip-grid-wrap { padding: 50px 0 60px; }
    .ip-section-header h2 { font-size: 26px; }
    .ip-card-title { font-size: 18px; }
    .ip-filter-bar { padding: 6px; }
    .ip-filter-btn { padding: 8px 18px; font-size: 13px; }

    /* Masonry — mobilde sadece slider + thumb şeridi (preview tile'lar gizli) */
    .ip-hero-masonry,
    .ip-hero-masonry.m-single,
    .ip-hero-masonry.m-2,
    .ip-hero-masonry.m-3,
    .ip-hero-masonry.m-4 {
        display: block;
        grid-template-columns: none;
        grid-template-rows: none;
        gap: 0;
        margin-bottom: 0;
    }
    .ip-hero-masonry .m-tile:not(.m-big) { display: none; }

    .ip-hero-masonry .m-big,
    .ip-hero-masonry .m-big.ip-gallery {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }
    .ip-hero-masonry .m-big .ip-gallery-main {
        aspect-ratio: 4 / 3;
        height: auto;
        width: 100%;
    }
    /* Tek görsel (slider değil) için aspect ratio */
    .ip-hero-masonry .m-big > img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }
    /* Thumbs mobilde görünür, alt strip */
    .ip-hero-masonry .m-big .ip-gallery-thumbs {
        display: flex;
        background: var(--ip-white);
        padding: 8px 0 0;
    }
    .ip-hero-masonry .m-big .ip-gallery-thumb {
        width: 64px;
        height: 48px;
        border-radius: 4px;
    }

    /* Özellikler tek kolon */
    .ip-features-list { grid-template-columns: 1fr; }
    .ip-features-list li:nth-child(odd),
    .ip-features-list li:nth-child(even) { padding: 13px 0; border-left: none; }
}