/* ==========================================================================
   Hotel Detail Page (Otel Detay Sayfası)
   - Hero galeri, sticky nav, içerik kartları, sidebar, lightbox, modal
   - View: app/Views/pages/hotels/detail.php (+ partials/hotels/detail/*)
   ========================================================================== */

body.hotel-detail { overflow-x: hidden; background: var(--gray-50, #f9fafb); }
body.hotel-detail .site-main { padding-top: var(--space-4); padding-bottom: 6rem; }
@media (max-width: 768px) { body.hotel-detail .site-main { padding-bottom: 7.5rem; } }

.hd-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1.25rem 1rem 1rem;
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.hd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    color: var(--gray-500, #6b7280);
    flex-wrap: wrap;
}
.hd-breadcrumb a { color: var(--gray-600, #4b5563); text-decoration: none; transition: color .15s; }
.hd-breadcrumb a:hover { color: var(--color-primary); }
.hd-breadcrumb .sep { opacity: .55; }
.hd-breadcrumb .current { color: var(--gray-900, #111827); font-weight: 600; }

/* ==========================================================================
   Hero (galeri)
   ========================================================================== */
.hd-hero {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 8px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--gray-100, #f3f4f6);
    margin-bottom: 1.25rem;
    position: relative;
    aspect-ratio: 21 / 9;
}
@media (min-width: 1280px) {
    .hd-hero { aspect-ratio: 24 / 9; }
}
.hd-hero-main {
    position: relative;
    background: var(--gray-200);
    cursor: zoom-in;
    overflow: hidden;
    height: 100%;
}
.hd-hero-main img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.hd-hero-main:hover img { transform: scale(1.03); }

.hd-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 100%;
}
.hd-hero-grid > .hd-hero-thumb {
    position: relative;
    overflow: hidden;
    background: var(--gray-200);
    cursor: zoom-in;
    min-height: 0;
}
.hd-hero-grid > .hd-hero-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.hd-hero-grid > .hd-hero-thumb:hover img { transform: scale(1.04); }

.hd-hero-empty {
    aspect-ratio: 16 / 7;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    color: var(--gray-400);
    border-radius: 16px;
}

.hd-hero-show-all {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: rgba(255,255,255,.95);
    color: var(--gray-900);
    border: 1px solid rgba(17,24,39,.08);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
    backdrop-filter: blur(6px);
    transition: transform .15s ease, box-shadow .15s ease;
    z-index: 2;
}
.hd-hero-show-all:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,0,0,.16); }
.hd-hero-show-all .count { color: var(--gray-500); font-weight: 600; }

.hd-hero-overlay-actions {
    position: absolute;
    top: 14px; right: 14px;
    display: flex; gap: 8px;
    z-index: 2;
}
.hd-icon-btn {
    width: 40px; height: 40px;
    display: inline-flex;
    align-items: center; justify-content: center;
    background: rgba(255,255,255,.92);
    color: var(--gray-700);
    border: 1px solid rgba(17,24,39,.06);
    border-radius: 999px;
    cursor: pointer;
    transition: all .15s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.hd-icon-btn:hover { transform: translateY(-1px); color: var(--color-primary); }
.hd-icon-btn.is-active { color: #ef4444; background: #fff; }

@media (max-width: 900px) {
    .hd-hero {
        grid-template-columns: 1fr;
        aspect-ratio: auto;
    }
    .hd-hero-main { aspect-ratio: 16 / 10; }
    .hd-hero-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
        height: auto;
    }
    .hd-hero-grid > .hd-hero-thumb { aspect-ratio: 1 / 1; }
    .hd-hero-grid > .hd-hero-thumb:nth-child(n+5) { display: none; }
}
@media (max-width: 600px) {
    .hd-hero-grid { grid-template-columns: repeat(3, 1fr); }
    .hd-hero-grid > .hd-hero-thumb:nth-child(n+4) { display: none; }
}

.hd-hero--slider {
    display: block;
    grid-template-columns: none;
    aspect-ratio: 21 / 9;
}
@media (min-width: 1280px) {
    .hd-hero--slider { aspect-ratio: 24 / 9; }
}
@media (max-width: 900px) {
    .hd-hero--slider { aspect-ratio: 16 / 10; }
}
.hd-hero-slider-slide {
    position: absolute;
    inset: 0;
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--gray-200);
    cursor: zoom-in;
    overflow: hidden;
    opacity: 0;
    transform: translateX(0);
    transition: transform .55s cubic-bezier(.22, .61, .36, 1), opacity .4s ease;
    pointer-events: none;
    z-index: 0;
}
.hd-hero-slider-slide[hidden] {
    display: block !important;
}
.hd-hero-slider-slide.is-active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}
.hd-hero-slider-slide.is-in-right { transform: translateX(100%); opacity: 1; transition: none; }
.hd-hero-slider-slide.is-in-left { transform: translateX(-100%); opacity: 1; transition: none; }
.hd-hero-slider-slide.is-out-left { transform: translateX(-100%); opacity: 1; }
.hd-hero-slider-slide.is-out-right { transform: translateX(100%); opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    .hd-hero-slider-slide { transition: none; }
}
.hd-hero-slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hd-hero-slider-slide.is-video,
.hd-hero-main.is-video,
.hd-hero-thumb.is-video {
    cursor: pointer;
}
.hd-hero .gallery-video-poster {
    position: absolute;
    inset: 0;
    display: block;
    background: #0f172a;
}
.hd-hero .gallery-video-poster img,
.hd-hero .gallery-video-poster__empty {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hd-hero .gallery-video-poster__empty {
    background: radial-gradient(circle at 50% 45%, #1e293b 0%, #020617 70%);
}
.hd-hero .gallery-video-poster__play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    border-radius: 50%;
    background: rgba(220, 38, 38, .94);
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
    pointer-events: none;
}
.hd-hero .gallery-video-poster__play::after {
    content: "";
    position: absolute;
    left: 26px;
    top: 20px;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #fff;
}
.hd-hero-thumb .gallery-video-poster__play {
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
}
.hd-hero-thumb .gallery-video-poster__play::after {
    left: 16px;
    top: 12px;
    border-width: 8px 0 8px 13px;
}
.hd-hero-slider-slide .gallery-video-iframe,
.hd-hero-main .gallery-video-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}
.hd-lightbox-video {
    width: min(92vw, 960px);
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: 86vh;
    border: 0;
    border-radius: 8px;
    background: #000;
}
.hd-hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    color: var(--gray-800);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.14);
}
.hd-hero-slider-prev { left: 14px; }
.hd-hero-slider-next { right: 14px; }
.hd-hero-slider-nav:hover { color: var(--color-primary); }
.hd-hero-slider-counter {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 3;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(17,24,39,.72);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ==========================================================================
   Titlebar (başlık + hızlı bilgiler + fiyat kartı)
   ========================================================================== */
.hd-titlebar {
    background: white;
    border: 1px solid var(--color-border-light, #f3f4f6);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
}
.hd-titlebar-left { min-width: 0; }
.hd-title-row {
    display: flex; align-items: center; gap: 0.75rem;
    flex-wrap: wrap; margin-bottom: 0.5rem;
}
.hd-title-logo {
    flex-shrink: 0;
    max-height: 44px; max-width: 140px;
    width: auto; height: auto;
    object-fit: contain;
    background: white;
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    padding: 4px 8px;
}
.hd-title {
    font-size: clamp(1.4rem, 2.6vw, 1.875rem);
    font-weight: 800;
    color: var(--gray-900);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.hd-quickfacts {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}
.hd-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: var(--gray-50, #f9fafb);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1;
}
.hd-chip svg { color: var(--gray-500); }
.hd-chip--stars {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}
.hd-chip--stars svg { color: #f59e0b; }
.hd-chip--accent {
    background: rgba(var(--primary-rgb, 237, 75, 37), 0.08);
    color: var(--color-primary);
    border-color: rgba(var(--primary-rgb, 237, 75, 37), 0.18);
}
.hd-chip--accent svg { color: var(--color-primary); }

.hd-price-card {
    text-align: right;
    min-width: 180px;
}
.hd-price-label {
    font-size: 11px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 2px;
}
.hd-price-value {
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.hd-price-unit {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-500);
    margin-left: 4px;
}
.hd-cta {
    display: inline-flex;
    align-items: center; justify-content: center;
    gap: 8px;
    margin-top: 0.5rem;
    padding: 0.625rem 1.1rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb, 237, 75, 37), 0.28);
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
    width: 100%;
}
.hd-cta:hover { transform: translateY(-1px); color: white; opacity: .95; box-shadow: 0 8px 22px rgba(var(--primary-rgb, 237, 75, 37), 0.36); }

@media (max-width: 720px) {
    .hd-titlebar { grid-template-columns: 1fr; }
    .hd-price-card { text-align: left; min-width: 0; }
    .hd-cta { width: 100%; }
}

/* ==========================================================================
   Sticky bölüm navigasyonu
   ========================================================================== */
.hd-sticky-nav {
    position: sticky;
    top: 64px;
    z-index: 30;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border-light);
    border-radius: 12px;
    margin-bottom: 1.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.hd-sticky-nav::-webkit-scrollbar { display: none; }
.hd-sticky-nav-inner {
    display: flex;
    gap: 4px;
    padding: 6px;
    min-width: max-content;
}
.hd-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: transparent;
    color: var(--gray-600);
    border: none;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: all .12s ease;
}
.hd-nav-btn:hover { background: var(--gray-100); color: var(--gray-900); }
.hd-nav-btn.is-active { background: var(--color-primary); color: white; box-shadow: 0 2px 6px rgba(var(--primary-rgb, 237, 75, 37), 0.25); }
.hd-nav-btn.is-active svg { color: white; }
.hd-nav-btn svg { color: var(--gray-500); }

/* ==========================================================================
   İçerik düzeni (ana + sidebar grid) ve genel kart stilleri
   ========================================================================== */
.hd-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 1.5rem;
    align-items: start;
}
@media (max-width: 1024px) {
    .hd-content { grid-template-columns: 1fr; }
}

