/* Cihantalya Temizlik — site.css
   Tek dosya, site geneli. Sayfaya özel yeni sınıflar `ct-` önekiyle yazılır. */

:root {
    --ct-primary: #1d5fd6;
    --ct-primary-dark: #123b91;
    --ct-navy: #0a1d3d;
    --ct-accent: #ffb547;
    --ct-ink: #101828;
    --ct-muted: #5c6b7c;
    --ct-bg: #ffffff;
    --ct-bg-soft: #f2f6fd;
    --ct-border: #e2e8f4;
    --ct-radius: 14px;
    --ct-shadow: 0 10px 30px rgba(16, 40, 90, 0.10);
    --ct-shadow-lg: 0 20px 50px rgba(16, 40, 90, 0.16);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--ct-ink);
    background: var(--ct-bg);
    line-height: 1.6;
}

/* Genel sayfa (admin hariç) için hafif derinlik: üstte yumuşak mavi blob'lar */
body:not(.ct-admin) {
    background:
        radial-gradient(700px 400px at 92% 0%, rgba(29,95,214,0.07), transparent 60%),
        radial-gradient(600px 380px at -5% 15%, rgba(29,95,214,0.06), transparent 60%),
        var(--ct-bg);
}

.ct-section-soft {
    position: relative;
    background-color: var(--ct-bg-soft);
    background-image:
        radial-gradient(1px 1px at 20px 20px, rgba(16,40,90,0.08) 1px, transparent 0),
        radial-gradient(1px 1px at 60px 60px, rgba(16,40,90,0.08) 1px, transparent 0);
    background-size: 80px 80px;
}

.ct-wave-divider { display: block; width: 100%; height: 64px; margin-bottom: -1px; }
.ct-wave-divider path { fill: var(--ct-bg); }

a { color: inherit; }

/* Scroll-reveal animasyonu — varsayılan HER ZAMAN görünür (JS/SEO güvenliği).
   JS yüklenip çalıştığında `.js-armed` ekler, o andan sonra fade-up efekti devreye girer. */
.ct-reveal { opacity: 1; transform: none; }
.ct-reveal.js-armed {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.ct-reveal.js-armed.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .ct-reveal.js-armed { opacity: 1; transform: none; transition: none; }
}

.ct-icon { width: 46px; height: 46px; stroke: var(--ct-primary); }

.ct-error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    gap: 12px;
    padding: 24px;
}

.ct-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--ct-primary);
    color: #fff;
    border-radius: var(--ct-radius);
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.ct-btn:hover { background: var(--ct-primary-dark); }
.ct-btn-lg { padding: 16px 32px; font-size: 1.1rem; }

/* Randevu Al / ana CTA rengi — sitede tek tip, ana sayfa hero'suyla aynı altın vurgu.
   Metin koyu lacivert: beyaz üzerinde altın+beyaz kontrastı WCAG AA'yı geçemiyordu (1.76:1);
   lacivert metinle 9.5:1'e çıkıyor. !important: `.ct-nav a` gibi bağlamsal kurallar
   yanlışlıkla rengi ezmesin diye (bkz. sanat yönetmeni denetimi). */
.ct-btn-cta {
    display: inline-block;
    padding: 12px 24px;
    background: var(--ct-accent);
    color: var(--ct-navy) !important;
    border-radius: var(--ct-radius);
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s ease;
}
.ct-btn-cta:hover { background: #ffc670; }

.ct-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Scroll progress bar */
.ct-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--ct-accent);
    z-index: 500;
    transition: width 0.1s linear;
}

/* Header */
.ct-header {
    border-bottom: 1px solid var(--ct-border);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.ct-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    flex-wrap: wrap;
    transition: padding 0.35s ease;
}
.ct-logo { display: flex; align-items: center; text-decoration: none; }
.ct-logo-img { display: block; height: 40px; width: auto; transition: opacity 0.2s ease; }
.ct-logo-img--light { display: none; }
@media (max-width: 480px) { .ct-logo-img { height: 32px; } }
.ct-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ct-nav a { text-decoration: none; color: var(--ct-ink); font-weight: 500; font-size: 0.95rem; transition: color 0.35s ease, opacity 0.2s ease; }
.ct-nav a:hover { color: var(--ct-primary); opacity: 0.85; }
.ct-btn-header { white-space: nowrap; }
.ct-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--ct-border);
    border-radius: 8px;
    cursor: pointer;
}
.ct-nav-toggle span { display: block; height: 2px; width: 20px; margin: 0 auto; background: var(--ct-ink); transition: background 0.35s ease; }

@media (max-width: 860px) {
    .ct-nav-toggle { display: flex; }
    .ct-nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding-top: 12px;
        gap: 12px;
    }
    .ct-nav.is-open { display: flex; }
    .ct-nav-cta { align-self: stretch; text-align: center; }
}

