/* ============================================
   Pendik Escort — Modern · Zarif · Hızlı
   Kırmızı & Siyah Tema
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Marka Renkleri */
    --primary: #c92a2a;
    --primary-light: #e03131;
    --primary-dark: #9c1c1c;
    --ink: #17161a;          /* ana metin (siyaha yakın) */
    --ink-soft: #45434c;     /* ikincil metin */
    --ink-mute: #807d88;     /* soluk metin */
    --line: #ebe8ee;         /* ince çizgiler */
    --surface: #ffffff;
    --surface-alt: #f8f7f9;  /* hafif zemin */
    --surface-tint: #fdf2f2; /* kırmızı tonlu zemin */
    --success: #2b8a3e;
    --white: #ffffff;

    /* Gölgeler */
    --shadow-sm: 0 1px 2px rgba(23,22,26,0.06);
    --shadow-md: 0 6px 20px rgba(23,22,26,0.08);
    --shadow-lg: 0 16px 40px rgba(23,22,26,0.12);
    --shadow-red: 0 10px 28px rgba(201,42,42,0.20);

    /* Ölçüler */
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 8px;
    --header-h: 62px;
    --maxw: 1180px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.65;
    color: var(--ink);
    background: var(--surface);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ---------- Tipografi ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--ink);
}

h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 1.95rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p  { margin: 0.85rem 0; color: var(--ink-soft); }

a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

a:hover { color: var(--primary-dark); }

a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 3px;
}

strong { font-weight: 600; color: var(--ink); }

/* Metin içi bağlantılar (içerik alanları) ayırt edilebilir olsun */
.prose a, .breadcrumb a, footer a {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    text-decoration-color: rgba(201,42,42,0.4);
}
.prose a:hover, .breadcrumb a:hover { text-decoration-color: var(--primary); }

/* ---------- Layout ---------- */
.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---------- Header (ince & zarif) ---------- */
header {
    background: var(--primary);
    color: #fff;
    height: var(--header-h);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 6px 24px rgba(201,42,42,0.22);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 1.5rem;
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    display: inline-flex;
    align-items: center;
}
.logo:hover { color: #fff; opacity: 0.92; }
.logo span { font-weight: 400; opacity: 0.85; margin-left: 1px; }

nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

nav > a,
.dropdown-trigger {
    color: rgba(255,255,255,0.92);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: background 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

nav > a:hover,
.dropdown-trigger:hover {
    color: #fff;
    background: rgba(0,0,0,0.13);
}

nav > a:focus-visible,
.dropdown-trigger:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Dropdown */
.dropdown { position: relative; }

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    min-width: 230px;
    padding: 0.4rem;
    z-index: 1100;
    box-shadow: var(--shadow-lg);
    animation: dropIn 0.16s ease;
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 22px;
    width: 12px;
    height: 12px;
    background: var(--surface);
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
    transform: rotate(45deg);
}

@keyframes dropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 7px;
    transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-menu a:hover {
    background: var(--surface-tint);
    color: var(--primary);
}

.dropdown-menu a svg { color: var(--primary); flex-shrink: 0; }

/* Mobil menü butonu */
.nav-toggle {
    display: none;
    background: rgba(0,0,0,0.12);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ---------- Main ---------- */
main {
    min-height: 64vh;
    padding: 2.5rem 0 1rem;
}

.section { margin-bottom: 3.5rem; }
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.section-head h2 { margin: 0; }
.section-head .link-more { font-size: 0.92rem; font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius);
    padding: clamp(2.75rem, 6vw, 4.5rem) 1.5rem;
    text-align: center;
    overflow: hidden;
    margin-bottom: 3.5rem;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(201,42,42,0.38), transparent 60%);
    pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 1rem;
}
.hero h1 { color: #fff; max-width: 16ch; margin: 0 auto; }
.hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    max-width: 46ch;
    margin: 1.1rem auto 1.75rem;
}