.hd-section {
    background: white;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--color-border-light, #f3f4f6);
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
    scroll-margin-top: 130px;
}
.hd-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 0.875rem 0;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid var(--color-border-light, #f3f4f6);
    letter-spacing: -0.01em;
}
.hd-section-title svg { color: var(--color-primary); }

.hd-prose {
    font-size: 0.9375rem;
    color: var(--gray-700);
    line-height: 1.75;
}
.hd-prose h2, .hd-prose h3 { color: var(--gray-900); margin: 1.25rem 0 0.5rem; }
.hd-prose p { margin-bottom: 0.75rem; }
.hd-prose ul, .hd-prose ol { margin: 0 0 0.75rem 1.25rem; }

/* Genel bilgi kartları */
.hd-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.75rem;
}
.hd-info-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem;
    background: var(--gray-50);
    border: 1px solid var(--color-border-light);
    border-radius: 12px;
    transition: all .15s ease;
}
.hd-info-card:hover { border-color: rgba(var(--primary-rgb, 237, 75, 37), 0.25); transform: translateY(-1px); }
.hd-info-icon {
    flex-shrink: 0;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: white;
    color: var(--color-primary);
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.hd-info-meta { min-width: 0; }
.hd-info-label {
    font-size: 11px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}
.hd-chip--doc {
    background: var(--gray-50, #f9fafb);
    border: 1px solid var(--gray-200, #e5e7eb);
    font-variant-numeric: tabular-nums;
}

.hd-info-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
}

/* Tesis özellikleri */
.hd-feature-group { margin-bottom: 1rem; }
.hd-feature-group:last-child { margin-bottom: 0; }
.hd-feature-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.625rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed var(--gray-200);
}
.hd-feature-group-title::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 999px;
    background: var(--color-primary);
}
.hd-feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.4rem 0.625rem;
}
.hd-feature-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 0.75rem;
    background: white;
    border: 1px solid var(--color-border-light);
    border-radius: 10px;
    font-size: 0.8125rem;
    color: var(--gray-700);
    transition: all .15s ease;
}
.hd-feature-item:hover {
    border-color: rgba(var(--primary-rgb, 237, 75, 37), 0.3);
    background: rgba(var(--primary-rgb, 237, 75, 37), 0.04);
    color: var(--gray-900);
}
.hd-feature-item .check {
    flex-shrink: 0;
    width: 18px; height: 18px;
    display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 999px;
    background: rgba(16, 185, 129, .12);
    color: #10b981;
}

