/* ----- RESET & VARIABLES ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --text: #1e1b1b;
  --text-light: #5c5c5c;
  --gold: #b8914a;
  --gold-light: #e5d5b3;
  --border: #eaeaea;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 12px 24px rgba(0, 0, 0, 0.08);
  --font: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.2s ease;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo {
  font-weight: 300;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
  font-weight: 300;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gold);
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ----- HEADER ----- */
.site-header {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--gold);
}

.logo span {
  color: var(--text);
  font-weight: 200;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  font-weight: 400;
}

.nav-links .post-ad {
  background: var(--gold);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  font-weight: 500;
}

.nav-links .post-ad:hover {
  background: #a17b3f;
}

/* ----- FILTER BAR (desktop) ----- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  background: var(--surface);
  padding: 1.5rem 2rem;
  border-radius: 60px;
  box-shadow: var(--shadow-sm);
  margin: 2rem 0;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-group label {
  font-weight: 400;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.filter-select,
.filter-input {
  border: 1px solid var(--border);
  background: white;
  padding: 0.5rem 1.5rem 0.5rem 1rem;
  border-radius: 30px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 300;
  cursor: pointer;
  transition: var(--transition);
}

.filter-select:hover,
.filter-input:hover {
  border-color: var(--gold);
}

/* price options as buttons (inside filter bar) */
.price-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.price-option {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 300;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
}

.price-option:hover,
.price-option.active {
  border-color: var(--gold);
  background: rgba(184, 145, 74, 0.1);
}

.price-option.active {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
}

/* ----- LAYOUT SELECTOR (premium toggle) ----- */
.layout-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 2rem 0 1rem;
}

.layout-selector {
  display: flex;
  gap: 0.5rem;
  background: var(--surface);
  padding: 0.3rem;
  border-radius: 40px;
  box-shadow: var(--shadow-sm);
}

.layout-btn {
  background: transparent;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.layout-btn:hover,
.layout-btn.active {
  background: var(--gold);
  color: white;
}

/* ----- PROFILE GRID (default 4 per row) ----- */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

/* list view */
.profile-grid.list {
  grid-template-columns: 1fr !important;
}

.profile-grid.list .profile-card {
  display: flex;
  flex-direction: row;
}

.profile-grid.list .card-image {
  width: 200px;
  height: auto;
  min-height: 240px;
}

/* individual cards */
.profile-card {
  background: var(--surface);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

/* image container with rotating images */
.card-image {
  position: relative;
  height: 280px;
  background-color: #d9d0c0;
  overflow: hidden;
}

.image-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.image-layer:first-child {
  opacity: 1;
}

.badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  padding: 0.3rem 1rem;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  z-index: 2;
}

.badge.gold {
  background: var(--gold);
  color: white;
}

.card-content {
  padding: 1.5rem 1.2rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.escort-name {
  font-size: 1.6rem;
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.escort-tagline {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.meta-row {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-weight: 300;
}

.view-profile {
  margin-top: auto;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.6rem 1rem;
  border-radius: 40px;
  font-weight: 400;
  text-align: center;
  transition: var(--transition);
}

.view-profile:hover {
  background: var(--gold);
  color: white;
}

/* ----- BACK TO TOP ----- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--gold);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-hover);
  opacity: 0.8;
  transition: var(--transition);
  z-index: 99;
  cursor: pointer;
  border: none;
}

.back-to-top:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ----- CTA BUTTON ----- */
.cta-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}

.btn-primary {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  border-radius: 40px;
  font-weight: 600;
  text-align: center;
  background-color: var(--gold);
  color: white;
  transition: background-color 0.3s ease;
  text-decoration: none;
  width: 100%;
  max-width: 300px;
}

.btn-primary:hover {
  background-color: #b8914a;
}

/* ----- FOOTER ----- */
.site-footer {
  background: #1e1b1b;
  color: #bbb;
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
  border-radius: 40px 40px 0 0;
  font-weight: 300;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
  gap: 2rem;
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.footer-col a {
  color: #aaa;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  font-size: 0.8rem;
  color: #777;
  border-top: 1px solid #333;
  margin-top: 2rem;
}

/* ----- RESPONSIVE STYLES ----- */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .header-inner {
    flex-direction: column;
    gap: 1rem;
  }

  /* Profile grid: 2 columns on tablets */
  .profile-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .profile-grid.list .profile-card {
    flex-direction: column;
  }

  .profile-grid.list .card-image {
    width: 100%;
    height: 240px;
  }

  .layout-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  /* Filter bar mobile: 2 columns grid */
  .filter-bar {
    padding: 1rem;
    margin: 1rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    border-radius: 30px;
  }

  /* Each filter group stacks label above input */
  .filter-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    width: 100%;
  }

  .filter-group label {
    font-size: 0.75rem;
  }

  .filter-select,
  .filter-input {
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 25px;
  }

  /* Price options span both columns on mobile (optional) */
  .price-options {
    grid-column: span 2;  /* Makes price buttons full width */
    justify-content: center;
  }

  .btn-primary {
    padding: 0.8rem 1.8rem;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .profile-grid {
    grid-template-columns: 1fr !important;
  }

  .filter-bar {
    padding: 0.5rem;
    gap: 0.75rem;
  }

  .filter-group label {
    font-size: 0.7rem;
  }

  .filter-select,
  .filter-input {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .btn-primary {
    padding: 0.6rem 1.5rem;
    max-width: 200px;
  }
}

/* ----- PROFILE CARDS: Premium Full‑Image Overlay ----- */
/* ----- PROFILE CARD (full image overlay) ----- */
/* ----- PROFILE CARDS – Premium Minimal ----- */
/* ----- PROFILE CARDS – Premium Minimal ----- */
.profile-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 400px;
  background-color: #d9d0c0; /* fallback */
}

.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

/* Image container – full cover */
.card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Rotating image layers */
.image-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.image-layer:first-child {
  opacity: 1;
}

/* Soft gradient overlay at bottom */
.card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
  pointer-events: none;
  z-index: 1;
}

/* Content overlay – positioned at bottom, full width */
.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  padding: 1.5rem 1.8rem;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* Name & location – bottom left */
.escort-info {
  align-self: flex-start;
  text-align: left;
  margin-bottom: 0.25rem;
}

.escort-name {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
  opacity: 0.95;
  color: gold;
}

.escort-location {
  font-size: 0.8rem;
  opacity: 0.8;
  font-weight: 200;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.escort-location::before {
  content: '📍';
  font-size: 0.7rem;
  opacity: 0.7;
  margin-right: 0.1rem;
}

/* Price & button row – bottom, full width */
.action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.escort-price {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--gold);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.view-profile {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 400;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  backdrop-filter: blur(2px);
}

.view-profile:hover {
  background: white;
  color: var(--text);
  border-color: white;
}

/* ----- MOBILE: two columns for all screens ≤768px ----- */
@media (max-width: 768px) {
  .profile-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem;
  }

  .profile-card {
    height: 300px;
  }

  .card-content {
    padding: 1rem 1.2rem;
    gap: 0.5rem;
  }

  .escort-name {
    font-size: 1.1rem;
  }

  .escort-location {
    font-size: 0.7rem;
  }

  .escort-price {
    font-size: 0.9rem;
  }

  .view-profile {
    padding: 0.3rem 0.9rem;
    font-size: 0.65rem;
  }
}

/* ----- VERY SMALL DEVICES (≤480px) – keep two columns, tighter spacing ----- */
@media (max-width: 480px) {
  .profile-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem;
  }

  .profile-card {
    height: 260px; /* slightly smaller for very narrow screens */
  }

  .card-content {
    padding: 0.8rem 0.9rem;
    gap: 0.3rem;
  }

  .escort-name {
    font-size: 0.95rem;
    color: gold;
  }

  .escort-location {
    font-size: 0.6rem;
  }

  .escort-price {
    font-size: 0.8rem;
  }

  .view-profile {
    padding: 0.2rem 0.7rem;
    font-size: 0.55rem;
  }

  .action-row {
    flex-wrap: wrap;
    gap: 0.3rem;
    justify-content: space-between;
  }
}

/* ----- PAGINATION ----- */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 3rem 0 2rem;
  flex-wrap: wrap;
}