/* Header — hero üzerinde transparent overlay modu (yalnızca ana sayfa) */
.ct-header--overlay {
    position: absolute;
    top: 0; left: 0; right: 0;
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
}
.ct-header--overlay .ct-nav a { color: #fff; }
.ct-header--overlay .ct-logo-img--dark { display: none; }
.ct-header--overlay .ct-logo-img--light { display: block; }
.ct-header--overlay .ct-nav-toggle { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.14); }
.ct-header--overlay .ct-nav-toggle span { background: #fff; }

/* Scroll sonrası: overlay header sabitlenip kurumsal zemin kazanır */
.ct-header--overlay.is-scrolled {
    position: fixed;
    background: rgba(10, 29, 61, 0.86);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}
.ct-header--overlay.is-scrolled .ct-header-inner { padding: 10px 20px; }

@media (max-width: 860px) {
    .ct-header--overlay .ct-nav.is-open {
        background: rgba(10, 29, 61, 0.97);
        padding: 14px 16px;
        border-radius: 0 0 14px 14px;
    }
    .ct-header--overlay .ct-nav.is-open a { color: #fff; }
}

/* Tek tık ara / WhatsApp yüzen butonlar */
.ct-call-fab, .ct-whatsapp-fab {
    position: fixed;
    right: 18px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.22);
    z-index: 60;
    transition: transform 0.2s ease;
}
.ct-call-fab:hover, .ct-whatsapp-fab:hover { transform: scale(1.06); }
.ct-call-fab svg { width: 26px; height: 26px; }
.ct-whatsapp-fab svg { width: 30px; height: 30px; display: block; }
.ct-call-fab { bottom: 86px; background: var(--ct-primary); }
.ct-whatsapp-fab { bottom: 20px; background: #25d366; }

/* Hero Slider */
.ct-hero-slider {
    position: relative;
    overflow: hidden;
    color: #fff;
    min-height: 680px;
}
.ct-hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s ease;
    background: linear-gradient(135deg, var(--ct-navy) 0%, var(--ct-primary) 65%, var(--ct-primary-dark) 100%);
}
.ct-hero-slide.is-active { opacity: 1; visibility: visible; }
.ct-hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.14), transparent 40%),
                       radial-gradient(circle at 80% 70%, rgba(255,181,71,0.18), transparent 45%);
    pointer-events: none;
}
.ct-hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.85;
}
/* Kontrollü koyu overlay: üst kısım (menü okunurluğu) biraz daha koyu, ortaya doğru hafifler
   + metnin bulunduğu sol taraf soldan sağa doğru ayrıca kararır (okunurluk için) */
.ct-hero-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 12, 28, 0.62) 0%, rgba(4, 12, 28, 0.28) 45%, transparent 75%),
        linear-gradient(180deg,
            rgba(6, 16, 36, 0.68) 0%,
            rgba(8, 20, 44, 0.42) 35%,
            rgba(8, 20, 44, 0.34) 60%,
            rgba(6, 16, 36, 0.52) 100%);
}
.ct-hero-inner { position: relative; z-index: 2; padding: 0 6vw; max-width: min(640px, 100vw); width: min(640px, 100vw); box-sizing: border-box; margin: 0; }
.ct-hero-sub, .ct-hero-inner h1 { overflow-wrap: break-word; word-wrap: break-word; }
.ct-hero-inner h1 { font-size: 2.8rem; margin: 0 0 16px; letter-spacing: -0.5px; line-height: 1.15; text-shadow: 0 2px 18px rgba(0,0,0,0.25); }
.ct-hero-sub { font-size: 1.15rem; opacity: 0.96; margin: 0 0 32px; max-width: 480px; text-shadow: 0 1px 10px rgba(0,0,0,0.25); }

