
:root {
  --black: #0e0e0e;
  --white: #fafaf7;
  --cream: #f2efe8;
  --gold: #c9a84c;
  --gold-light: #e8d5a3;
  --red: #c0392b;
  --gray: #6b6b6b;
  --gray-light: #e8e8e4;
  --border: #d8d5ce;
  --max-width: 1100px;
  --radius: 4px;
}

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

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

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  background: var(--white);
  color: var(--black);
  line-height: 1.7;
}

/* ── HEADER ── */
header {
  background: var(--black);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #2a2a2a;
  /* Needed for mobile nav dropdown positioning */
  isolation: isolate;
}

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

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span { color: var(--gold); }

nav { display: flex; gap: 2px; }

nav a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

nav a:hover { color: var(--white); background: #1e1e1e; }
nav a.active { color: var(--gold); }

/* ── HERO ── */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 80px 24px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 760px;
  margin: 0 auto 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero p {
  font-size: 1.05rem;
  color: #bbb;
  max-width: 560px;
  margin: 0 auto 36px;
  font-weight: 300;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--black) !important;
}

.btn-gold:hover { background: #dab95a; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1px solid #888;
  margin-left: 12px;
}

.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* Outline button on dark backgrounds (hero sections) */
.hero .btn-outline,
.cat-hero .btn-outline,
.review-header .btn-outline,
.gallery-hero .btn-outline,
.cam-hero .btn-outline,
.cams-hero .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.hero .btn-outline:hover,
.cat-hero .btn-outline:hover,
.review-header .btn-outline:hover,
.gallery-hero .btn-outline:hover,
.cam-hero .btn-outline:hover,
.cams-hero .btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── ALERT BAR ── */
.alert-bar {
  background: rgba(192,57,43,0.08);
  border: 1px solid rgba(192,57,43,0.25);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin: 32px auto;
  max-width: var(--max-width);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
}

.alert-bar .alert-icon {
  color: var(--red);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.alert-bar strong { color: var(--red); }

/* ── MAIN LAYOUT ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-sub {
  color: var(--gray);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 48px;
}

/* ── CARD GRID ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: block;
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
}

.card-arrow {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
}

/* ── FEATURED SITES ── */
.site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.site-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.site-card-screenshot {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  display: block;
  background: var(--black);
}

.site-card-screenshot-placeholder {
  width: 100%;
  height: 220px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-card-header {
  background: var(--black);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.site-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
}

.site-card-badge {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
}

.badge-au {
  background: rgba(201,168,76,0.2);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.4);
}

.badge-works {
  background: rgba(39,174,96,0.15);
  color: #27ae60;
  border: 1px solid rgba(39,174,96,0.3);
}

.site-card-body { padding: 24px; }

.site-card-body p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; }
.rating-num { font-weight: 500; font-size: 0.9rem; }

.site-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tag {
  font-size: 0.72rem;
  background: var(--cream);
  color: var(--gray);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.btn-visit {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--gold);
  color: var(--black) !important;
  border-bottom: none !important;
  padding: 12px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
}

.btn-visit:hover { background: #dab95a; transform: translateY(-1px); color: var(--black) !important; }

/* Dark background override — must use !important to beat .btn-visit color rule */
.btn-visit[style*="background: var(--black)"],
.btn-visit[style*="background:#0d0d0d"],
.btn-visit[style*="background: #0d0d0d"] { color: var(--white) !important; }

/* ── REVIEW PAGE ── */
.review-header {
  background: var(--black);
  color: var(--white);
  padding: 60px 24px;
}

.review-header .container { display: flex; gap: 48px; align-items: flex-start; }

.review-meta { flex: 1; }

.review-score {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  min-width: 160px;
}

.score-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.score-label { font-size: 0.8rem; color: #888; margin-top: 4px; }

.review-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
}

.review-summary {
  color: #bbb;
  font-size: 1rem;
  margin-bottom: 24px;
  max-width: 600px;
}

/* ── PROS CONS ── */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0;
}

.pros, .cons {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.pros { border-top: 3px solid #27ae60; }
.cons { border-top: 3px solid var(--red); }

.pros h4 { color: #27ae60; margin-bottom: 16px; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.cons h4 { color: var(--red); margin-bottom: 16px; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }

.pros ul, .cons ul { list-style: none; }

.pros li, .cons li {
  font-size: 0.9rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.pros li:last-child, .cons li:last-child { border-bottom: none; }

.pros li::before { content: '✓'; color: #27ae60; flex-shrink: 0; font-weight: 500; }
.cons li::before { content: '✗'; color: var(--red); flex-shrink: 0; }

/* ── ARTICLE BODY ── */
.article-body { max-width: 720px; }

.article-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 16px;
  letter-spacing: -0.01em;
}

.article-body h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 28px 0 12px;
}

.article-body p { margin-bottom: 18px; font-size: 0.95rem; line-height: 1.8; }

.article-body ul {
  margin: 0 0 18px 20px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.article-body li { margin-bottom: 6px; }

.article-body a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(201,168,76,0.3); }
.article-body a:hover { border-color: var(--gold); }

/* ── SIDEBAR ── */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: flex-start;
}

.sidebar-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: 80px;
}

.sidebar-card-header {
  background: var(--black);
  padding: 20px;
  color: var(--white);
}

.sidebar-card-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.sidebar-card-header p { font-size: 0.82rem; color: #aaa; margin-top: 4px; }

.sidebar-card-body { padding: 20px; }

.sidebar-card-body p { font-size: 0.85rem; color: var(--gray); margin-bottom: 16px; line-height: 1.6; }

/* ── COMPARISON TABLE ── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 32px 0;
}

.compare-table th {
  background: var(--black);
  color: var(--white);
  padding: 14px 16px;
  text-align: left;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.compare-table th:first-child { border-radius: 4px 0 0 0; }
.compare-table th:last-child { border-radius: 0 4px 0 0; }

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

.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--cream); }

.check { color: #27ae60; font-size: 1.1rem; }
.cross { color: var(--red); font-size: 1.1rem; }

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* ── FOOTER ── */
footer {
  background: var(--black);
  color: #888;
  padding: 48px 24px 32px;
  margin-top: 80px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1e1e1e;
  margin-bottom: 32px;
}

.footer-brand .logo { display: block; margin-bottom: 12px; }

.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: #777;
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.disclaimer {
  background: #111;
  border: 1px solid #222;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.78rem;
  line-height: 1.6;
  margin-top: 24px;
  color: #666;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--gray);
  padding: 16px 0;
  display: flex;
  gap: 6px;
  align-items: center;
}

.breadcrumb a { color: var(--gray); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--border); }

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item h4 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.faq-item p { font-size: 0.88rem; color: var(--gray); line-height: 1.7; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { display: none; }

  /* ── Mobile hamburger ── */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-right: -8px;
    z-index: 1001;
  }
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
    transform-origin: center;
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-mobile {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--black);
    border-bottom: 1px solid #1e1e1e;
    padding: 8px 0 16px;
    z-index: 1000;
  }
  .nav-mobile.open { display: block; }
  .nav-mobile a {
    display: block;
    color: #aaa;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 12px 24px;
    transition: color 0.2s, background 0.2s;
  }
  .nav-mobile a:hover,
  .nav-mobile a.active { color: var(--gold); background: #0d0d0d; }

  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .pros-cons { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .review-header .container { flex-direction: column; }
  .card-grid { grid-template-columns: 1fr; }
  .site-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 24px 48px; }
}

/* Hide toggle on desktop */
@media (min-width: 769px) {
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}
