/*
Theme Name:  Escort Directory Light
Theme URI:   https://example.com
Author:      Custom
Description: Light escort/massage directory theme. Clean, modern, girls4call style.
Version:     1.0.0
Text Domain: edl
*/

/* =====================================================
   VARIABLES
   ===================================================== */
:root {
  --white:      #ffffff;
  --bg:         #f5f6fa;
  --bg2:        #eef0f6;
  --border:     #e2e5ef;
  --red:        #e8304a;
  --red-hover:  #c8253e;
  --gold:       #f5a623;
  --text:       #1a1d2e;
  --text2:      #6b7080;
  --text3:      #9da3b4;
  --green:      #27ae60;
  --blue:       #3498db;
  --shadow:     0 2px 12px rgba(0,0,0,.08);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.12);
  --r:          8px;
  --font:       'Nunito', 'Helvetica Neue', sans-serif;
  --wrap:       1240px;
}

/* =====================================================
   RESET
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-weight: 400; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  background: var(--red);
  padding: 0;
  position: sticky; top: 0; z-index: 900;
  box-shadow: 0 2px 8px rgba(232,48,74,.3);
}
.header-inner {
  display: flex; align-items: center;
  height: 56px; gap: 20px;
}
.logo__name {
  font-size: 1.4rem; font-weight: 900;
  color: #fff; letter-spacing: .03em;
  text-transform: uppercase;
}
.logo__name span { color: rgba(255,255,255,.7); font-weight: 400; }

.header-tagline {
  display: flex; flex-direction: column;
  border-left: 1px solid rgba(255,255,255,.25);
  padding-left: 16px;
}
.header-tagline span { color: rgba(255,255,255,.9); font-size: .72rem; line-height: 1.3; }
.header-tagline strong { color: #fff; font-size: .82rem; }

/* Country/city selectors */
.header-selectors { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-selector {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 4px;
  color: #fff; font-size: .82rem; font-weight: 600;
  padding: 6px 12px; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
}
.header-selector:hover { background: rgba(255,255,255,.25); }

/* Login button */
.header-login {
  background: #fff;
  color: var(--red);
  border-radius: 4px;
  padding: 7px 18px;
  font-size: .82rem; font-weight: 700;
  transition: opacity .2s;
}
.header-login:hover { opacity: .9; }

/* Register button */
.header-register {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.6);
  color: #fff;
  border-radius: 4px;
  padding: 6px 16px;
  font-size: .82rem; font-weight: 600;
  transition: background .2s;
}
.header-register:hover { background: rgba(255,255,255,.1); }

/* =====================================================
   FILTER TABS
   ===================================================== */
.filter-tabs {
  background: #fff;
  border-bottom: 2px solid var(--border);
}
.filter-tabs__inner {
  display: flex; align-items: center; gap: 0;
  overflow-x: auto; scrollbar-width: none;
}
.filter-tabs__inner::-webkit-scrollbar { display: none; }

.filter-tab {
  padding: 13px 20px;
  font-size: .82rem; font-weight: 700;
  color: var(--text2);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
}
.filter-tab:hover { color: var(--red); }
.filter-tab.is-active { color: var(--red); border-bottom-color: var(--red); }

.filter-search {
  margin-left: auto; padding: 8px 16px;
  display: flex; align-items: center; gap: 6px;
  color: var(--text2); font-size: .84rem; cursor: pointer;
}
.filter-search:hover { color: var(--red); }

/* =====================================================
   MAIN LAYOUT
   ===================================================== */
.main-layout {
  max-width: var(--wrap); margin: 20px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  align-items: start;
}

/* =====================================================
   FILTER BAR
   ===================================================== */
.models-filter-bar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px; flex-wrap: wrap;
}
.filter-chip {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 20px;
  border: 1.5px solid var(--border);
  font-size: .76rem; font-weight: 600;
  color: var(--text2); cursor: pointer;
  transition: .2s;
}
.filter-chip:hover, .filter-chip.is-active {
  border-color: var(--red); color: var(--red);
  background: rgba(232,48,74,.04);
}
.filter-chip input[type=checkbox] { display: none; }

.filter-bar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.filter-sort {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 6px; padding: 6px 10px;
  font-size: .78rem; color: var(--text2);
  cursor: pointer; appearance: none;
}

/* =====================================================
   MODELS GRID
   ===================================================== */
.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* Model Card */
.model-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
}
.model-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.model-card__photo {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg2);
}
.model-card__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.model-card:hover .model-card__photo img { transform: scale(1.04); }