/* ---------- Grid ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }

/* ---------- Cards ---------- */
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201,42,42,0.35);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.card-meta {
    font-size: 0.88rem;
    color: var(--ink-mute);
    margin-bottom: 0.85rem;
}

.card p { margin-top: 0; }

.card .btn { margin-top: auto; }

/* Kategori kartı (semt) */
.region-card { position: relative; }
.region-card .region-icon {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface-tint);
    color: var(--primary);
    border-radius: 11px;
    margin-bottom: 1rem;
}

/* Avatar / monogram (görsel yokken) */
.avatar-mono {
    width: 100%;
    aspect-ratio: 4 / 3;
    background:
        radial-gradient(circle at 30% 25%, rgba(201,42,42,0.55), transparent 55%),
        #201c20;
    border-radius: var(--radius-sm);
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    overflow: hidden;
}
.avatar-mono img,
.profile-photo img,
.listing-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Badge ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.7rem;
    background: var(--surface-tint);
    color: var(--primary-dark);
    border: 1px solid rgba(201,42,42,0.25);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
}
.badge-featured {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.badge-featured svg { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    min-height: 46px;
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1;
    transition: background 0.2s ease, transform 0.12s ease, box-shadow 0.2s ease;
    text-decoration: none;
}
.btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    box-shadow: var(--shadow-red);
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.btn-block { width: 100%; }
.btn-lg { padding: 0.95rem 2rem; min-height: 52px; font-size: 1.02rem; border-radius: 12px; }

.btn-secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.btn-secondary:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
    box-shadow: none;
}

.btn-ghost {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; box-shadow: none; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--ink-mute);
    margin-bottom: 1.75rem;
}
.breadcrumb a { color: var(--ink-soft); font-weight: 500; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--line); }
.breadcrumb strong { color: var(--ink); }

/* ---------- Panel (içerik kutusu) ---------- */
.panel {
    background: var(--surface-alt);
    border: 1px solid var(--line);
    padding: 2rem;
    border-radius: var(--radius);
}
.panel-tint {
    background: var(--surface-tint);
    border-color: rgba(201,42,42,0.2);
}

/* ---------- Feature (neden biz) ---------- */
.feature .feature-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 13px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-red);
}
.feature h3 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.feature p { margin: 0; }

/* ---------- Forms ---------- */
input, textarea, select {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-xs);
    font-family: inherit;
    font-size: 1rem;
    color: var(--ink);
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(201,42,42,0.12);
}

/* ---------- Sidebar ---------- */
.sidebar {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.sidebar h3 { margin-top: 0; }

/* ---------- Listing detayı ---------- */
.listing-hero {
    width: 100%;
    aspect-ratio: 3 / 2;
    background:
        radial-gradient(circle at 28% 22%, rgba(201,42,42,0.6), transparent 55%),
        #201c20;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.service-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0.9rem;
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink);
}
.service-chip svg { color: var(--success); flex-shrink: 0; }

.info-list { list-style: none; }
.info-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0;
    font-size: 0.92rem;
    color: var(--ink-soft);
}
.info-list li svg { color: var(--success); flex-shrink: 0; }

.notice {
    padding: 0.9rem 1rem;
    background: #fff8e6;
    border: 1px solid #f5e1a8;
    border-radius: var(--radius-xs);
    font-size: 0.85rem;
    color: #8a6d1a;
    line-height: 1.55;
}

/* ---------- İlan detay — modern profil ---------- */
.profile-header {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 1.75rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2.5rem;
}
.profile-photo {
    position: relative;
    aspect-ratio: 3 / 4;
    background:
        radial-gradient(circle at 30% 22%, rgba(201,42,42,0.6), transparent 55%),
        #201c20;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3.6rem;
    font-weight: 800;
    overflow: hidden;
}
.profile-photo .featured-flag { position: absolute; top: 0.7rem; left: 0.7rem; }

