/* Elite Escort - Ana Stil */
:root {
  --red: #c41e3a;
  --red-dark: #9a1830;
  --red-light: #e8354f;
  --purple: #8b5cf6;
  --purple-dark: #6d28d9;
  --purple-light: #c4b5fd;
  --accent: var(--purple);
  --black: #0d0d0d;
  --black-soft: #1a1a1a;
  --gray: #2a2a2a;
  --gray-mid: #555;
  --gray-light: #888;
  --white: #f5f5f5;
  --bg: #111;
  --card-bg: #1e1e1e;
  --border: #333;
  --whatsapp: #25d366;
  --radius: 6px;
  --shadow: 0 4px 20px rgba(0,0,0,.4);
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.site-body {
  font-family: var(--font);
  background-color: #0c0a12;
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(139, 92, 246, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 100% 30%, rgba(109, 40, 217, 0.14) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(196, 30, 58, 0.1) 0%, transparent 45%),
    radial-gradient(ellipse 40% 30% at 80% 90%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #0a0810 0%, #12101a 35%, #0e0c14 100%);
  background-attachment: fixed;
  color: var(--white);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
}

body.site-body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

body.site-body > *:not(.fab-whatsapp):not(.site-chatbot) {
  position: relative;
  z-index: 1;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.5;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--purple-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--purple); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* Header */
.site-header {
  background: linear-gradient(180deg, rgba(18,12,28,.97) 0%, rgba(22,16,32,.9) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--purple);
  box-shadow: 0 4px 28px rgba(109, 40, 217, 0.25);
  padding: 1rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
}

.nav-nearby-link {
  font-size: .75rem;
  font-weight: 700;
  color: var(--purple-light);
  padding: .3rem .65rem;
  border: 1px solid var(--purple-dark);
  border-radius: 20px;
  background: rgba(109, 40, 217, 0.2);
  white-space: nowrap;
}

.nav-nearby-link:hover {
  background: var(--purple);
  color: #fff;
}

.listings-section-title {
  margin-top: 2rem;
}

.lang-switcher {
  display: flex;
  gap: .25rem;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  padding: 0 .4rem;
  font-size: .7rem;
  font-weight: 700;
  color: var(--gray-light);
  background: var(--gray);
  border-radius: 4px;
  border: 1px solid var(--border);
  transition: all .2s;
}

.lang-btn:hover,
.lang-btn.active {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  border-color: var(--purple-dark);
}

.support-bar {
  background: linear-gradient(90deg, #3b1578 0%, #6d28d9 30%, #7c3aed 50%, #5b21b6 70%, #3b1578 100%);
  border-bottom: 1px solid rgba(196, 181, 253, 0.35);
  padding: .55rem 0;
  box-shadow: 0 4px 20px rgba(109, 40, 217, 0.25);
}

.support-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .85rem;
}

.support-label {
  color: var(--purple-light);
  font-weight: 700;
  letter-spacing: .03em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

.support-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #fff;
  font-weight: 700;
  padding: .45rem 1rem;
  border-radius: 20px;
  transition: background .2s, transform .15s, box-shadow .2s;
  font-size: .82rem;
}

.support-whatsapp {
  background: linear-gradient(135deg, #6d28d9 0%, #5a67c4 35%, #1d9e57 70%, #25d366 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 3px 14px rgba(109, 40, 217, 0.35), 0 2px 10px rgba(37, 211, 102, 0.25);
}

.support-whatsapp:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 30%, #22b85a 75%, #2ee672 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(109, 40, 217, 0.45), 0 3px 14px rgba(37, 211, 102, 0.35);
}

.support-advertise {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(196, 181, 253, 0.55);
  backdrop-filter: blur(4px);
}

.support-advertise:hover {
  background: rgba(196, 181, 253, 0.22);
  border-color: var(--purple-light);
  color: #fff;
  transform: translateY(-1px);
}

.footer-support {
  margin-top: .5rem;
}

.footer-support a {
  font-weight: 600;
  font-size: .85rem;
  transition: color .2s;
}

.footer-support a:first-of-type {
  color: #7ee8a0;
  background: linear-gradient(90deg, #c4b5fd, #7ee8a0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-support a:first-of-type:hover {
  filter: brightness(1.15);
}

.footer-support a:last-of-type {
  color: var(--purple-light);
}

.footer-support a:last-of-type:hover {
  color: var(--purple);
}

.footer-sep {
  color: #666;
  margin: 0 .35rem;
}

body:has(.fab-profile) .fab-support {
  bottom: 5.5rem;
}

.logo {
  display: flex;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
  max-width: 100%;
}

.logo-img {
  display: block;
  height: 112px;
  width: auto;
  max-width: min(500px, 78vw);
  min-height: 72px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 3px 14px rgba(0,0,0,.6));
  transition: transform .2s;
}

.logo:hover .logo-img { transform: scale(1.02); }

.logo-main { font-size: 2rem; font-weight: 800; color: var(--red); letter-spacing: 2px; }
.logo-sub { font-size: .95rem; color: var(--gray-light); letter-spacing: 4px; }

@media (min-width: 768px) {
  .logo-img {
    height: 124px;
    max-width: min(520px, 52vw);
  }
}

@media (min-width: 1200px) {
  .logo-img {
    height: 136px;
    max-width: 540px;
  }
}

.tagline { font-size: .8rem; color: var(--gray-light); }

.back-link { font-size: .9rem; color: var(--gray-light); }
.back-link:hover { color: var(--red-light); }

/* Category Nav */
.category-nav {
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.category-list {
  display: flex;
  gap: .5rem;
  list-style: none;
  padding: .75rem 0;
  flex-wrap: nowrap;
  min-width: min-content;
}

.category-btn {
  display: inline-block;
  padding: .45rem 1rem;
  background: var(--gray);
  color: var(--white);
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: all .2s;
}

.category-btn:hover,
.category-btn.active {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  border-color: var(--purple-dark);
  box-shadow: 0 2px 12px rgba(109, 40, 217, 0.35);
}

/* Main */
.main-content { padding: 1.5rem 0 3rem; }

.page-title {
  font-size: 1.25rem;
  color: var(--purple-light);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 1.1rem;
  color: var(--purple-light);
  margin: 2.5rem 0 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--purple);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.empty-msg { color: var(--gray-light); text-align: center; padding: 2rem; }

/* Profile Grid */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .75rem;
}

.profile-grid-sm {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.profile-card {
  background: rgba(30, 30, 30, 0.85);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}

.profile-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(109, 40, 217, 0.35);
  border-color: var(--purple);
}

.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }

.card-image-wrap,
.gallery-main,
.nearby-card-img {
  position: relative;
}

.card-image-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--gray);
}

