/* ============================================
   VORA.IN — Base Theme Variables
   ============================================ */
:root {
  --color-bg: #FBF7F5;           /* warm cream background */
  --color-card: #FFFFFF;         /* white cards */
  --color-rose-gold: #B76E79;    /* primary accent */
  --color-rose-gold-light: #D9A8AE; /* hover/lighter accent */
  --color-text: #2B2320;         /* soft charcoal, not pure black */
  --color-text-muted: #7A6F6B;   /* secondary text */
  --color-border: #EDE3E0;       /* subtle dividers */
  --shadow-card: 0 2px 10px rgba(183, 110, 121, 0.08);
  --font-logo: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

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

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   HEADER + LOGO
   ============================================ */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--color-card);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-link {
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.5px;
  color: var(--color-rose-gold);
  text-transform: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-actions button {
  background: var(--color-rose-gold);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.header-actions button:hover {
  background: var(--color-rose-gold-light);
}

@media (max-width: 600px) {
  .logo-text { font-size: 20px; }
  .header { padding: 12px 16px; }
}

/* ============================================
   SEARCH / FILTER BAR
   ============================================ */
.filter-bar {
  background: var(--color-card);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  padding: 18px;
  margin: 20px auto;
  max-width: 1100px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-bar select {
  flex: 1;
  min-width: 140px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #fff;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 14px;
}

.filter-bar button {
  background: var(--color-rose-gold);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.filter-bar button:hover {
  background: var(--color-rose-gold-light);
}

@media (max-width: 600px) {
  .filter-bar { flex-direction: column; margin: 12px; }
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.breadcrumb .current {
  color: var(--color-rose-gold);
  font-weight: 600;
}

/* ============================================
   PAGE INTRO
   ============================================ */
.page-intro {
  max-width: 1100px;
  margin: 16px auto;
  padding: 0 20px;
}

.page-intro h1 {
  font-family: var(--font-logo);
  font-size: 26px;
  color: var(--color-text);
  margin-bottom: 10px;
}

.page-intro p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 750px;
}

/* ============================================
   AD LISTINGS GRID + CARD
   ============================================ */
.listings {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ad-card {
  background: var(--color-card);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 16px;
  padding: 14px;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.ad-card:hover {
  box-shadow: 0 4px 18px rgba(183, 110, 121, 0.16);
  transform: translateY(-1px);
}

.ad-card-img {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-border);
}

.ad-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.ad-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
  line-height: 1.3;
}

.ad-card-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

.ad-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: auto;
}

.ad-card-meta .pin { color: var(--color-rose-gold); }

.ad-card-actions {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.ad-card-actions a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.btn-call { background: #E4574C; }
.btn-whatsapp { background: #25D366; }

.ad-card-actions svg { width: 18px; height: 18px; fill: #fff; }

@media (max-width: 600px) {
  .ad-card { padding: 10px; gap: 10px; }
  .ad-card-img { width: 88px; height: 88px; }
  .ad-card-title { font-size: 14px; }
  .ad-card-desc { font-size: 12px; -webkit-line-clamp: 2; }
  .ad-card-actions a { width: 34px; height: 34px; }
}

/* ============================================
   HERO / SEARCH SECTION (Homepage directory)
   ============================================ */
.hero {
  text-align: center;
  padding: 48px 20px 32px;
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-logo);
  font-size: 32px;
  color: var(--color-text);
  margin-bottom: 12px;
}

.hero p {
  color: var(--color-text-muted);
  font-size: 15px;
  margin-bottom: 24px;
}

.city-search {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
  border-radius: 8px;
  overflow: hidden;
}

.city-search input {
  flex: 1;
  border: 1px solid var(--color-border);
  border-right: none;
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
}

.city-search button {
  background: var(--color-rose-gold);
  color: #fff;
  border: none;
  padding: 0 24px;
  font-weight: 600;
  cursor: pointer;
}

.city-search button:hover { background: var(--color-rose-gold-light); }

/* ============================================
   CITY DIRECTORY (state-wise grouped grid)
   ============================================ */
.city-directory {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 20px 60px;
}

.state-block {
  margin-bottom: 30px;
}

.state-block h2 {
  font-family: var(--font-logo);
  font-size: 18px;
  color: var(--color-rose-gold);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.city-chip {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 10px 14px;
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.city-chip:hover {
  background: var(--color-rose-gold);
  border-color: var(--color-rose-gold);
  color: #fff;
}

@media (max-width: 600px) {
  .hero { padding: 32px 16px 20px; }
  .hero h1 { font-size: 24px; }
  .city-search { flex-direction: column; box-shadow: none; }
  .city-search input { border-right: 1px solid var(--color-border); border-radius: 8px; margin-bottom: 8px; }
  .city-search button { border-radius: 8px; padding: 12px; }
  .city-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .city-chip { font-size: 12px; padding: 8px 10px; }
}

/* ============================================
   AD CARDS — matches classes generated by main.js
   (city listing pages: ads.html / /call-girls/:city)
   ============================================ */
#ads-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ad-card {
  background: var(--color-card);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 14px;
  padding: 12px;
  position: relative;
  transition: box-shadow 0.2s ease;
}

.ad-card:hover { box-shadow: 0 4px 18px rgba(183, 110, 121, 0.16); }

.ad-card.ace-highlight { border: 1.5px solid var(--color-rose-gold); }
.ad-card.diamond-highlight { border: 1.5px solid #B9D4E8; }
.ad-card.silver-highlight { border: 1.5px solid #D8D8D8; }

.ad-card-image-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 120px;
  height: 181px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-border);
}

.ad-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.escort-name-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(43, 35, 32, 0.65);
  color: #fff;
  font-size: 11px;
  text-align: center;
  padding: 4px 2px;
}

.ad-card-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.ad-card-content h3 { font-size: 15px; margin-bottom: 6px; line-height: 1.3; }

.ad-title-link {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 700;
}

.ad-card-description-text {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

.ad-info {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: auto;
  margin-bottom: 10px;
}

.ad-separator { color: var(--color-border); }

.ad-card-actions {
  display: flex;
  gap: 10px;
}

.contact-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.contact-icon { width: 18px; height: 18px; }

#no-ads-message {
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 20px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
}

#load-more-btn {
  display: block;
  margin: 10px auto 40px;
  background: var(--color-rose-gold);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  visibility: hidden;
}

#load-more-btn:hover { background: var(--color-rose-gold-light); }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.current-city-heading {
  max-width: 1100px;
  margin: 20px auto 4px;
  padding: 0 20px;
  font-family: var(--font-logo);
  font-size: 24px;
  color: var(--color-text);
}

@media (max-width: 600px) {
  .ad-card-image-wrapper { width: 90px; height: 135px; }
  .ad-card-content h3 { font-size: 13.5px; }
  .ad-card-description-text { font-size: 12px; }
  .contact-icon-btn { width: 32px; height: 32px; }
}

/* ============================================
   SIDEBAR NAVIGATION
   ============================================ */
.sidebar {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100%;
  background: var(--color-card);
  box-shadow: -2px 0 12px rgba(0,0,0,0.1);
  transition: right 0.25s ease;
  z-index: 200;
  padding: 20px;
}

.sidebar.active { right: 0; }

.sidebar-close-btn {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 20px;
}

.sidebar ul { list-style: none; }

.sidebar li { margin-bottom: 4px; }

.restricted-item { display: none; }

.sidebar a, .sidebar button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 10px;
  color: var(--color-text);
  text-decoration: none;
  background: none;
  border: none;
  font-size: 14px;
  font-family: var(--font-body);
  cursor: pointer;
  border-radius: 6px;
}

.sidebar a:hover, .sidebar button:hover { background: var(--color-bg); color: var(--color-rose-gold); }

/* ============================================
   SLIDE-IN PANELS (Post Ad / Auth)
   ============================================ */
.post-ad-slide, .auth-slide, .edit-ad-slide {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: var(--color-card);
  box-shadow: -2px 0 12px rgba(0,0,0,0.12);
  transition: right 0.25s ease;
  z-index: 300;
  overflow-y: auto;
}

.post-ad-slide.active, .auth-slide.active, .edit-ad-slide.active { right: 0; }

.post-ad-content, .auth-content { padding: 24px; }

.close-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  float: right;
  margin-bottom: 10px;
}

.post-ad-slide h2, .auth-slide h2 {
  font-family: var(--font-logo);
  font-size: 20px;
  color: var(--color-text);
  clear: both;
  margin-bottom: 18px;
}

.post-ad-slide input,
.post-ad-slide select,
.post-ad-slide textarea,
.auth-slide input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
}

.post-ad-slide textarea { resize: vertical; min-height: 90px; }

.post-ad-slide button[type="button"],
.post-ad-slide button[type="submit"],
.auth-slide button[type="submit"] {
  width: 100%;
  background: var(--color-rose-gold);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.post-ad-slide button:hover, .auth-slide button[type="submit"]:hover { background: var(--color-rose-gold-light); }

.auth-toggle-btn {
  background: none !important;
  border: none;
  color: var(--color-rose-gold) !important;
  padding: 0 !important;
  width: auto !important;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.captcha-display {
  background: var(--color-bg);
  border: 1px dashed var(--color-border);
  border-radius: 6px;
  padding: 8px;
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.captcha-value { font-weight: 700; color: var(--color-rose-gold); }

/* Ad Type Modal */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(43,35,32,0.5);
  z-index: 400;
  align-items: center;
  justify-content: center;
}

.modal.active { display: flex; }

.modal-content {
  background: var(--color-card);
  border-radius: 12px;
  padding: 24px;
  max-width: 420px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.close-button {
  float: right;
  cursor: pointer;
  font-size: 20px;
  color: var(--color-text-muted);
}

.ad-type-buttons-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.ad-type-select-btn {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
  color: var(--color-text);
}

.ad-type-select-btn span { display: block; font-size: 11px; color: var(--color-text-muted); margin-top: 3px; }

.ad-type-select-btn.selected { border-color: var(--color-rose-gold); background: #FBF0F1; }

@media (max-width: 600px) {
  .post-ad-slide, .auth-slide, .edit-ad-slide { max-width: 100%; }
}