/* Etiketler */
.hd-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.hd-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.4rem 0.875rem;
    background: rgba(var(--primary-rgb, 237, 75, 37), 0.08);
    color: var(--color-primary);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 500;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */
.hd-sidebar { position: sticky; top: 130px; }
.hd-sidebar .hd-section { padding: 1.125rem 1.25rem; }
.hd-sidebar-cta {
    display: flex; flex-direction: column; gap: 0.625rem;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(var(--primary-rgb, 237, 75, 37), 0.06), rgba(var(--primary-rgb, 237, 75, 37), 0.02));
    border-radius: 12px;
    border: 1px solid rgba(var(--primary-rgb, 237, 75, 37), 0.16);
    margin-bottom: 0.75rem;
}
.hd-sidebar-cta-row { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.hd-sidebar-cta-label { font-size: 11px; color: var(--gray-500); text-transform: uppercase; letter-spacing: .04em; }
.hd-sidebar-cta-price { font-size: 1.5rem; font-weight: 800; color: var(--color-primary); letter-spacing: -0.02em; }
.hd-sidebar-cta-price small { font-size: 0.8125rem; font-weight: 500; color: var(--gray-500); }

.hd-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.75rem;
}
.hd-quick-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0.625rem 0.5rem;
    background: white;
    color: var(--gray-700);
    border: 1px solid var(--color-border-light);
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s ease;
    cursor: pointer;
}
.hd-quick-action:hover {
    color: var(--color-primary);
    border-color: rgba(var(--primary-rgb, 237, 75, 37), 0.32);
    background: rgba(var(--primary-rgb, 237, 75, 37), 0.04);
}