/* Model fotoğrafı filigran (Velvet Escort logo) */
.card-image-wrap::after,
.gallery-main::after,
.nearby-card-img::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 7%;
  transform: translateX(-50%);
  width: 40%;
  max-width: 150px;
  height: 16%;
  min-height: 32px;
  max-height: 72px;
  background: url('../logo.png') center bottom / contain no-repeat;
  opacity: 0.45;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));
}

.thumb-btn img {
  position: relative;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.profile-card:hover .card-image-wrap img { transform: scale(1.05); }

.badge-featured {
  position: absolute;
  top: .5rem;
  right: .5rem;
  background: var(--red);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .2rem .5rem;
  border-radius: 3px;
  letter-spacing: 1px;
}

.card-body { padding: .6rem .75rem; text-align: center; }

.card-category {
  display: block;
  font-size: .65rem;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: .2rem;
}

.card-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .5px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 .5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-size: .9rem;
}

.page-link.active,
.page-link:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* Blog Section */
.blog-section { margin-top: 2rem; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.blog-card {
  background: rgba(30, 30, 30, 0.85);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color .2s, box-shadow .2s;
}

.blog-card:hover {
  border-color: var(--red-dark);
  box-shadow: var(--shadow);
}

.blog-card a { color: inherit; display: block; }
.blog-card a:hover { color: inherit; }

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--gray);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.blog-card:hover .blog-card-image img { transform: scale(1.05); }

.blog-card-body { padding: 1rem; }

.blog-card-body time {
  font-size: .75rem;
  color: var(--gray-light);
}

.blog-card-body h3 {
  font-size: 1rem;
  margin: .4rem 0;
  color: var(--white);
  line-height: 1.3;
}

.blog-card-body p {
  font-size: .85rem;
  color: var(--gray-light);
  line-height: 1.5;
}

.read-more {
  display: inline-block;
  margin-top: .5rem;
  font-size: .8rem;
  color: var(--red);
  font-weight: 600;
}

/* Profile Detail */
.profile-detail { padding: 1.5rem 0 3rem; }

.profile-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .profile-detail-grid { grid-template-columns: 1fr; }
}

.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray);
  border: 2px solid var(--border);
}