.profile-info { display: flex; flex-direction: column; }
.profile-info h1 { margin: 0 0 0.6rem; font-size: clamp(1.6rem, 3.5vw, 2.1rem); }
.profile-about {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--ink-soft);
    margin-bottom: 1.25rem;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--success);
}
.online-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(43,138,62,0.16);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(43,138,62,0.16); }
    50%      { box-shadow: 0 0 0 7px rgba(43,138,62,0.05); }
}
.status-sep { color: var(--line); }
.status-verified { color: var(--ink-mute); display: inline-flex; align-items: center; gap: 0.3rem; }
.status-verified svg { color: var(--primary); }

.stat-pills { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: auto; }
.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem;
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink-soft);
}
.stat-pill svg { color: var(--primary); flex-shrink: 0; }
.stat-pill strong { color: var(--ink); }

/* Accent başlık */
.sec-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.1rem;
}
.sec-title::before {
    content: "";
    width: 4px;
    height: 1.05em;
    background: var(--primary);
    border-radius: 2px;
    flex-shrink: 0;
}

/* İletişim CTA kartı */
.cta-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}
.cta-label { font-size: 0.8rem; color: var(--ink-mute); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin: 0.35rem 0 0;
}
.cta-phone:hover { color: var(--primary); }
.cta-phone svg { color: var(--success); }
.cta-actions { display: grid; gap: 0.6rem; margin: 1.25rem 0; }
.btn-whatsapp { background: #1f9d57; border-color: #1f9d57; }
.btn-whatsapp:hover { background: #1a8449; border-color: #1a8449; box-shadow: 0 10px 28px rgba(31,157,87,0.28); }

/* ---------- Pagination ---------- */
.pagination {
    display: flex;
    gap: 0.4rem;
    margin: 2.5rem 0 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    min-width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.9rem;
    border: 1px solid var(--line);
    border-radius: 9px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--ink-soft);
    background: var(--surface);
    transition: all 0.18s ease;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ---------- Footer ---------- */
footer {
    background: var(--ink);
    color: rgba(255,255,255,0.72);
    padding: 3rem 0 1.75rem;
    margin-top: 4rem;
    border-top: 3px solid var(--primary);
}
footer h3 {
    color: #fff;
    font-size: 1rem;
    margin: 0 0 1rem;
    letter-spacing: 0.01em;
}
footer p { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
footer ul { list-style: none; }
footer li { margin: 0.45rem 0; }
footer a {
    color: rgba(255,255,255,0.78);
    text-decoration-color: rgba(255,255,255,0.25);
}
footer a:hover { color: #fff; text-decoration-color: #fff; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.86rem;
    color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.7); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.muted { color: var(--ink-mute); }
.stack > * + * { margin-top: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .nav-toggle { display: inline-flex; }
    nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.15rem;
        background: var(--surface);
        padding: 0.75rem;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--line);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
    nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    nav > a, .dropdown-trigger {
        color: var(--ink);
        padding: 0.85rem 1rem;
        border-radius: 9px;
    }
    nav > a:hover, .dropdown-trigger:hover { background: var(--surface-tint); color: var(--primary); }
    .dropdown { width: 100%; }
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        min-width: 0;
        padding: 0 0 0 0.5rem;
        animation: none;
    }
    .dropdown-menu::before { display: none; }

    .listing-grid { grid-template-columns: 1fr !important; }
    .sidebar { position: static !important; }
    main { padding: 1.75rem 0; }

    .profile-header { grid-template-columns: 1fr; gap: 1.25rem; }
    .profile-photo { aspect-ratio: 16 / 10; font-size: 3rem; max-height: 280px; }
    .stat-pills { margin-top: 0.5rem; }
}

@media (max-width: 480px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .hero { padding: 2.5rem 1.25rem; }
}

/* ---------- Accessibility ---------- */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Print ---------- */
@media print {
    header, footer, nav, .pagination, .sidebar { display: none; }
    body { background: #fff; }
}