.hd-contact-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--color-border-light);
    font-size: 0.875rem;
}
.hd-contact-item:last-child { border-bottom: none; }
.hd-contact-icon {
    flex-shrink: 0;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: var(--gray-50);
    color: var(--color-primary);
}
.hd-contact-value { color: var(--gray-900); word-break: break-all; min-width: 0; }
.hd-contact-value a { color: var(--color-primary); text-decoration: none; }
.hd-contact-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--gray-500);
}

.hd-map { height: 240px; border-radius: 10px; overflow: hidden; border: 1px solid var(--color-border); }
.hd-map--compact { height: 148px; border-radius: 8px; }
.hd-map-actions { display: flex; gap: 0.5rem; margin-top: 0.625rem; }
.hd-map-actions--compact { margin-top: 0.5rem; }
.hd-location-compact__address {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--gray-600);
    margin: 0.5rem 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hd-location-compact .hd-quick-action {
    font-size: 0.75rem;
    padding: 0.375rem 0.625rem;
}

/* ==========================================================================
   Benzer Tesisler — Sidebar kompakt liste
   ========================================================================== */
.hd-similar-mini { padding: 1.125rem 1.25rem; }
.hd-sim-list { display: flex; flex-direction: column; gap: 0.625rem; }
.hd-sim-item {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 0.75rem;
    padding: 0.5rem;
    background: white;
    border: 1px solid var(--color-border-light);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all .15s ease;
}
.hd-sim-item:hover {
    border-color: rgba(var(--primary-rgb, 237, 75, 37), 0.30);
    background: rgba(var(--primary-rgb, 237, 75, 37), 0.03);
    transform: translateY(-1px);
}
.hd-sim-thumb {
    width: 76px; height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--gray-100);
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.hd-sim-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hd-sim-thumb-empty { color: var(--gray-300); }
.hd-sim-meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; justify-content: center; }
.hd-sim-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.hd-sim-sub {
    font-size: 11px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.hd-sim-loc {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    min-width: 0;
}
.hd-sim-loc svg { color: var(--gray-400); flex-shrink: 0; }
.hd-sim-stars { color: #d97706; letter-spacing: -1px; }
.hd-sim-price {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin-top: 2px;
}
.hd-sim-price small { color: var(--gray-500); font-weight: 500; }
.hd-sim-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}
.hd-sim-more:hover { color: var(--color-primary); opacity: .85; }

/* ==========================================================================
   Mobil sticky alt CTA
   ========================================================================== */
.hd-mobile-cta {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 950;
    background: white;
    border-top: 1px solid var(--color-border-light);
    box-shadow: 0 -8px 24px rgba(0,0,0,.08);
    padding: 0.625rem 0.875rem calc(0.625rem + env(safe-area-inset-bottom));
    align-items: center;
    gap: 0.625rem;
}
.hd-mobile-cta-info { flex: 1; min-width: 0; }
.hd-mobile-cta-label { font-size: 11px; color: var(--gray-500); text-transform: uppercase; letter-spacing: .04em; }
.hd-mobile-cta-price { font-size: 1.125rem; font-weight: 800; color: var(--color-primary); }
.hd-mobile-cta-btn {
    display: inline-flex;
    align-items: center; gap: 8px;
    padding: 0.75rem 1.25rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
}
@media (max-width: 1024px) {
    .hd-mobile-cta.is-shown { display: flex; }
    .hd-sidebar { position: static; }
}

/* ==========================================================================
   Lightbox (galeri)
   ========================================================================== */
.hd-lightbox {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 9999;
    display: none;
    align-items: center; justify-content: center;
}
.hd-lightbox.is-open { display: flex; }
.hd-lightbox-close,
.hd-lightbox-prev,
.hd-lightbox-next {
    position: absolute;
    background: rgba(255,255,255,.12);
    color: white;
    border: 1px solid rgba(255,255,255,.18);
    width: 44px; height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center; justify-content: center;
    cursor: pointer;
    transition: all .15s ease;
}
.hd-lightbox-close:hover,
.hd-lightbox-prev:hover,
.hd-lightbox-next:hover { background: rgba(255,255,255,.2); }
.hd-lightbox-close { top: 18px; right: 18px; }
.hd-lightbox-prev  { left: 18px; top: 50%; transform: translateY(-50%); }
.hd-lightbox-next  { right: 18px; top: 50%; transform: translateY(-50%); }
.hd-lightbox-img {
    max-width: 92vw;
    max-height: 86vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.hd-lightbox-counter {
    position: absolute;
    bottom: 22px; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,.85);
    font-size: 0.8125rem;
    background: rgba(0,0,0,.4);
    padding: 6px 12px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

/* ==========================================================================
   Tesis Talebi (Inquiry CTA + form alanları)
   ========================================================================== */
.hd-inquiry-card {
    background: linear-gradient(180deg, rgba(var(--primary-rgb, 237, 75, 37), 0.05), white 60%);
    border: 1px solid var(--color-border-light);
    border-radius: 14px;
    padding: 1.125rem 1.25rem 1.25rem;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .04);
}
.hd-inquiry-head {
    display: flex; align-items: flex-start; gap: 0.75rem;
    margin-bottom: 0.875rem;
}
.hd-inquiry-icon {
    width: 38px; height: 38px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(var(--primary-rgb, 237, 75, 37), 0.10);
    color: var(--color-primary);
    border-radius: 10px;
}
.hd-inquiry-title { font-size: 1rem; font-weight: 700; color: var(--gray-900); line-height: 1.25; margin: 0; }
.hd-inquiry-subtitle { font-size: 0.8125rem; color: var(--gray-500); margin-top: 2px; }

.hd-inquiry-form { display: grid; gap: 0.625rem; }
.hd-inquiry-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.hd-inquiry-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; }