.gallery-main-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.gallery-main-video {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: #000;
  border-radius: inherit;
}

.thumb-video {
  flex: 0 0 72px;
  height: 96px;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: var(--radius);
}

.thumb-video.active,
.thumb-video:hover {
  border-color: var(--red);
  opacity: 1;
}

.thumb-play {
  font-size: 1.25rem;
  color: #fff;
  line-height: 1;
}

.thumb-video-label {
  font-size: .6rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

.gallery-thumbs {
  display: flex;
  gap: .5rem;
  margin-top: .75rem;
  overflow-x: auto;
  padding-bottom: .25rem;
}

.thumb-btn {
  flex: 0 0 72px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: none;
  opacity: .7;
  transition: opacity .2s, border-color .2s;
}

.thumb-btn.active,
.thumb-btn:hover {
  opacity: 1;
  border-color: var(--red);
}

.thumb-btn img {
  width: 72px;
  height: 96px;
  object-fit: cover;
}

.profile-category-label {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 3px;
  letter-spacing: 1px;
  margin-bottom: .5rem;
}

.profile-name {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: var(--white);
}

.profile-stats {
  list-style: none;
  margin-bottom: 1.25rem;
}

.profile-stats li {
  padding: .35rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
  color: var(--gray-light);
}

.profile-stats strong { color: var(--white); }

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .1s;
  text-align: center;
}