.ct-hero-dots { position: absolute; z-index: 3; bottom: 22px; left: 0; right: 0; display: flex; gap: 10px; justify-content: center; }
.ct-hero-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ct-hero-dot::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.45); transition: background 0.2s ease, transform 0.2s ease; }
.ct-hero-dot.is-active::before { background: #fff; transform: scale(1.2); }

/* Slider ok navigasyonu */
.ct-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.ct-hero-arrow svg { width: 22px; height: 22px; stroke: #fff; }
.ct-hero-arrow:hover { background: rgba(255,255,255,0.3); transform: translateY(-50%) scale(1.08); }
.ct-hero-arrow-prev { left: 18px; }
.ct-hero-arrow-next { right: 18px; }

@media (max-width: 860px) {
    .ct-hero-slider { min-height: 560px; }
    .ct-hero-inner { max-width: 100%; padding: 0 24px; }
    .ct-hero-inner h1 { font-size: 2rem; }
    .ct-hero-sub { font-size: 1rem; margin-bottom: 24px; }
    .ct-hero-arrow { width: 40px; height: 40px; top: auto; bottom: 70px; transform: none; }
    .ct-hero-arrow:hover { transform: scale(1.08); }
    .ct-hero-arrow-prev { left: 8px; }
    .ct-hero-arrow-next { right: 8px; }
}
@media (max-width: 480px) {
    .ct-hero-slider { min-height: 480px; }
    .ct-hero-inner h1 { font-size: 1.6rem; }
}

.ct-icon-tile {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--ct-radius);
    background: linear-gradient(135deg, var(--ct-primary) 0%, var(--ct-navy) 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    margin: -22px -22px 16px;
    width: calc(100% + 44px);
    position: relative;
    overflow: hidden;
}
.ct-icon-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, rgba(10,29,61,0.05) 40%, rgba(10,29,61,0.55) 100%);
}
.ct-icon-badge {
    position: relative;
    z-index: 1;
    margin: 14px;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(255,255,255,0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--ct-shadow);
}
.ct-icon-badge svg { width: 58%; height: 58%; stroke: var(--ct-primary); stroke-width: 1.4; }
.ct-icon-tile.is-after { background-image: linear-gradient(135deg, rgba(22,163,74,0.35), rgba(10,122,63,0.35)), var(--ct-photo, none); }
.ct-icon-tile.is-before { background: linear-gradient(135deg, #64748b 0%, #334155 100%); filter: saturate(0.6); }

/* Sections */
.ct-section { padding: 64px 0; }
.ct-section-soft { background: var(--ct-bg-soft); }
.ct-section h2 { font-size: 1.8rem; margin: 0 0 28px; text-align: center; }

.ct-grid { display: grid; gap: 20px; }
.ct-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .ct-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ct-grid-3 { grid-template-columns: 1fr; } }

.ct-card {
    background: #fff;
    border: 1px solid var(--ct-border);
    border-radius: var(--ct-radius);
    padding: 22px;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--ct-shadow);
    display: block;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
a.ct-card:hover { transform: translateY(-6px); box-shadow: var(--ct-shadow-lg); }
.ct-card h3 { margin: 0 0 8px; color: var(--ct-primary-dark); }
.ct-card p { margin: 0; color: var(--ct-muted); }

.ct-avatar-initial {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ct-primary), var(--ct-navy));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 10px;
    vertical-align: middle;
}
.ct-testimonial-head { display: flex; align-items: center; margin-top: 14px; }
.ct-stars { color: var(--ct-accent); letter-spacing: 2px; }

/* Müşteri yorumları — sağdan sürekli kayan şerit (marquee) */
.ct-testimonial-track {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.ct-testimonial-track-inner {
    display: flex;
    gap: 22px;
    width: max-content;
    animation: ct-marquee 38s linear infinite;
}
.ct-testimonial-track:hover .ct-testimonial-track-inner { animation-play-state: paused; }
@keyframes ct-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .ct-testimonial-track-inner { animation: none; flex-wrap: wrap; width: 100%; }
    .ct-testimonial-track { mask-image: none; -webkit-mask-image: none; }
}

.ct-testimonial-card {
    flex: 0 0 340px;
    background: #fff;
    border: 1px solid var(--ct-border);
    border-radius: var(--ct-radius);
    padding: 26px 24px 22px;
    box-shadow: var(--ct-shadow);
    position: relative;
}
.ct-quote-mark {
    position: absolute;
    top: 8px;
    right: 18px;
    font-size: 3rem;
    line-height: 1;
    color: var(--ct-bg-soft);
    font-weight: 800;
    font-family: Georgia, serif;
}
.ct-testimonial-comment { position: relative; z-index: 1; margin: 0; color: var(--ct-ink); font-size: 0.98rem; line-height: 1.55; min-height: 4.6em; }

@media (max-width: 600px) {
    .ct-testimonial-card { flex-basis: 280px; }
}

.ct-empty { text-align: center; color: var(--ct-muted); font-style: italic; }
.ct-about-text { color: var(--ct-ink); font-size: 1.05rem; line-height: 1.8; }
.ct-about-text br + br { display: block; content: ''; margin-top: 8px; }

.ct-ba-pair { display: flex; gap: 8px; margin-bottom: 10px; }
.ct-ba-half {
    display: block;
    position: relative;
    width: 50%;
    border: none;
    padding: 0;
    margin: 0;
    background: none;
    cursor: zoom-in;
}
.ct-ba-half img { width: 100%; border-radius: 8px; object-fit: cover; height: 140px; display: block; transition: transform 0.35s ease; }
.ct-ba-half:hover img { transform: scale(1.04); }
.ct-ba-label {
    position: absolute;
    left: 6px;
    bottom: 6px;
    background: rgba(10, 29, 61, 0.75);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 3px 8px;
    border-radius: 999px;
    text-transform: uppercase;
}
.ct-ba-label-after { background: rgba(29, 95, 214, 0.85); }

