/*
Theme Name: Aura Starter Kit 499
Author: Casey Hub
Description: A clean and lightweight WordPress starter theme.
Version: 3.2.7
License: GPL-2.0-or-later
Text Domain: aura-starter-kit-499
Tags: footer-widgets, flexible-header, two-columns, portfolio
Tested up to: 6.6
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Requires at least: 6.0
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lora:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --cream: #FAF6EF;
  --cream-dark: #EDE4D3;
  --text: #2B2118;
  --text-light: #6B5B4A;
  --accent: #8B6914;
  --accent-hover: #A67D1A;
  --accent-light: #D4A932;
  --border: #D4C5A9;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(43,33,24,0.06);
  --shadow-md: 0 4px 16px rgba(43,33,24,0.08);
  --shadow-lg: 0 8px 32px rgba(43,33,24,0.12);
  --heading-font: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --body-font: 'Lora', Georgia, 'Times New Roman', serif;
  --radius: 4px;
  --max-w: 1140px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

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

body {
  font-family: var(--body-font);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 0.6em;
}

h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2em; }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin-top: 1.6em; }

p { margin-bottom: 1.2em; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-hover); text-decoration: underline; }

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

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

/* ── HEADER / NAV ───────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.site-header .site-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-logo {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.site-logo:hover { color: var(--accent); text-decoration: none; }

.site-header .menu {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}
.site-header .menu li a {
  font-family: var(--body-font);
  font-size: 0.95rem;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
.site-header .menu li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.site-header .menu li a:hover { color: var(--accent); }
.site-header .menu li a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-header .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 16px;
  }
  .site-header .menu.active { display: flex; }
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #2B2118 0%, #4A3728 60%, #6B5B4A 100%);
  color: var(--white);
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(212,169,50,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero-section h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 0.4em;
  position: relative;
}
.hero-section .hero-tagline {
  font-family: var(--body-font);
  font-size: 1.15rem;
  font-style: italic;
  opacity: 0.85;
  margin-bottom: 2em;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--body-font);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: none;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
}
.btn-white {
  background: var(--white);
  color: var(--accent);
}
.btn-white:hover {
  background: var(--cream);
  color: var(--accent-hover);
  text-decoration: none;
}

/* ── CARDS ──────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin: 2em 0;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card h3 {
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 0.5em;
}
.card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1em;
}
.card .card-meta {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
}
.card .card-link {
  font-weight: 600;
  font-size: 0.95rem;
}

/* ── ARTICLE ────────────────────────────────────────────────── */
.article-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
.article-content h1 {
  text-align: center;
  margin-bottom: 0.3em;
}
.article-meta {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 2.5em;
  padding-bottom: 2em;
  border-bottom: 1px solid var(--border);
}
.article-content h2 {
  padding-top: 0.5em;
  border-top: 1px solid var(--border);
}
.article-content blockquote {
  border-left: 3px solid var(--accent);
  margin: 2em 0;
  padding: 1.2em 1.5em;
  background: var(--cream-dark);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-light);
}
.article-content ul, .article-content ol {
  margin: 1.2em 0;
  padding-left: 1.5em;
}
.article-content li { margin-bottom: 0.5em; }

.info-box {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 2em 0;
  font-size: 0.95rem;
}
.info-box.disclaimer {
  border-left: 3px solid var(--accent);
}

.highlight-box {
  background: linear-gradient(135deg, rgba(139,105,20,0.08) 0%, rgba(139,105,20,0.03) 100%);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px;
  margin: 2em 0;
}

.sources-list {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 2em 0;
}
.sources-list h3 { margin-top: 0; }
.sources-list ol {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ── BREADCRUMBS ────────────────────────────────────────────── */
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-light);
  padding: 16px 0;
  max-width: 760px;
  margin: 0 auto;
}
.breadcrumbs a { color: var(--text-light); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { margin: 0 8px; opacity: 0.5; }

/* ── SUBSCRIBE ──────────────────────────────────────────────── */
.subscribe-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  margin: 3em 0;
  text-align: center;
}
.subscribe-section h2, .subscribe-section h3 {
  margin-top: 0;
  border: none;
}
.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
  margin: 1.5em auto 0;
}
.subscribe-form input {
  font-family: var(--body-font);
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--text);
  transition: border-color var(--transition);
}
.subscribe-form input:focus {
  outline: none;
  border-color: var(--accent);
}
.subscribe-form .btn { width: 100%; }