.btn:active { transform: scale(.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
}
.btn-primary:hover { background: var(--purple-dark); color: #fff; }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}
.btn-whatsapp:hover { background: #1da851; color: #fff; }

.btn-phone {
  background: var(--gray);
  color: var(--white);
  border: 1px solid var(--border);
}
.btn-phone:hover { background: var(--black-soft); color: #fff; }

.profile-description h2 {
  font-size: 1rem;
  color: var(--red);
  margin-bottom: .75rem;
  text-transform: uppercase;
}

.description-text {
  color: var(--gray-light);
  line-height: 1.7;
  font-size: .95rem;
}

.similar-section { margin-top: 3rem; }

/* FAB WhatsApp */
.fab-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 15px rgba(37,211,102,.5);
  z-index: 200;
  transition: transform .2s;
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  color: #fff;
}

/* Blog Detail */
.blog-detail { padding: 1.5rem 0 3rem; }

.blog-article { max-width: 800px; }

.blog-article-header { margin-bottom: 1.5rem; }

.blog-date {
  display: block;
  font-size: .85rem;
  color: var(--red);
  margin-bottom: .5rem;
}

.blog-article-header h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.3;
  color: var(--white);
  margin-bottom: .75rem;
}

.blog-lead {
  font-size: 1.1rem;
  color: var(--gray-light);
  line-height: 1.6;
}

.blog-featured-image {
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.blog-featured-image img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
}

.blog-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #ccc;
}

.blog-content h2, .blog-content h3 {
  color: var(--white);
  margin: 1.5rem 0 .75rem;
}

.blog-content h2 { font-size: 1.25rem; color: var(--red); }

.blog-content p { margin-bottom: 1rem; }

.blog-content img {
  border-radius: var(--radius);
  margin: 1rem 0;
}

.blog-content ul, .blog-content ol {
  margin: 1rem 0 1rem 1.5rem;
}

.blog-article-footer { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

.blog-sidebar {
  max-width: 800px;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.blog-sidebar h2 {
  font-size: 1rem;
  color: var(--red);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.recent-blog-list { list-style: none; }

.recent-blog-list li { border-bottom: 1px solid var(--border); }

.recent-blog-list a {
  display: flex;
  gap: 1rem;
  padding: .75rem 0;
  color: inherit;
  align-items: center;
}

.recent-blog-list a:hover { color: var(--red-light); }

.recent-blog-list img {
  width: 80px;
  height: 55px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.recent-blog-list strong {
  display: block;
  font-size: .9rem;
  color: var(--white);
}

.recent-blog-list time {
  font-size: .75rem;
  color: var(--gray-light);
}

/* Footer */
.site-footer {
  background: var(--black);
  border-top: 2px solid var(--red-dark);
  padding: 1.5rem 0;
  text-align: center;
  margin-top: auto;
}

.site-footer p { font-size: .85rem; color: var(--gray-light); }

.footer-keywords { font-size: .75rem; margin-top: .25rem; color: var(--gray-mid); }

/* ========== ADMIN STYLES ========== */
.admin-body {
  background: #f0f2f5;
  color: #333;
  min-height: 100vh;
}

.admin-header {
  background: var(--black);
  color: #fff;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  border-bottom: 3px solid var(--red);
}

.admin-header h1 { font-size: 1.1rem; color: var(--red); }

.admin-header nav { display: flex; gap: 1rem; align-items: center; }

.admin-header nav a {
  color: #ccc;
  font-size: .85rem;
}

.admin-header nav a:hover { color: #fff; }

.admin-layout {
  display: flex;
  min-height: calc(100vh - 56px);
}

.admin-sidebar {
  width: 220px;
  background: #fff;
  border-right: 1px solid #ddd;
  padding: 1rem 0;
  flex-shrink: 0;
}

.admin-sidebar ul { list-style: none; }

.admin-sidebar a {
  display: block;
  padding: .65rem 1.25rem;
  color: #444;
  font-size: .9rem;
  border-left: 3px solid transparent;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
  background: #fef2f4;
  color: var(--red);
  border-left-color: var(--red);
}

.admin-main {
  flex: 1;
  padding: 1.5rem;
  overflow-x: auto;
}

.admin-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  margin-bottom: 1.5rem;
}

.admin-card h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #222;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--red);
}

/* Forms */
.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .35rem;
  color: #444;
}

.form-control {
  width: 100%;
  padding: .6rem .75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: .9rem;
  font-family: inherit;
  transition: border-color .2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(196,30,58,.15);
}

textarea.form-control { min-height: 120px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.form-check {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.form-check input { width: auto; }

.btn-admin {
  display: inline-block;
  padding: .6rem 1.25rem;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}

.btn-admin:hover { background: var(--red-dark); color: #fff; }

.btn-admin-secondary {
  background: #666;
}
.btn-admin-secondary:hover { background: #444; color: #fff; }

.btn-admin-danger {
  background: #dc3545;
}
.btn-admin-danger:hover { background: #b02a37; color: #fff; }

.btn-admin-sm {
  padding: .35rem .75rem;
  font-size: .8rem;
}

/* Tables */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}

.admin-table th,
.admin-table td {
  padding: .65rem .75rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.admin-table th {
  background: #f8f8f8;
  font-weight: 600;
  color: #555;
}

.admin-table tr:hover td { background: #fafafa; }

.admin-table img {
  width: 50px;
  height: 65px;
  object-fit: cover;
  border-radius: 4px;
}

.table-actions { display: flex; gap: .4rem; flex-wrap: wrap; }

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-box {
  background: #fff;
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  border-left: 4px solid var(--red);
}

.stat-box .number { font-size: 2rem; font-weight: 800; color: var(--red); }
.stat-box .label { font-size: .85rem; color: #666; margin-top: .25rem; }

/* Alerts */
.alert {
  padding: .75rem 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: .9rem;
}

.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* Login */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--black) 0%, #2a1015 100%);
}

.login-box {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow);
}

.login-box h1 {
  text-align: center;
  color: var(--red);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Image preview */
.image-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .75rem;
}

.image-preview-item {
  position: relative;
  width: 100px;
}

.image-preview-item img {
  width: 100px;
  height: 130px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.image-preview-item .remove-img {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #dc3545;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: .75rem;
  cursor: pointer;
  line-height: 1;
}

.upload-hint {
  font-size: .8rem;
  color: #888;
  margin-top: .25rem;
}

/* Mobile admin */
@media (max-width: 768px) {
  .admin-layout { flex-direction: column; }
  .admin-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ddd;
  }
  .admin-sidebar ul {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .admin-sidebar a { white-space: nowrap; border-left: none; border-bottom: 3px solid transparent; }
  .admin-sidebar a.active { border-bottom-color: var(--red); border-left: none; }
  .profile-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .profile-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .card-name { font-size: .8rem; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* ========== NEARBY ESCORTS (fake map) ========== */
.hidden { display: none !important; }

.nearby-section {
  margin: 1.25rem 0 2rem;
  padding: 1.5rem;
  background: rgba(18, 14, 28, 0.92);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(139, 92, 246, 0.45);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(109, 40, 217, 0.18), 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,.06);
  scroll-margin-top: 120px;
}

.nearby-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.nearby-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.nearby-icon {
  color: var(--purple-light);
  flex-shrink: 0;
  margin-top: .15rem;
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.45));
}

.nearby-title {
  margin: 0 0 .25rem !important;
  border: none !important;
  padding: 0 !important;
}

.nearby-subtitle {
  font-size: .85rem;
  color: var(--gray-light);
  margin: 0;
}

.btn-nearby-enable {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(109, 40, 217, 0.45);
  transition: transform .2s, box-shadow .2s;
}

.btn-nearby-enable:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(109, 40, 217, 0.55);
}

.btn-nearby-enable:disabled.enabled {
  background: linear-gradient(135deg, #5b8fd4 0%, #3d6db5 100%);
  box-shadow: 0 2px 12px rgba(66, 133, 244, 0.4);
  min-width: 48px;
  justify-content: center;
}

.nearby-map-preview {
  position: relative;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(165deg, #9ec5e8 0%, #b8d9f0 35%, #c8e0c4 70%, #a8c8e8 100%);
}

.nearby-map-preview::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 3;
  width: 22px;
  height: 22px;
  background: linear-gradient(145deg, var(--purple-light), var(--purple-dark));
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -50%) rotate(-45deg);
  box-shadow: 0 3px 10px rgba(109, 40, 217, 0.45);
  opacity: 0.85;
}

.map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
}

.map-blur-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.25) 0%, rgba(109, 40, 217, 0.35) 100%);
  backdrop-filter: blur(8px);
}

.map-preview-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: #1a2a44;
  font-size: .9rem;
  font-weight: 600;
  z-index: 2;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
}

.nearby-loading {
  text-align: center;
  padding: 2.5rem 1rem;
}

.nearby-spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border: 3px solid rgba(139, 92, 246, 0.25);
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: nearby-spin .8s linear infinite;
}