.hd-inquiry-field { display: flex; flex-direction: column; gap: 0.25rem; }
.hd-inquiry-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.hd-inquiry-input,
.hd-inquiry-textarea,
.hd-inquiry-select {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--color-border-light, #e5e7eb);
    border-radius: 9px;
    background: white;
    color: var(--gray-900);
    font-size: 0.875rem;
    font-family: inherit;
    transition: all .15s ease;
    box-sizing: border-box;
}
.hd-inquiry-textarea { resize: vertical; min-height: 76px; }
.hd-inquiry-input:focus,
.hd-inquiry-textarea:focus,
.hd-inquiry-select:focus {
    outline: none;
    border-color: rgba(var(--primary-rgb, 237, 75, 37), 0.5);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 237, 75, 37), 0.10);
}
.hd-inquiry-input.is-error,
.hd-inquiry-textarea.is-error,
.hd-inquiry-select.is-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.10);
}

.hd-inquiry-submit {
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.75rem 1rem;
    background: var(--color-primary, #ed4b25);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center; justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all .15s ease;
}
.hd-inquiry-submit:hover { transform: translateY(-1px); opacity: .96; box-shadow: 0 8px 22px rgba(var(--primary-rgb, 237, 75, 37), 0.32); }
.hd-inquiry-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; box-shadow: none; }