/* Öncesi/Sonrası — ana sayfada sağdan sürekli kayan şerit (marquee) */
.ct-ba-track {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.ct-ba-track-inner {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: ct-marquee 34s linear infinite;
}
.ct-ba-track:hover .ct-ba-track-inner { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
    .ct-ba-track-inner { animation: none; flex-wrap: wrap; width: 100%; }
    .ct-ba-track { mask-image: none; -webkit-mask-image: none; }
}
.ct-ba-card {
    flex: 0 0 300px;
    background: #fff;
    border: 1px solid var(--ct-border);
    border-radius: var(--ct-radius);
    padding: 16px;
    box-shadow: var(--ct-shadow);
}
.ct-ba-card p { margin: 0; font-size: 0.9rem; color: var(--ct-muted); }
@media (max-width: 600px) {
    .ct-ba-card { flex-basis: 250px; }
}

.ct-gallery-photo { overflow: hidden; }
.ct-gallery-photo img { transition: transform 0.4s ease; }
.ct-gallery-photo:hover img { transform: scale(1.08); }

/* Hizmetlerimiz: sol %50 galeri + sağ %50 hizmet listesi */
.ct-services-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ct-services-gallery {
    position: relative;
    height: 420px;
    overflow: hidden;
    border-radius: var(--ct-radius);
    mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.ct-services-gallery-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: min-content;
    gap: 10px;
    animation: ct-marquee-vertical 32s linear infinite;
}
.ct-services-gallery:hover .ct-services-gallery-track { animation-play-state: paused; }
@keyframes ct-marquee-vertical {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .ct-services-gallery-track { animation: none; }
    .ct-services-gallery { height: auto; overflow: visible; mask-image: none; -webkit-mask-image: none; }
}
@media (max-width: 900px) {
    .ct-services-gallery { height: 320px; }
}
.ct-gallery-tile {
    display: block;
    position: relative;
    border: none;
    padding: 0;
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    cursor: zoom-in;
    background: none;
    aspect-ratio: 4 / 3;
}
.ct-gallery-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.ct-gallery-tile:hover img { transform: scale(1.1); }

.ct-services-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 10px; align-content: start; }
.ct-services-list .ct-btn { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
.ct-service-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}
.ct-service-row:hover { background: var(--ct-bg-soft); }
.ct-service-row-icon {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(29,95,214,0.12), rgba(29,95,214,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
}
.ct-service-row-icon svg { width: 56%; height: 56%; stroke: var(--ct-primary); stroke-width: 1.4; }
.ct-service-row strong { display: block; font-size: 0.95rem; color: var(--ct-primary-dark); margin-bottom: 2px; line-height: 1.25; }
.ct-service-row p { margin: 0; color: var(--ct-muted); font-size: 0.8rem; line-height: 1.3; }

@media (max-width: 560px) {
    .ct-services-list { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .ct-services-split { grid-template-columns: 1fr; }
}

/* Lightbox / foto slider */
.ct-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 16, 34, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 300;
    padding: 24px;
}
.ct-lightbox-overlay.is-open { display: flex; }
.ct-lightbox-img-wrap { max-width: 88vw; text-align: center; }
.ct-lightbox-img-wrap img { max-width: 88vw; max-height: 78vh; border-radius: 10px; display: block; margin: 0 auto; box-shadow: var(--ct-shadow-lg); }
.ct-lightbox-caption { color: #fff; margin-top: 14px; font-size: 0.95rem; }
.ct-lightbox-close, .ct-lightbox-nav {
    position: absolute;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ct-lightbox-close { top: 20px; right: 20px; width: 44px; height: 44px; }
.ct-lightbox-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; }
.ct-lightbox-prev { left: 16px; }
.ct-lightbox-next { right: 16px; }
.ct-lightbox-close:hover, .ct-lightbox-nav:hover { background: rgba(255,255,255,0.25); }

/* Hizmet detay sayfası */
.ct-service-hero {
    background-color: var(--ct-navy);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 70px 0;
    text-align: center;
    position: relative;
}
.ct-service-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,29,61,0.82), rgba(29,95,214,0.75)); }
.ct-service-hero .ct-container { position: relative; z-index: 1; }
.ct-service-hero .ct-icon-badge { display: inline-flex; }
.ct-service-hero h1 { margin: 0 0 10px; font-size: 2.1rem; }

.ct-service-detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 860px) { .ct-service-detail-grid { grid-template-columns: 1fr; } }

/* Hakkımızda sayfası */
.ct-about-hero {
    background:
        linear-gradient(135deg, rgba(10,29,61,0.90) 0%, rgba(29,95,214,0.82) 100%),
        url('/uploads/hero/real-1.jpg?v=2') center / cover no-repeat,
        linear-gradient(135deg, var(--ct-navy) 0%, var(--ct-primary) 100%);
    color: #fff;
    padding: 170px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ct-about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 15% 20%, rgba(255,255,255,0.12), transparent 40%),
                       radial-gradient(circle at 85% 75%, rgba(255,181,71,0.16), transparent 45%);
    pointer-events: none;
}
.ct-about-hero h1 { position: relative; z-index: 1; margin: 0 0 12px; font-size: 2.4rem; }
.ct-about-hero .ct-hero-sub { position: relative; z-index: 1; }

