/*
Theme Name: BestOfVPNs
Theme URI: https://bestofvpns.com
Author: BestOfVPNs
Description: BestOfVPNs - En İyi VPN Karşılaştırma Teması
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: bestofvpns
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #c0392b;
  --primary-dark: #96281b;
  --primary-light: #e74c3c;
  --accent: #f39c12;
  --dark: #1a1a2e;
  --dark-2: #16213e;
  --dark-3: #0f3460;
  --text: #2c2c2c;
  --text-muted: #666;
  --text-light: #999;
  --border: #e8e8e8;
  --bg: #f7f7f7;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --radius: 12px;
  --radius-sm: 8px;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;
  --font-display: 'Montserrat', 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }

/* ===== HEADER ===== */
#site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--dark);
  text-decoration: none;
}

.site-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.site-logo span.logo-vpn { color: var(--primary); }

#site-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
}

#site-nav a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 6px;
  transition: all .2s;
  text-transform: uppercase;
  letter-spacing: .5px;
}

#site-nav a:hover, #site-nav a.active {
  background: var(--primary);
  color: white;
}

/* ===== HERO / PAGE HEADER ===== */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  color: white;
  padding: 60px 20px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content { position: relative; }

.page-hero .badge {
  display: inline-block;
  background: rgba(192,57,43,0.3);
  border: 1px solid rgba(192,57,43,0.6);
  color: #ff8a80;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}

.page-hero h1 em { font-style: normal; color: var(--primary-light); }

.page-hero p {
  font-size: 16px;
  opacity: .8;
  max-width: 560px;
  margin: 0 auto 20px;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  opacity: .7;
  flex-wrap: wrap;
}

.hero-meta span { display: flex; align-items: center; gap: 5px; }

/* ===== MAIN CONTAINER ===== */
.site-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== VPN CARD LIST ===== */
.vpn-list-section { padding: 40px 0; }

.section-intro {
  text-align: center;
  margin-bottom: 32px;
}

.section-intro h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* VPN CARD */
.vpn-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  transition: box-shadow .3s, border-color .3s, transform .2s;
  position: relative;
}

.vpn-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #ddd;
  transform: translateY(-2px);
}

.vpn-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow);
}

.card-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--primary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px 5px 10px;
  border-radius: 0 0 12px 0;
  z-index: 2;
}

.vpn-card.featured .card-badge {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.card-inner {
  display: grid;
  grid-template-columns: 200px 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding: 24px 24px 24px 24px;
}

.card-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 160px;
}

.card-rank {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-rank strong { font-size: 22px; color: var(--primary); }

.card-logo {
  width: 120px;
  height: 50px;
  object-fit: contain;
}

.card-logo-placeholder {
  width: 120px;
  height: 50px;
  background: var(--bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--text);
}

.card-stars {
  display: flex;
  gap: 2px;
  font-size: 13px;
  color: var(--accent);
}

.card-details { flex: 1; min-width: 0; }

.card-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--dark);
}

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

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feature-tag {
  background: #f0f7ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  border: 1px solid #dbeafe;
}

.card-score {
  text-align: center;
  min-width: 90px;
}

.score-circle {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0 auto 6px;
  box-shadow: 0 4px 16px rgba(192,57,43,.3);
}

.score-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.score-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 600;
}

.card-action {
  min-width: 160px;
  text-align: center;
}

.btn-visit {
  display: block;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white !important;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  transition: all .2s;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .5px;
  box-shadow: 0 4px 12px rgba(192,57,43,.3);
}

.btn-visit:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(192,57,43,.4);
}

.btn-visit-secondary {
  display: block;
  background: transparent;
  color: var(--text-muted) !important;
  font-size: 12px;
  padding: 6px;
  margin-top: 6px;
  border-radius: 6px;
  transition: all .2s;
  text-align: center;
  text-decoration: underline;
}

.btn-visit-secondary:hover { color: var(--primary) !important; }

.card-price-note {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 6px;
  text-align: center;
}

/* ===== COMPARISON TABLE ===== */
.comparison-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  margin: 40px 0;
  box-shadow: var(--shadow-sm);
}

.comparison-section h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--dark);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.compare-table th {
  font-family: var(--font-display);
  font-weight: 700;
  padding: 12px 16px;
  text-align: center;
  background: var(--bg);
  border-bottom: 2px solid var(--border);
  font-size: 14px;
}

.compare-table th:first-child { text-align: left; }

.compare-table th.featured-col {
  background: var(--primary);
  color: white;
  border-radius: 8px 8px 0 0;
}

.compare-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
}

.compare-table td:first-child { text-align: left; font-weight: 600; color: var(--text-muted); }
.compare-table tr:hover td { background: #fafafa; }

.check { color: #22c55e; font-size: 16px; }
.cross { color: #ef4444; font-size: 16px; }

.speed-bar {
  display: flex;
  gap: 3px;
  justify-content: center;
}

.speed-bar span {
  width: 18px;
  height: 10px;
  background: var(--border);
  border-radius: 2px;
}

.speed-bar span.active { background: var(--primary); }

/* ===== TIPS SECTION ===== */
.tips-section { padding: 40px 0; }

.tips-section h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 28px;
  color: var(--dark);
}

.tip-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
}

.tip-number {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.tip-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.tip-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ===== PRINCIPLES ===== */
.principles-section {
  background: var(--dark);
  color: white;
  border-radius: var(--radius);
  padding: 40px;
  margin: 40px 0;
}

.principles-section h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.principles-section > p { opacity: .7; margin-bottom: 28px; }

.principle-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.principle-icon {
  width: 40px;
  height: 40px;
  background: rgba(192,57,43,.3);
  border: 1px solid rgba(192,57,43,.5);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.principle-item p { opacity: .75; font-size: 14px; margin-top: 4px; }

/* ===== PAGE CONTENT (Gizlilik, Feragat, İletişim) ===== */
.page-content-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  margin: 40px 0;
  box-shadow: var(--shadow-sm);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.page-content-section h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin: 28px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--border);
}

.page-content-section h2:first-child { margin-top: 0; }

.page-content-section h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin: 20px 0 8px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.page-content-section p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 14px;
}

.page-content-section ul {
  margin: 10px 0 16px 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

.page-content-section strong { color: var(--text); }

.page-content-section .effective-date {
  display: inline-block;
  background: #fff3f0;
  border: 1px solid #fecdca;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 24px;
}

/* ===== CONTACT CARD ===== */
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  max-width: 600px;
  margin: 40px auto;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

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

.contact-icon {
  width: 42px;
  height: 42px;
  background: #fff3f0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
}

.contact-value a { color: var(--primary); }

/* ===== FOOTER ===== */
#site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 40px 20px;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-brand .site-logo { color: white; }
.footer-brand .site-logo .logo-vpn { color: #ff6b6b; }

.footer-brand p {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: white;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.6); font-size: 13px; transition: color .2s; }
.footer-col a:hover { color: white; }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: white; }

.footer-signivis {
  text-align: center;
  margin-top: 16px;
  font-size: 11px;
  opacity: .4;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .card-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .card-action { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; }
  .btn-visit { flex: 1; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .card-inner {
    grid-template-columns: 1fr;
  }
  .card-brand { flex-direction: row; justify-content: flex-start; }
  .footer-inner { grid-template-columns: 1fr; }
  .comparison-section { padding: 20px; overflow-x: auto; }
  .page-content-section { padding: 24px; }
}