.hd-inquiry-note {
    font-size: 11px;
    color: var(--gray-500);
    text-align: center;
    margin-top: 0.25rem;
    line-height: 1.4;
}

/* "veya hemen ulaşın" ayırıcı + WhatsApp/Telefon hızlı butonları */
.hd-contact-divider {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin: 0.875rem 0 0.625rem;
}
.hd-contact-divider::before,
.hd-contact-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}
.hd-contact-divider span {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.hd-contact-cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}
.hd-contact-cta:has(.hd-contact-btn:only-child) { grid-template-columns: 1fr; }

.hd-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.625rem 0.5rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    line-height: 1.2;
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease, background-color .15s ease;
    cursor: pointer;
    min-width: 0;
}
.hd-contact-btn:hover { transform: translateY(-1px); }
.hd-contact-btn-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hd-contact-btn--wa {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, .28);
}
.hd-contact-btn--wa:hover {
    color: white;
    background: #1ebd5a;
    box-shadow: 0 6px 16px rgba(37, 211, 102, .36);
}

.hd-contact-btn--phone {
    background: white;
    color: var(--gray-900, #111827);
    border-color: var(--gray-200, #e5e7eb);
}
.hd-contact-btn--phone:hover {
    color: var(--color-primary);
    border-color: rgba(var(--primary-rgb, 237, 75, 37), 0.32);
    background: rgba(var(--primary-rgb, 237, 75, 37), 0.04);
}

.hd-inquiry-status {
    display: none;
    padding: 0.625rem 0.75rem;
    border-radius: 9px;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
    align-items: flex-start;
    gap: 0.5rem;
}
.hd-inquiry-status.is-shown { display: flex; }
.hd-inquiry-status.is-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.hd-inquiry-status.is-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.hd-inquiry-spinner {
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: white;
    border-radius: 50%;
    animation: hd-inquiry-spin .8s linear infinite;
}
@keyframes hd-inquiry-spin { to { transform: rotate(360deg); } }

@media (max-width: 480px) {
    .hd-inquiry-grid-2,
    .hd-inquiry-grid-3 { grid-template-columns: 1fr 1fr; }
    .hd-inquiry-grid-3 .hd-inquiry-field:last-child { grid-column: span 2; }
}

/* ==========================================================================
   Tesis Talebi Modal
   ========================================================================== */
.hd-modal {
    position: fixed; inset: 0;
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.hd-modal[hidden] { display: none !important; }
.hd-modal.is-open { display: flex; }
.hd-modal-overlay {
    position: absolute; inset: 0;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(4px);
    animation: hd-modal-fade .18s ease-out;
}
.hd-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 2rem);
    background: white;
    border-radius: 16px;
    box-shadow: 0 24px 48px -12px rgba(0,0,0,.25), 0 8px 24px -8px rgba(0,0,0,.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: hd-modal-slide .22s cubic-bezier(.2,.9,.3,1.2);
}
.hd-modal-close {
    position: absolute;
    top: 12px; right: 12px;
    width: 36px; height: 36px;
    border: none;
    border-radius: 10px;
    background: rgba(15, 23, 42, .04);
    color: var(--gray-700, #374151);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .15s ease;
    z-index: 1;
}
.hd-modal-close:hover {
    background: rgba(15, 23, 42, .08);
    color: var(--gray-900, #111827);
}
.hd-modal-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem 3.25rem 1rem 1.25rem;
    border-bottom: 1px solid var(--color-border-light, #e5e7eb);
    background: linear-gradient(180deg, rgba(var(--primary-rgb, 237, 75, 37), 0.06), white 100%);
}
.hd-modal-body {
    padding: 1.125rem 1.25rem 1.25rem;
    overflow-y: auto;
    flex: 1;
}
body.hd-modal-open { overflow: hidden; }

@keyframes hd-modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hd-modal-slide {
    from { opacity: 0; transform: translateY(8px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 480px) {
    .hd-modal { padding: 0; align-items: flex-end; }
    .hd-modal-dialog {
        max-width: 100%;
        max-height: 92vh;
        border-radius: 16px 16px 0 0;
    }
}