@keyframes nearby-spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-weight: 600;
  color: var(--white);
}

.loading-sub {
  font-size: .85rem;
  color: var(--gray-light);
  margin-top: .35rem;
}

.nearby-location-bar {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  padding: .6rem .85rem;
  background: rgba(66, 133, 244, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: .9rem;
}

.location-pulse {
  width: 10px;
  height: 10px;
  background: var(--purple);
  border: 2px solid #fff;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.65); }
  50% { box-shadow: 0 0 0 8px rgba(139, 92, 246, 0); }
}

.location-radius {
  margin-left: auto;
  color: var(--gray-light);
  font-size: .8rem;
}

.nearby-map-wrap {
  margin-bottom: 1rem;
}

.fake-map {
  position: relative;
  height: 280px;
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(168, 212, 200, 0.5) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 20%, rgba(184, 220, 245, 0.6) 0%, transparent 50%),
    linear-gradient(165deg, #a8cce8 0%, #c5dff5 30%, #d8e8f4 55%, #b0cfe8 100%);
  border: 1px solid rgba(66, 133, 244, 0.25);
  box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.15);
}

.map-roads {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(75deg, transparent 47%, rgba(255,255,255,.55) 48.5%, rgba(255,255,255,.55) 51.5%, transparent 53%),
    linear-gradient(-12deg, transparent 56%, rgba(255,255,255,.45) 57.5%, rgba(255,255,255,.45) 60.5%, transparent 62%),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
  opacity: 0.85;
}

.map-user-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  z-index: 5;
  text-align: center;
}

.map-user-pin .pin-dot {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  margin: 0 auto;
  background: linear-gradient(145deg, var(--purple-light) 0%, var(--purple) 55%, var(--purple-dark) 100%);
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.55), 0 2px 6px rgba(0,0,0,.25);
  animation: pulse-dot 2s ease infinite;
}

.map-user-pin .pin-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: #fff;
  border-radius: 50%;
}

.map-user-pin .pin-label {
  display: block;
  font-size: .7rem;
  font-weight: 800;
  color: var(--purple-dark);
  margin-top: 6px;
  padding: .15rem .45rem;
  background: rgba(255,255,255,.92);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  text-shadow: none;
}

.map-escort-pins {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.map-escort-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  text-align: center;
  transition: transform .2s;
  z-index: 6;
}

.map-escort-pin:hover {
  transform: translate(-50%, -100%) scale(1.1);
  z-index: 10;
}

.pin-thumb {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  overflow: hidden;
  border: 3px solid var(--purple);
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.45), 0 2px 6px rgba(0,0,0,.35);
  background: #fff;
}

.pin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: rotate(45deg) scale(1.2);
}

.pin-dist {
  display: block;
  font-size: .65rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  padding: .15rem .45rem;
  border-radius: 10px;
  margin-top: 2px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(109, 40, 217, 0.35);
}

.nearby-results-label {
  font-size: .9rem;
  color: var(--gray-light);
  margin-bottom: .75rem;
}

