/* AdultSearches.com — Main Stylesheet */

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: #f5f5f7;
  color: #1a1a2e;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: #8b0000; text-decoration: none; transition: color 0.2s; }
a:hover { color: #c0392b; }

img { max-width: 100%; }

/* ─── Layout ─── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

main { flex: 1; padding: 40px 0 60px; }

/* ─── Header ─── */
header {
  background: #1a0a0a;
  border-bottom: 3px solid #8b0000;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1180px;
  margin: 0 auto;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  text-decoration: none;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: #8b0000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.logo span { color: #e8c4c4; }

nav { display: flex; align-items: center; gap: 6px; }

nav a {
  color: #ccc;
  font-size: 0.875rem;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }

nav a.active { color: #fff; background: rgba(139,0,0,0.45); }

nav .nav-submit {
  background: #8b0000;
  color: #fff;
  border-radius: 6px;
  padding: 6px 14px;
}
nav .nav-submit:hover { background: #a50000; color: #fff; }

/* ─── Hero / Search Bar ─── */
.hero {
  background: linear-gradient(135deg, #1a0a0a 0%, #2d1010 60%, #3d1515 100%);
  padding: 60px 0 52px;
  text-align: center;
  color: #fff;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.05rem;
  color: #e0c0c0;
  max-width: 560px;
  margin: 0 auto 28px;
}

.search-bar {
  display: flex;
  max-width: 580px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 20px;
  font-size: 1rem;
  color: #333;
  background: transparent;
}

.search-bar button {
  background: #8b0000;
  color: #fff;
  border: none;
  padding: 14px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.search-bar button:hover { background: #a50000; }

/* ─── Section Titles ─── */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
  border-bottom: 2px solid #e8e0e0;
  padding-bottom: 10px;
}

.section-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a0a0a;
}

.section-header a {
  font-size: 0.85rem;
  color: #8b0000;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a0a0a;
  margin-bottom: 22px;
  border-bottom: 2px solid #e8e0e0;
  padding-bottom: 10px;
}

/* ─── Category Grid ─── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 50px;
}

.category-card {
  background: #fff;
  border: 1px solid #e4d8d8;
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(139,0,0,0.12);
  border-color: #c8a0a0;
  color: inherit;
}

.cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.category-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a0a0a;
  line-height: 1.3;
}

.category-card .count {
  font-size: 0.78rem;
  color: #888;
}

/* icon color variants */
.ci-ent   { background: #fff0f0; }
.ci-dat   { background: #fff0f5; }
.ci-life  { background: #f0f5ff; }
.ci-hlth  { background: #f0fff4; }
.ci-tech  { background: #f0f0ff; }
.ci-fin   { background: #fffff0; }

/* ─── Listing Cards ─── */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
  margin-bottom: 50px;
}

.listing-card {
  background: #fff;
  border: 1px solid #e4d8d8;
  border-radius: 12px;
  padding: 20px;
  transition: box-shadow 0.18s, border-color 0.18s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.listing-card:hover {
  box-shadow: 0 6px 20px rgba(139,0,0,0.1);
  border-color: #c8a0a0;
}

.listing-card .listing-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.listing-favicon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.listing-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a0a0a;
  line-height: 1.3;
  flex: 1;
}

.listing-card p {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.55;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  background: #f5eaea;
  color: #8b0000;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  align-self: flex-start;
}

/* ─── Two-column section ─── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 50px;
}

@media (max-width: 700px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ─── Recent List ─── */
.recent-list {
  background: #fff;
  border: 1px solid #e4d8d8;
  border-radius: 12px;
  overflow: hidden;
}

.recent-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid #f0e8e8;
  transition: background 0.15s;
}

.recent-item:last-child { border-bottom: none; }

.recent-item:hover { background: #fdf5f5; }

.recent-dot {
  width: 10px;
  height: 10px;
  background: #8b0000;
  border-radius: 50%;
  flex-shrink: 0;
}

.recent-item-body { flex: 1; }
.recent-item-body strong { font-size: 0.9rem; color: #1a0a0a; display: block; }
.recent-item-body span  { font-size: 0.78rem; color: #888; }

/* ─── About blurb box ─── */
.about-blurb {
  background: #fff;
  border: 1px solid #e4d8d8;
  border-left: 4px solid #8b0000;
  border-radius: 0 12px 12px 0;
  padding: 22px 24px;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.7;
}

.about-blurb h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a0a0a;
  margin-bottom: 8px;
}

/* ─── Page Hero (inner pages) ─── */
.page-hero {
  background: linear-gradient(135deg, #1a0a0a 0%, #2d1010 100%);
  padding: 42px 0 36px;
  color: #fff;
}

.page-hero .breadcrumb {
  font-size: 0.8rem;
  color: #c0a0a0;
  margin-bottom: 10px;
}

.page-hero .breadcrumb a { color: #e8c4c4; }
.page-hero .breadcrumb a:hover { color: #fff; }

.page-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.2;
}

.page-hero p {
  font-size: 1rem;
  color: #e0c0c0;
  max-width: 600px;
}

/* ─── Category page layout ─── */
.cat-page-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 860px) {
  .cat-page-layout { grid-template-columns: 1fr; }
}

/* ─── Sidebar ─── */
.sidebar { display: flex; flex-direction: column; gap: 22px; }

.sidebar-box {
  background: #fff;
  border: 1px solid #e4d8d8;
  border-radius: 12px;
  overflow: hidden;
}

.sidebar-box-title {
  background: #1a0a0a;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 11px 16px;
}

.sidebar-box ul {
  list-style: none;
  padding: 8px 0;
}

.sidebar-box ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  font-size: 0.875rem;
  color: #333;
  transition: background 0.15s;
}

.sidebar-box ul li a:hover { background: #fdf5f5; color: #8b0000; }

.sidebar-box ul li a .badge {
  font-size: 0.72rem;
  background: #f5eaea;
  color: #8b0000;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 600;
}

/* ─── Full-width listing list ─── */
.listing-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }

.listing-row {
  background: #fff;
  border: 1px solid #e4d8d8;
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow 0.18s, border-color 0.18s;
}

.listing-row:hover {
  box-shadow: 0 4px 16px rgba(139,0,0,0.09);
  border-color: #c8a0a0;
}

.listing-row-body { flex: 1; }

.listing-row-body h3 {
  font-size: 1.02rem;
  font-weight: 600;
  color: #1a0a0a;
  margin-bottom: 5px;
}

.listing-row-body p {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.55;
}

.listing-row-body .meta {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.listing-row-body .meta .tag { margin: 0; }

.listing-row-body .meta .added {
  font-size: 0.75rem;
  color: #999;
}

/* ─── Prose content (About, Privacy, etc.) ─── */
.prose {
  background: #fff;
  border: 1px solid #e4d8d8;
  border-radius: 12px;
  padding: 36px 40px;
  max-width: 820px;
}

@media (max-width: 600px) {
  .prose { padding: 24px 20px; }
}

.prose h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a0a0a;
  margin: 30px 0 10px;
  border-bottom: 1px solid #f0e8e8;
  padding-bottom: 6px;
}

.prose h2:first-child { margin-top: 0; }

.prose p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 14px;
}

.prose ul {
  padding-left: 22px;
  margin-bottom: 14px;
}

.prose ul li {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 4px;
}

/* ─── Contact / Submit Form ─── */
.form-card {
  background: #fff;
  border: 1px solid #e4d8d8;
  border-radius: 12px;
  padding: 36px 40px;
  max-width: 680px;
}

@media (max-width: 600px) {
  .form-card { padding: 24px 20px; }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a0a0a;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid #e0d0d0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: #333;
  background: #fdfafa;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #8b0000;
  background: #fff;
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

.form-hint {
  font-size: 0.78rem;
  color: #888;
  margin-top: 4px;
}

.btn {
  display: inline-block;
  background: #8b0000;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}

.btn:hover { background: #a50000; color: #fff; }

.btn-outline {
  background: transparent;
  border: 2px solid #8b0000;
  color: #8b0000;
}

.btn-outline:hover { background: #8b0000; color: #fff; }

/* ─── Info cards (Submit page benefits) ─── */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

.info-card {
  background: #fff;
  border: 1px solid #e4d8d8;
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
}

.info-card .ic-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f5eaea;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 12px;
}

.info-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a0a0a;
  margin-bottom: 6px;
}

.info-card p {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.5;
}

/* ─── Footer ─── */
footer {
  background: #1a0a0a;
  color: #bbb;
  padding: 40px 0 28px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .logo { font-size: 1.1rem; margin-bottom: 12px; display: inline-flex; }
.footer-brand p { font-size: 0.82rem; color: #888; line-height: 1.65; max-width: 260px; }

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #fff;
  margin-bottom: 12px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { font-size: 0.83rem; color: #888; transition: color 0.2s; }
.footer-col ul li a:hover { color: #e8c4c4; }

.footer-bottom {
  border-top: 1px solid #2d1010;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #666;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: #e8c4c4; }

/* ─── Stats bar ─── */
.stats-bar {
  background: #fff;
  border: 1px solid #e4d8d8;
  border-radius: 12px;
  padding: 22px 28px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.stat-item { text-align: center; }
.stat-item .num { font-size: 1.7rem; font-weight: 800; color: #8b0000; }
.stat-item .lbl { font-size: 0.78rem; color: #888; text-transform: uppercase; letter-spacing: 0.4px; }

/* ─── Responsive nav ─── */
@media (max-width: 640px) {
  nav a:not(.nav-submit) { display: none; }
  .hero h1 { font-size: 1.7rem; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .listings-grid { grid-template-columns: 1fr; }
}
