/* ============================================================
   MORGANA SPELLS
   ============================================================ */

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

:root {
  --bg-deep: #09070E;
  --bg-section: #0F0D16;
  --bg-card: #16131F;
  --bg-card-hover: #1C1829;
  --accent-gold: #B8963E;
  --accent-gold-dim: #8A6F2E;
  --accent-plum: #4A1E3A;
  --text-primary: #E4DDD2;
  --text-secondary: #9E96A6;
  --text-heading: #F0EAE0;
  --border-subtle: rgba(184, 150, 62, 0.15);
  --border-accent: rgba(184, 150, 62, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lora', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-primary);
  background-color: var(--bg-deep);
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(9, 7, 14, 0.5) 100%);
}

h1, h2, h3, h4 {
  font-family: 'Cinzel', 'Times New Roman', serif;
  color: var(--text-heading);
  font-weight: 600;
  line-height: 1.35;
}

h1 {
  font-size: 2rem;
  letter-spacing: 0.05em;
}

h2 {
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.6rem;
}

p {
  margin-bottom: 1.2rem;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--text-heading);
}

strong {
  font-weight: 600;
  color: var(--text-heading);
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-content {
  padding: 3rem 0 4rem;
}

/* --- Header / Navigation --- */

.site-header {
  background: var(--bg-section);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.2rem 0;
  position: relative;
  z-index: 1001;
}

.header-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-title {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
  text-decoration: none;
}

.site-title:hover {
  color: var(--text-heading);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--accent-gold);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

nav a {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: var(--accent-gold);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 0;
  min-width: 180px;
  margin-top: 0.75rem;
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0.4rem 1.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: var(--bg-section);
}

/* --- Hero --- */

.hero {
  text-align: center;
  padding: 4.5rem 0 3.5rem;
}

.hero h1 {
  font-size: 2.6rem;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
}

.hero .tagline {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 2.5rem;
}

.hero-text {
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
}

/* --- Divider --- */

.divider {
  text-align: center;
  margin: 2.5rem 0;
  color: var(--accent-gold-dim);
  font-size: 0.85rem;
  letter-spacing: 0.5em;
  opacity: 0.6;
}

.divider::before,
.divider::after {
  content: '';
  display: inline-block;
  width: 60px;
  height: 1px;
  background: var(--accent-gold-dim);
  vertical-align: middle;
  opacity: 0.4;
}

.divider::before { margin-right: 1rem; }
.divider::after { margin-left: 1rem; }

/* --- Spells Grid --- */

.spells-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.spell-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1.4rem 1.3rem;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.spell-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
}

.spell-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  color: var(--accent-gold);
  margin-bottom: 0.4rem;
}

.spell-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.5;
}

/* --- Spell Detail --- */

.spell-detail {
  padding: 3rem 0 4rem;
}

.spell-detail h1 {
  font-size: 1.9rem;
  margin-bottom: 0.4rem;
  color: var(--accent-gold);
}

.spell-price {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.spell-body h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

/* --- CTA --- */

.cta-button {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--accent-gold);
  padding: 0.85rem 2.2rem;
  text-decoration: none;
  transition: background 0.3s ease;
  margin-top: 1rem;
}

.cta-button:hover {
  background: var(--text-heading);
}

/* --- FAQ --- */

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.4rem 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--border-subtle);
}

.faq-item h3 {
  color: var(--text-heading);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.faq-item p:last-child {
  margin-bottom: 0;
}

/* --- Articles --- */

.article-link {
  display: block;
  padding: 1.2rem 1.3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  margin-bottom: 0.9rem;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.article-link:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
}

.article-link h3 {
  color: var(--accent-gold);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.article-link p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* --- Contact --- */

.contact-info { margin-top: 1.5rem; }

.contact-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.contact-item:first-child {
  border-top: 1px solid var(--border-subtle);
}

.contact-label {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 1rem;
  color: var(--accent-gold);
}

/* --- Contact Form --- */

.contact-form {
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-gold);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.5;
}

.form-submit {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--accent-gold);
  border: none;
  padding: 0.85rem 2.2rem;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: var(--text-heading);
}

.email-image {
  margin-top: 2.5rem;
}

.email-image p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.email-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* --- Guarantee Box --- */

.guarantee {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-gold-dim);
  padding: 1.2rem 1.4rem;
  margin-top: 2rem;
}

.guarantee p {
  margin-bottom: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* --- Footer --- */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --- Responsive --- */

@media (max-width: 700px) {
  body { font-size: 17px; }
  .hero h1 { font-size: 2rem; }
  h1 { font-size: 1.6rem; }
  .spells-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-section);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1rem 1.5rem;
    gap: 0.7rem;
  }
  nav ul.open { display: flex; }
  .dropdown-menu {
    position: static;
    transform: none;
    margin-top: 0.3rem;
    background: none;
    border: none;
    padding: 0 0 0 1rem;
    min-width: 0;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
}