/* VIP badge */
.model-card__vip {
  position: absolute; top: 8px; left: 0;
  background: var(--gold);
  color: #fff; font-size: .6rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 10px 3px 8px;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}

/* Verified badge */
.model-card__verified {
  position: absolute; bottom: 8px; left: 8px;
  background: rgba(0,0,0,.6);
  color: #fff; font-size: .6rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 3px;
  display: flex; align-items: center; gap: 4px;
}
.model-card__verified::before {
  content: '✓';
  background: var(--green);
  width: 14px; height: 14px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .55rem;
}

/* Online dot */
.model-card__online {
  position: absolute; top: 8px; right: 8px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{box-shadow:0 0 0 2px var(--green)} 50%{box-shadow:0 0 0 4px rgba(39,174,96,.3)} }

.model-card__body { padding: 10px 12px 12px; }
.model-card__name {
  font-size: .95rem; font-weight: 800;
  color: var(--text); margin-bottom: 2px;
}
.model-card__location {
  font-size: .76rem; color: var(--text2);
  display: flex; align-items: center; gap: 4px;
  margin-bottom: 6px;
}
.model-card__location::before { content: '📍'; font-size: .7rem; }

.model-card__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.model-tag {
  font-size: .62rem; font-weight: 600;
  color: var(--text2); background: var(--bg);
  border: 1px solid var(--border);
  padding: 2px 7px; border-radius: 20px;
}

.model-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 8px; border-top: 1px solid var(--border);
}
.model-card__price {
  font-size: .9rem; font-weight: 800; color: var(--red);
}
.model-card__price small { font-size: .65rem; color: var(--text3); font-weight: 400; }
.model-card__rating {
  display: flex; align-items: center; gap: 3px;
  font-size: .76rem; color: var(--text2);
}
.model-card__rating .star { color: var(--gold); }

/* Load more */
.load-more-wrap { text-align: center; margin: 24px 0; }
.btn-load-more {
  background: #fff;
  border: 2px solid var(--red);
  color: var(--red);
  border-radius: var(--r);
  padding: 12px 40px;
  font-size: .84rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  transition: .2s;
}
.btn-load-more:hover { background: var(--red); color: #fff; }

/* =====================================================
   SIDEBAR
   ===================================================== */
.sidebar { display: flex; flex-direction: column; gap: 16px; }

.sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.sidebar-card__title {
  background: var(--red);
  color: #fff; font-size: .78rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 10px 14px;
}
.sidebar-card__body { padding: 12px 14px; }

/* Online now */
.sidebar-online { display: flex; flex-direction: column; gap: 8px; }
.sidebar-online__item {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; color: var(--text);
}
.sidebar-online__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}
.sidebar-online__count {
  display: inline-block;
  background: var(--red);
  color: #fff; font-size: .62rem; font-weight: 700;
  padding: 1px 6px; border-radius: 10px;
  margin-left: auto;
}

/* Girl of month */
.sidebar-girl-photo {
  width: 100%; aspect-ratio: 3/4;
  object-fit: cover;
}
.sidebar-girl-info { padding: 10px 14px; }
.sidebar-girl-info h4 { font-size: .9rem; font-weight: 800; margin-bottom: 4px; }
.sidebar-girl-info p { font-size: .76rem; color: var(--text2); }
.sidebar-see-btn {
  display: block; text-align: center;
  background: var(--red); color: #fff;
  font-size: .74rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 10px; margin: 0 14px 14px;
  border-radius: 5px; transition: .2s;
}
.sidebar-see-btn:hover { background: var(--red-hover); }

/* Premium list */
.sidebar-premium-list { display: flex; flex-direction: column; gap: 10px; }
.sidebar-premium-item {
  display: flex; align-items: center; gap: 10px;
}
.sidebar-premium-item img {
  width: 48px; height: 64px;
  object-fit: cover; border-radius: 5px; flex-shrink: 0;
}
.sidebar-premium-item__info { flex: 1; }
.sidebar-premium-item__name { font-size: .84rem; font-weight: 700; }
.sidebar-premium-item__loc { font-size: .72rem; color: var(--text2); }

/* Ad banner */
.sidebar-ad { padding: 0; }
.sidebar-ad img { width: 100%; }

/* =====================================================
   TOP BANNER
   ===================================================== */
.top-banner {
  max-width: var(--wrap); margin: 0 auto 16px;
  padding: 0 20px;
}
.top-banner a { display: block; border-radius: var(--r); overflow: hidden; }
.top-banner img { width: 100%; height: 90px; object-fit: cover; }
.top-banner-placeholder {
  width: 100%; height: 90px;
  background: linear-gradient(135deg, #e8304a 0%, #c8253e 100%);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-size: .82rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: #fff;
  border-top: 2px solid var(--border);
  padding: 28px 0 20px;
  margin-top: 40px;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-logo { font-size: 1.1rem; font-weight: 900; color: var(--red); text-transform: uppercase; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { font-size: .76rem; color: var(--text2); }
.footer-links a:hover { color: var(--red); }
.footer-copy { font-size: .72rem; color: var(--text3); margin-top: 10px; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media(max-width:1000px) {
  .main-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .models-grid { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:600px) {
  .models-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .header-tagline, .header-selectors { display: none; }
}
