/*
Theme Name: Google Ads Agent List
Theme URI: https://example.com/googleads-agent
Author: Custom Theme
Description: Modern WordPress theme for Google Ads Expert / Agency directory listings in Bangladesh. Clean cards, Quick Agent section, filters, FAQ. Fully responsive.
Version: 1.1.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: googleads-agent
Tags: custom-menu, one-column, responsive-layout, translation-ready
*/

:root {
  --primary: #6B21A8;
  --primary-dark: #581C87;
  --primary-light: #A855F7;
  --accent: #22C55E;
  --accent-hover: #16A34A;
  --bg: #F8FAFC;
  --card-bg: #FFFFFF;
  --text: #1E293B;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --radius: 16px;
  --shadow: 0 4px 20px rgba(107, 33, 168, 0.08);
}

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

body {
  font-family: 'Hind Siliguri', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background: white;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 20px;
}

.logo-text h1 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin: 0;
}

.logo-text span {
  font-size: 12px;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links .current-menu-item a {
  background: #F3E8FF;
  color: var(--primary);
}

/* Hero */
.hero {
  padding: 50px 20px 40px;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-content h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

.hero-content h2 span {
  color: var(--primary);
}

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

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  background: white;
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow);
}

.hero-circle {
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(107, 33, 168, 0.3);
}

.hero-circle .big-letter {
  font-size: 56px;
  font-weight: 700;
}

.hero-circle .circle-text {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  margin-top: 4px;
}

.verified-tag {
  position: absolute;
  bottom: -12px;
  background: white;
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

/* Section */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.section-header p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 4px 0 0;
}

.auto-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* Agent Card */
.agent-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  max-width: 360px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.agent-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(107, 33, 168, 0.12);
}

.agent-card .tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

.agent-card .avatar {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 12px;
}

.agent-card .id-badge {
  display: inline-block;
  background: #F3E8FF;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.agent-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.agent-card .meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.agent-card .info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 6px;
}

.agent-card .info-row .phone {
  color: var(--accent);
  font-weight: 600;
}

.whatsapp-btn {
  display: block;
  width: 100%;
  background: var(--accent);
  color: white !important;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 16px;
  transition: background 0.2s;
}

.whatsapp-btn:hover {
  background: var(--accent-hover);
  color: white !important;
}

/* Agent Grid */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Filters */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-btn {
  background: white;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.feature-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  background: #F3E8FF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 22px;
}

.feature-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Stats */
.stats {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 40px 20px;
  margin-top: 50px;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 36px;
  font-weight: 700;
  margin: 0;
}

.stat-item p {
  font-size: 14px;
  opacity: 0.9;
  margin: 4px 0 0;
}

/* FAQ */
.faq-section {
  max-width: 800px;
  margin: 50px auto;
  padding: 0 20px;
}

.faq-section h3 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 30px;
}

.faq-item {
  background: white;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.faq-item h4 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--primary);
}

.faq-item p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* Footer */
.site-footer {
  background: #1E293B;
  color: #94A3B8;
  padding: 40px 20px;
  text-align: center;
  font-size: 14px;
}

.site-footer a {
  color: white;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h2 {
    font-size: 26px;
  }

  .badges {
    justify-content: center;
  }

  .nav-links {
    display: none;
  }

  .agent-card {
    max-width: 100%;
  }
}