/* İç sayfa hero'larında yavaşça süzülen dekoratif blob'lar (footer ile aynı desen) */
.ct-hero-blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ct-hero-blob { position: absolute; border-radius: 50%; filter: blur(40px); animation: ct-footer-drift 18s ease-in-out infinite; }
.ct-hero-blob-1 { width: 220px; height: 220px; background: var(--ct-accent); opacity: 0.20; top: -60px; left: 8%; }
.ct-hero-blob-2 { width: 200px; height: 200px; background: #2ea3ff; opacity: 0.18; bottom: -80px; right: 12%; animation-duration: 22s; animation-delay: -4s; }
.ct-hero-blob-3 { width: 160px; height: 160px; background: #fff; opacity: 0.12; top: 30%; right: 35%; animation-duration: 26s; animation-delay: -9s; }
@media (prefers-reduced-motion: reduce) {
    .ct-hero-blob { animation: none; }
}

.ct-about-intro { font-size: 1.3rem; line-height: 1.85; text-align: center; color: var(--ct-ink); }
.ct-about-intro strong { color: var(--ct-primary-dark); font-weight: 800; }

/* Hakkımızda — sade split bölüm: solda 2 görselli foto yığını, sağda akıcı metin */
.ct-about-split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
.ct-about-split-media { position: relative; width: 100%; max-width: 420px; margin: 0 auto; min-width: 0; }
.ct-about-split-img {
    border: 6px solid #fff;
    border-radius: var(--ct-radius);
    box-shadow: var(--ct-shadow-lg);
    object-fit: cover;
    display: block;
    box-sizing: border-box;
}
.ct-about-split-img-1 { position: static; width: 100%; aspect-ratio: 4/5; z-index: 1; }
.ct-about-split-img-2 { position: absolute; bottom: 0; right: 0; width: 55%; aspect-ratio: 4/3; z-index: 2; }
.ct-about-split-text { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ct-about-split-text p { margin: 0; font-size: 1.05rem; line-height: 1.85; color: var(--ct-ink); }

@media (max-width: 860px) {
    .ct-about-split { grid-template-columns: 1fr; }
    .ct-about-split-media { margin-bottom: 32px; }
}
@media (max-width: 760px) {
    .ct-about-hero { padding: 150px 0 60px; }
}

.ct-map-placeholder {
    width: 100%;
    min-height: 320px;
    border-radius: var(--ct-radius);
    background:
        linear-gradient(135deg, rgba(29,95,214,0.08), rgba(10,29,61,0.1)),
        repeating-linear-gradient(0deg, rgba(16,40,90,0.06) 0, rgba(16,40,90,0.06) 1px, transparent 1px, transparent 32px),
        repeating-linear-gradient(90deg, rgba(16,40,90,0.06) 0, rgba(16,40,90,0.06) 1px, transparent 1px, transparent 32px),
        var(--ct-bg-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--ct-primary-dark);
    font-weight: 600;
    text-align: center;
    padding: 20px;
}
.ct-map-placeholder svg { width: 46px; height: 46px; stroke: var(--ct-primary); }

.ct-pricing-card { text-align: center; position: relative; display: flex; flex-direction: column; }
.ct-pricing-card-cta { margin-top: 16px; font-size: 0.88rem; padding: 9px 20px; }
.ct-pricing-card.is-featured { border-color: var(--ct-accent); border-width: 2px; box-shadow: var(--ct-shadow-lg); }
.ct-pricing-card.is-featured::before {
    content: 'Popüler';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ct-accent);
    color: var(--ct-navy);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 999px;
}
.ct-price { font-size: 1.8rem; font-weight: 800; color: var(--ct-primary); margin: 8px 0; }
.ct-price-note { color: var(--ct-muted); font-size: 0.9rem; }

/* Fiyatlar sayfası — liste formatı (kart yerine satır, mobilde az scroll) */
.ct-price-groups { display: flex; flex-direction: column; gap: 32px; max-width: 780px; margin: 0 auto; }
.ct-price-group-title {
    font-size: 1.15rem;
    color: var(--ct-primary-dark);
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--ct-border);
}
.ct-price-list { display: flex; flex-direction: column; gap: 8px; }
.ct-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--ct-border);
    border-radius: var(--ct-radius);
    padding: 14px 18px;
}
.ct-price-row.is-featured { border-color: var(--ct-accent); border-width: 2px; }
.ct-price-row-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ct-price-row-name { font-weight: 700; color: var(--ct-primary-dark); }
.ct-price-row-star { font-size: 0.85em; }
.ct-price-row-note { color: var(--ct-muted); font-size: 0.85rem; }
.ct-price-row-action { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.ct-price-row-amount { font-weight: 800; color: var(--ct-primary); font-size: 1.15rem; white-space: nowrap; }
.ct-price-row-cta { padding: 8px 16px; font-size: 0.85rem; white-space: nowrap; }
@media (max-width: 520px) {
    .ct-price-row { flex-direction: column; gap: 10px; }
    .ct-price-row-action { justify-content: space-between; }
}

/* Galeri sayfası — profesyonel foto duvarı (tek tip oranlı kartlar) */
.ct-photo-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ct-photo-wall-tile {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    position: relative;
    border: none;
    padding: 0;
    background: none;
    cursor: zoom-in;
    border-radius: var(--ct-radius);
    overflow: hidden;
    box-shadow: var(--ct-shadow);
}
.ct-photo-wall-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.ct-photo-wall-tile:hover img { transform: scale(1.06); }
.ct-photo-wall-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: linear-gradient(0deg, rgba(10, 29, 61, 0.78), transparent);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 24px 12px 10px;
    text-align: left;
}
@media (max-width: 900px) { .ct-photo-wall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ct-photo-wall { grid-template-columns: 1fr; } }