.pagination button {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font);
  padding: 0.5rem 0.9rem;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
}

.pagination button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.pagination button.active {
  background: var(--gold);
  border-color: var(--gold);
  color: white;
}

.pagination button:disabled {
  opacity: 0.4;
  cursor: default;
}

/* City page specific styles (can be added to index.css) */

.breadcrumbs {
  margin: 1rem 0;
  font-size: 0.9rem;
  color: #999;
}
.breadcrumbs a {
  color: #d4af37;
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}

.city-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #666;
}

.escort-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.escort-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.escort-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.escort-card img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
}

.escort-info {
  padding: 1rem;
}

.escort-info h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.escort-info p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: #777;
}

.escort-info .rate {
  font-weight: 600;
  color: #d4af37;
  margin-top: 0.5rem;
}

/* ===============================
   AGE VERIFICATION OVERLAY
   =============================== */
.age-verify-overlay {
  display: none; /* hidden by default, shown via JS if not verified */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.age-verify-modal {
  background: #1a1a1a;
  padding: 3rem 2.5rem;
  border-radius: 32px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid #333;
}

.age-verify-modal .logo {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #c9a45c;
}

.age-verify-modal .logo span {
  color: white;
}

.age-verify-modal h2 {
  color: white;
  font-weight: 300;
  margin-bottom: 1rem;
}

.age-verify-modal p {
  color: #aaa;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.age-verify-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.age-verify-buttons .btn-primary,
.age-verify-buttons .btn-secondary {
  padding: 0.8rem 1.8rem;
  border-radius: 40px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.age-verify-buttons .btn-primary {
  background: #c9a45c;
  color: #0a0a0a;
}

.age-verify-buttons .btn-primary:hover {
  background: #dbb16c;
  transform: translateY(-2px);
}

.age-verify-buttons .btn-secondary {
  background: #333;
  color: white;
}

.age-verify-buttons .btn-secondary:hover {
  background: #444;
}

@media (max-width: 600px) {
  .age-verify-modal {
    padding: 2rem 1.5rem;
  }
  .age-verify-buttons {
    flex-direction: column;
  }
}