.nearby-results-label strong {
  color: var(--purple-light);
}

.nearby-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .75rem;
}

.nearby-card {
  display: block;
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  color: inherit;
  transition: border-color .2s, transform .2s;
}

.nearby-card:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
  color: inherit;
  box-shadow: 0 4px 16px rgba(109, 40, 217, 0.25);
}

.nearby-card-img {
  position: relative;
  aspect-ratio: 3/4;
}

.nearby-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nearby-dist-badge {
  position: absolute;
  bottom: .4rem;
  left: .4rem;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .45rem;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(109, 40, 217, 0.4);
}

.nearby-card-body {
  padding: .5rem .6rem;
  text-align: center;
}

.nearby-online {
  display: inline-block;
  font-size: .6rem;
  color: #25d366;
  font-weight: 700;
  text-transform: uppercase;
}

.nearby-card-body h3 {
  font-size: .85rem;
  margin: .2rem 0;
  color: var(--white);
}

.nearby-cat {
  font-size: .65rem;
  color: var(--purple-light);
  display: block;
}

.nearby-view {
  font-size: .7rem;
  color: var(--gray-light);
  display: block;
  margin-top: .25rem;
}

.blog-card,
.blog-section {
  position: relative;
}

/* ========== MOBİL UYUM ========== */
@media (max-width: 992px) {
  .profile-detail-grid {
    grid-template-columns: 1fr;
  }

  .profile-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 .75rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .logo {
    justify-content: center;
  }

  .logo-img {
    height: 100px;
    max-width: min(96vw, 420px);
    width: auto;
    margin: 0 auto;
    object-position: center;
  }

  .header-right {
    align-items: center;
    width: 100%;
  }

  .tagline {
    font-size: .75rem;
    text-align: center;
  }

  .nav-nearby-link {
    display: block;
    text-align: center;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .lang-switcher {
    justify-content: center;
    flex-wrap: wrap;
  }

  .support-bar-inner {
    flex-direction: column;
    text-align: center;
    font-size: .8rem;
    padding: .25rem 0;
  }

  .support-whatsapp {
    width: 100%;
    justify-content: center;
    font-size: .8rem;
    word-break: break-word;
  }

  .category-nav {
    top: 0;
  }

  .category-list {
    padding: .5rem 0;
    gap: .4rem;
  }

  .category-btn {
    font-size: .75rem;
    padding: .4rem .75rem;
  }

  .main-content {
    padding: 1rem 0 2rem;
  }

  .profile-grid,
  .profile-grid-sm {
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .nearby-section {
    padding: 1rem;
    margin: 1rem 0 1.5rem;
  }

  .nearby-header {
    flex-direction: column;
    align-items: stretch;
  }

  .nearby-title-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .btn-nearby-enable {
    width: 100%;
    justify-content: center;
  }

  .fake-map {
    height: 220px;
  }

  .nearby-results {
    grid-template-columns: repeat(2, 1fr);
  }

  .nearby-map-preview {
    height: 160px;
  }

  .fab-whatsapp,
  .fab-support {
    width: 50px;
    height: 50px;
    bottom: 1rem;
    right: 1rem;
  }

  body:has(.fab-profile) .fab-support {
    bottom: 4.5rem;
  }

  .profile-name {
    font-size: 1.4rem;
  }

  .contact-buttons .btn {
    width: 100%;
  }

  .pagination {
    gap: .3rem;
  }

  .page-link {
    min-width: 32px;
    height: 32px;
    font-size: .85rem;
  }

  .section-title {
    font-size: 1rem;
  }
}

@media (max-width: 380px) {
  .profile-grid,
  .nearby-results {
    grid-template-columns: repeat(2, 1fr);
    gap: .4rem;
  }

  .card-name {
    font-size: .75rem;
  }

  .card-category {
    font-size: .6rem;
  }

  .lang-btn {
    min-width: 28px;
    height: 26px;
    font-size: .65rem;
  }
}

/* Admin — blog kapak görseli */
.blog-cover-field {
  margin-bottom: 1.25rem;
}

.blog-cover-field > label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .5rem;
  color: #444;
}

.blog-cover-preview {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 16 / 9;
  background: #eee;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: .75rem;
  border: 1px dashed #ccc;
}

.blog-cover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-cover-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: .85rem;
}

.blog-cover-remove {
  margin-top: .5rem;
}

.admin-blog-thumb {
  width: 88px;
  height: 52px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.admin-blog-no-thumb {
  font-size: .75rem;
  color: #999;
}