.ct-faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.ct-faq-item {
    border: 1px solid var(--ct-border);
    border-radius: var(--ct-radius);
    padding: 14px 18px;
    background: #fff;
}
.ct-faq-item summary { font-weight: 600; cursor: pointer; }
.ct-faq-item p { margin: 10px 0 0; color: var(--ct-muted); }

/* SSS — sol animasyonlu görsel (1/4) + sağ chat tarzı liste (3/4) */
.ct-faq-layout { display: grid; grid-template-columns: 2fr 3fr; gap: 36px; align-items: start; }
.ct-faq-visual {
    position: sticky;
    top: 90px;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ct-faq-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    max-width: 420px;
    border-radius: var(--ct-radius);
    background-size: cover;
    background-position: center;
    box-shadow: var(--ct-shadow-lg);
    animation: ct-float 5s ease-in-out infinite;
}
.ct-faq-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--ct-radius);
    background: linear-gradient(200deg, transparent 50%, rgba(10,29,61,0.55) 100%);
}
.ct-faq-photo .ct-faq-orb {
    position: absolute;
    bottom: -18px;
    right: -18px;
    width: 64px;
    height: 64px;
    animation: none;
}
.ct-faq-orb {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ct-primary), var(--ct-navy));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--ct-shadow-lg);
    z-index: 1;
}
.ct-faq-orb-standalone { animation: ct-float 4s ease-in-out infinite; }
.ct-faq-orb svg { width: 46%; height: 46%; stroke: #fff; }
.ct-faq-float {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: var(--ct-primary);
    box-shadow: var(--ct-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}
.ct-faq-float-1 { top: 8%; left: 12%; animation: ct-float 3s ease-in-out infinite; }
.ct-faq-float-2 { bottom: 12%; right: 8%; background: var(--ct-accent); color: #fff; animation: ct-float 3.6s ease-in-out infinite .4s; }
.ct-faq-float-3 { top: 62%; left: -4%; animation: ct-float 4.2s ease-in-out infinite .8s; }
@keyframes ct-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) {
    .ct-faq-orb, .ct-faq-orb-standalone, .ct-faq-float, .ct-faq-photo { animation: none; }
}

.ct-faq-cat-title { color: var(--ct-primary-dark); margin: 26px 0 14px; font-size: 1.1rem; }
.ct-faq-cat-title:first-child { margin-top: 0; }

.ct-faq-bubble-item { margin-bottom: 14px; }
.ct-chat-bubble { display: block; padding: 14px 18px; border-radius: 16px; max-width: 100%; }
.ct-chat-q {
    background: var(--ct-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.ct-chat-q::-webkit-details-marker { display: none; }
.ct-chat-q::after {
    content: '';
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    margin-top: -3px;
}
.ct-faq-bubble-item[open] .ct-chat-q::after { transform: rotate(-135deg); margin-top: 3px; }
.ct-chat-a { background: var(--ct-bg-soft); color: var(--ct-ink); margin-top: 8px; border-bottom-left-radius: 4px; }

@media (max-width: 860px) {
    .ct-faq-layout { grid-template-columns: 1fr; }
    .ct-faq-visual { position: static; min-height: 140px; margin-bottom: 10px; overflow: hidden; }
    .ct-faq-float { display: none; }
}

.ct-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}
@media (max-width: 760px) { .ct-contact-grid { grid-template-columns: 1fr; } }
.ct-map { border-radius: var(--ct-radius); overflow: hidden; background: #fff; border: 1px solid var(--ct-border); min-height: 200px; height: 100%; display: flex; align-items: center; justify-content: center; }

.ct-contact-info-list { display: flex; flex-direction: column; gap: 14px; }
.ct-contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: var(--ct-radius);
    background: #fff;
    border: 1px solid var(--ct-border);
    box-shadow: var(--ct-shadow);
    text-decoration: none;
    color: var(--ct-ink);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.ct-contact-info-item:hover { transform: translateY(-2px); box-shadow: var(--ct-shadow-lg); }
.ct-contact-info-text { display: flex; flex-direction: column; gap: 1px; }
.ct-contact-info-item strong { color: var(--ct-primary-dark); font-size: 0.82rem; line-height: 1.3; }
.ct-contact-info-item span span { font-size: 0.98rem; line-height: 1.35; }

/* Footer */
.ct-footer { position: relative; overflow: hidden; background: var(--ct-navy); color: #c7d3ec; padding: 48px 0 0; margin-top: 40px; }
.ct-footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 28px; }
@media (max-width: 700px) { .ct-footer-grid { grid-template-columns: 1fr; } }
.ct-footer h3, .ct-footer h4 { color: #fff; margin: 0 0 10px; }
.ct-footer-logo { display: block; height: 42px; width: auto; margin-bottom: 12px; }
.ct-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ct-footer a { color: #8fb4f5; text-decoration: none; }
.ct-footer-about { font-size: 0.88rem; line-height: 1.6; color: #a9bcdd; margin-top: 10px; }
.ct-footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 16px 20px;
    text-align: center;
    font-size: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.ct-footer-bottom p { margin: 0; }
.ct-footer-bottom-sep { color: rgba(255,255,255,0.25); }
.ct-footer-credit {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 999px;
    color: rgba(255,255,255,0.65);
    font-size: 0.78rem;
    text-decoration: none;
    transition: color 0.2s ease;
}
.ct-footer-credit:hover { color: #fff; }
.ct-footer-credit-logo { height: 13px; width: auto; display: block; }
.ct-footer-credit-glow {
    position: absolute;
    inset: -12px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(46,163,255,0.35), transparent 70%);
    filter: blur(10px);
    pointer-events: none;
    z-index: -1;
    animation: ct-footer-drift 14s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
    .ct-footer-credit-glow { animation: none; }
}

.ct-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ct-footer-links--cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; row-gap: 0; }
.ct-footer-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.94rem;
    padding: 6px 0;
    transition: color 0.2s ease, gap 0.2s ease;
}
.ct-footer-link-arrow { color: var(--ct-accent); font-weight: 700; transition: transform 0.2s ease; }
.ct-footer-links a:hover { color: #fff; gap: 10px; }
.ct-footer-links a:hover .ct-footer-link-arrow { transform: translateX(2px); }

.ct-footer-contact-list { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ct-footer-contact-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; line-height: 1.5; }
.ct-footer-contact-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--ct-accent); }
.ct-footer-phone {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ct-accent) !important;
    letter-spacing: 0.3px;
    line-height: 1.2;
}
.ct-footer-phone:hover { color: #ffc670 !important; }
.ct-footer-social-label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #7d93bf; margin-bottom: 8px; }
.ct-footer-social { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ct-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}
.ct-social-icon svg { width: 20px; height: 20px; }
.ct-social-icon:hover { background: var(--ct-primary); transform: translateY(-2px); }

/* Footer arka planında yavaşça süzülen dekoratif blob'lar */
.ct-footer-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ct-footer-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.35;
    animation: ct-footer-drift 18s ease-in-out infinite;
}
.ct-footer-blob-1 { width: 260px; height: 260px; background: var(--ct-primary); top: -80px; left: 5%; }
.ct-footer-blob-2 { width: 220px; height: 220px; background: var(--ct-accent); opacity: 0.14; bottom: -100px; right: 10%; animation-duration: 22s; animation-delay: -4s; }
.ct-footer-blob-3 { width: 180px; height: 180px; background: #2ea3ff; top: 20%; right: 30%; animation-duration: 26s; animation-delay: -9s; }
@keyframes ct-footer-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.1); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}
@media (prefers-reduced-motion: reduce) {
    .ct-footer-blob { animation: none; }
}

/* ==================== ADMIN PANEL ==================== */
body.ct-admin { background: var(--ct-bg-soft); }

.ct-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: linear-gradient(135deg, var(--ct-navy), var(--ct-primary)); }
.ct-login-card { background: #fff; border-radius: var(--ct-radius); padding: 36px; width: 100%; max-width: 380px; box-shadow: var(--ct-shadow-lg); display: flex; flex-direction: column; gap: 14px; }
.ct-login-card h1 { margin: 0; font-size: 1.3rem; text-align: center; color: var(--ct-primary-dark); }
.ct-login-sub { margin: 0 0 8px; text-align: center; color: var(--ct-muted); }
.ct-login-card label { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; font-weight: 600; }
.ct-login-card input { padding: 10px 12px; border: 1px solid var(--ct-border); border-radius: 8px; font-size: 1rem; }
.ct-btn-block { width: 100%; }

.ct-alert { padding: 12px 16px; border-radius: 8px; font-size: 0.9rem; }
.ct-alert-error { background: #fde8e8; color: #9b1c1c; }
.ct-alert-success { background: #e6f7ee; color: #076a3b; }

.ct-admin-shell { display: flex; min-height: 100vh; }
.ct-admin-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: var(--ct-navy);
    color: #cfe0ff;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}
.ct-admin-brand { padding: 0 20px 18px; font-weight: 800; color: #fff; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 10px; }
.ct-admin-menu { list-style: none; margin: 0; padding: 0; flex: 1; }
.ct-admin-menu li a { display: block; padding: 11px 20px; text-decoration: none; color: #cfe0ff; font-size: 0.92rem; }
.ct-admin-menu li a:hover { background: rgba(255,255,255,0.06); }
.ct-admin-menu li.is-active a { background: var(--ct-primary); color: #fff; font-weight: 600; }
.ct-admin-logout { padding: 14px 20px 0; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 10px; }
.ct-btn-link { background: none; border: none; color: #ffb547; cursor: pointer; font-size: 0.9rem; padding: 0; }

.ct-admin-main { flex: 1; padding: 28px; max-width: 1100px; }
.ct-admin-page h1 { margin: 0 0 20px; }
.ct-admin-menu-toggle { display: none; }

.ct-admin-form { display: flex; flex-direction: column; gap: 14px; max-width: 640px; background: #fff; padding: 24px; border-radius: var(--ct-radius); box-shadow: var(--ct-shadow); }
.ct-admin-form h2 { font-size: 1.05rem; margin: 12px 0 -2px; color: var(--ct-primary-dark); }
.ct-admin-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--ct-ink); }
.ct-admin-form input, .ct-admin-form textarea, .ct-admin-form select {
    padding: 10px 12px; border: 1px solid var(--ct-border); border-radius: 8px; font-size: 0.95rem; font-family: inherit;
}
.ct-admin-form input:disabled { background: var(--ct-bg-soft); color: var(--ct-muted); }

.ct-admin-table-wrap { overflow-x: auto; }
.ct-admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--ct-radius); overflow: hidden; box-shadow: var(--ct-shadow); }
.ct-admin-table th, .ct-admin-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--ct-border); font-size: 0.92rem; }
.ct-admin-table th { background: var(--ct-bg-soft); font-weight: 700; color: var(--ct-primary-dark); }

.ct-admin-page-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.ct-admin-page-head h1 { margin: 0; }

.ct-status-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.ct-status-active { background: #e6f7ee; color: #076a3b; }
.ct-status-inactive { background: #f1f2f4; color: #6b7280; }

.ct-admin-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ct-btn-sm {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    background: var(--ct-bg-soft);
    color: var(--ct-primary-dark);
    text-decoration: none;
    border: none;
    cursor: pointer;
}
.ct-btn-sm:hover { background: var(--ct-border); }
.ct-btn-danger { background: #fde8e8; color: #9b1c1c; }
.ct-btn-danger:hover { background: #fbd0d0; }

/* Admin galeri — sürükle-bırak yükleme alanı (dropzone) */
.ct-dropzone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    border: 2px dashed var(--ct-border);
    border-radius: var(--ct-radius);
    padding: 28px 16px;
    cursor: pointer;
    color: var(--ct-muted);
    transition: border-color 0.2s ease, background 0.2s ease;
}
.ct-dropzone svg { width: 32px; height: 32px; color: var(--ct-primary); }
.ct-dropzone p { margin: 0; }
.ct-dropzone-hint { font-size: 0.85rem; }
.ct-dropzone:hover, .ct-dropzone:focus-visible { border-color: var(--ct-primary); background: var(--ct-bg-soft); }
.ct-dropzone.is-dragover { border-color: var(--ct-primary); background: var(--ct-bg-soft); }
.ct-dropzone-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.ct-gallery-manager form { position: relative; }

/* Admin galeri — sürükle-bırak sıralanabilir foto grid'i */
.ct-admin-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-top: 12px; }
.ct-admin-gallery-item {
    background: #fff;
    border: 1px solid var(--ct-border);
    border-radius: var(--ct-radius);
    padding: 10px;
    cursor: grab;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.ct-admin-gallery-item.is-dragging { opacity: 0.35; }
.ct-admin-gallery-item img { width: 100%; height: 130px; object-fit: cover; border-radius: 8px; display: block; pointer-events: none; }
.ct-admin-gallery-item-caption { margin: 8px 0 2px; font-size: 0.88rem; }
.ct-admin-gallery-item-service { margin: 0 0 8px; font-size: 0.78rem; color: var(--ct-muted); }

@media (max-width: 900px) {
    .ct-admin-menu-toggle {
        display: block;
        position: relative;
        z-index: 110;
        margin: 12px;
        padding: 10px 16px;
        background: var(--ct-navy);
        color: #fff;
        border: none;
        border-radius: 8px;
        font-weight: 600;
    }
    .ct-admin-shell { flex-direction: column; }
    .ct-admin-sidebar {
        position: fixed;
        top: 0; left: 0; bottom: 0;
        width: 240px;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        z-index: 100;
    }
    .ct-admin-sidebar.is-open { transform: translateX(0); }
    .ct-admin-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(10, 20, 40, 0.5);
        z-index: 99;
    }
    .ct-admin-backdrop.is-open { display: block; }
    .ct-admin-main { padding: 16px; }
}