/* ── CONTACT FORM ───────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 540px;
}
.contact-form input,
.contact-form textarea {
  font-family: var(--body-font);
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form textarea { resize: vertical; min-height: 140px; }

/* ── SECTION ────────────────────────────────────────────────── */
.section { padding: 64px 0; }
.section-alt { background: var(--white); }
.section-title {
  text-align: center;
  margin-bottom: 1.5em;
}
.section-subtitle {
  text-align: center;
  font-style: italic;
  color: var(--text-light);
  max-width: 600px;
  margin: -1em auto 2em;
  font-size: 1.05rem;
}

/* ── READ ALSO ──────────────────────────────────────────────── */
.read-also {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 32px;
  margin: 3em 0 2em;
}
.read-also h3 { margin-top: 0; font-size: 1.15rem; }
.read-also ul {
  list-style: none;
  padding: 0;
}
.read-also li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.read-also li:last-child { border: none; }
.read-also a { font-weight: 500; }

/* ── AUTHOR ─────────────────────────────────────────────────── */
.author-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 2.5em 0;
}
.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
}
.author-info h4 { margin-bottom: 0.2em; font-size: 1rem; }
.author-info p { margin: 0; font-size: 0.9rem; color: var(--text-light); }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 28px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
.site-footer h4 {
  color: var(--white);
  font-family: var(--heading-font);
  font-size: 1.1rem;
  margin-bottom: 1em;
}
.site-footer a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color var(--transition);
}
.site-footer a:hover { color: var(--accent-light); }
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.65;
}

/* ── COOKIE BANNER ──────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
  padding: 24px;
  z-index: 9999;
  animation: slideUp 0.4s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner p { flex: 1; min-width: 240px; margin: 0; font-size: 0.9rem; }
.cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btns button {
  font-family: var(--body-font);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--text);
}
.cookie-btns button.accept {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.cookie-btns button.accept:hover { background: var(--accent-hover); }
.cookie-btns button:hover { box-shadow: var(--shadow-sm); }

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cookie-modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 500px;
  width: 100%;
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.cookie-modal h3 {
  margin-top: 0;
  font-size: 1.3rem;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cookie-category:last-of-type { border: none; }
.cookie-category label { font-weight: 500; }
.cookie-category small { display: block; font-size: 0.82rem; color: var(--text-light); }
.cookie-toggle {
  position: relative;
  width: 48px;
  height: 26px;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle .slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 26px;
  cursor: pointer;
  transition: var(--transition);
}
.cookie-toggle .slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  bottom: 3px;
  left: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}
.cookie-toggle input:checked + .slider { background: var(--accent); }
.cookie-toggle input:checked + .slider::before { transform: translateX(22px); }
.cookie-toggle input:disabled + .slider { opacity: 0.6; cursor: not-allowed; }

/* ── SUCCESS PAGE ───────────────────────────────────────────── */
.success-page {
  text-align: center;
  padding: 100px 24px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.success-page h1 { color: var(--accent); }

/* ── ABOUT ──────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 2em 0;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.about-card h3 { margin-top: 0; }

/* ── LEGAL ──────────────────────────────────────────────────── */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
.legal-content h1 {
  margin-bottom: 0.5em;
}
.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 2em;
}
.legal-content h3 {
  font-size: 1.1rem;
}

/* ── MISC ───────────────────────────────────────────────────── */
.divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 2.5em 0;
}
.text-center { text-align: center; }
.mt-2 { margin-top: 2em; }
.mb-2 { margin-bottom: 2em; }
