/*
Theme Name: Naamhoroscoop
Theme URI: https://naamhoroscoop.nl
Author: Naamhoroscoop
Author URI: https://naamhoroscoop.nl
Description: Spiritueel/Astrologisch WordPress thema met naamhoroscoop functionaliteit. Moderne, responsieve layout met sterrenhemel, zachte kleuren en mystieke typografie.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: naamhoroscoop
Tags: blog, one-column, two-columns, custom-background, custom-logo, custom-menu
*/

/* Base variables */
:root {
  --nh-purple: #6e57a5;
  --nh-deep-purple: #453a73;
  --nh-blue: #4a7dbb;
  --nh-navy: #0b1026;
  --nh-gold: #d9b86c;
  --nh-white: #ffffff;
  --nh-offwhite: #f7f5ff;
  --nh-text: #e9e7ff;
  --nh-muted: #bfb8e6;
  --nh-shadow: rgba(0,0,0,0.4);
}

/* Global resets */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--nh-gold); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

body {
  color: var(--nh-text);
  background-color: var(--nh-navy);
  font-family: "Playfair Display", Georgia, "Times New Roman", Times, serif;
  line-height: 1.6;
  min-height: 100vh;
  /* Starry sky background with layered gradients */
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.8) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 80% 20%, rgba(255,255,255,0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 30% 80%, rgba(255,255,255,0.6) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 50% 50%, rgba(255,255,255,0.7) 50%, transparent 51%),
    linear-gradient(180deg, #0b1026 0%, #181c3a 60%, #120f26 100%);
  background-attachment: fixed;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 16, 38, 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(217, 184, 108, 0.25);
}
.site-header .branding {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
}
.site-title {
  font-family: "Cinzel Decorative", "Playfair Display", Georgia, serif;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  color: var(--nh-white);
  text-shadow: 0 2px 12px rgba(217,184,108,0.2);
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
}
.main-nav a {
  display: inline-block;
  padding: 10px 6px;
  color: var(--nh-offwhite);
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { border-color: var(--nh-gold); }

/* Footer */
.site-footer {
  border-top: 1px solid rgba(217, 184, 108, 0.25);
  padding: 32px 0 60px;
  color: var(--nh-muted);
  text-align: center;
  background: rgba(11, 16, 38, 0.6);
}

/* Hero section (homepage) */
.hero {
  padding: 80px 0 50px;
  text-align: center;
  background: radial-gradient(80% 60% at 50% 0%, rgba(110,87,165,0.25), transparent 70%);
}
.hero h1 {
  font-family: "Cinzel Decorative", "Playfair Display", serif;
  font-size: clamp(2rem, 4vw + 1rem, 3.4rem);
  margin: 0 0 12px;
  color: var(--nh-white);
}
.hero p.sub {
  margin: 0 0 22px;
  color: var(--nh-muted);
  font-size: 1.05rem;
}

.name-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 18px 0 26px;
}
.name-form input[type="text"] {
  width: min(420px, 80vw);
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--nh-white);
  outline: none;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.35);
}
.btn {
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid rgba(217,184,108,0.6);
  background: linear-gradient(180deg, #f4e7c6 0%, #d9b86c 100%);
  color: #2a2146;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(217,184,108,0.25);
}
.btn:hover { filter: brightness(1.05); }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 26px auto 10px;
  width: min(900px, 92%);
}
.card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(217,184,108,0.25);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.card img { width: 100%; height: 160px; object-fit: cover; }
.card .content { padding: 14px; }
.card .title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--nh-white);
  margin: 6px 0 8px;
}
.card p { color: var(--nh-muted); margin: 0 0 10px; }

/* Content */
.content-area { padding: 28px 0 40px; }
.content-area h1, .content-area h2, .content-area h3 {
  font-family: "Cinzel Decorative", "Playfair Display", serif;
  color: var(--nh-white);
}

/* Share buttons */
.share {
  display: flex;
  gap: 12px;
  margin: 18px 0 8px;
}
.share .btn {
  background: rgba(255,255,255,0.1);
  color: var(--nh-white);
  border-color: rgba(255,255,255,0.3);
}
.share .btn.fb { border-color: #3b5998; }
.share .btn.wa { border-color: #25D366; }

/* Responsive */
@media (max-width: 700px) {
  .main-nav ul { flex-wrap: wrap; gap: 10px; }
  .cards { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 40px; }
}

/* Accessibility helpers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}