/* ============================================
   GlassQuill Light Style System v3 — Prefix: gq-
   Clean version (no animation delays)
   ============================================ */

:root {
  --gq-primary: #c8a96a;
  --gq-surface: rgba(255,255,255,0.6);
  --gq-paper: #f7f4ef;
  --gq-ink: #2d2a26;
  --gq-muted: #877f72;
  --gq-radius: 14px;
  --gq-shadow: rgba(0,0,0,0.1);
  --gq-maxwidth: 880px;
  --gq-spacing: 1.8rem;
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Base */
html, body {
  background: var(--gq-paper);
  color: var(--gq-ink);
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  line-height: 1.7;
  scroll-behavior: smooth;
}

/* Background shimmer (still subtle, static if you want) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(120deg, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
  opacity: 0.5;
}

/* Layout */
.gq-main {
  max-width: var(--gq-maxwidth);
  margin: 0 auto;
  padding: var(--gq-spacing);
}

/* Header */
.gq-header {
  text-align: center;
  padding: 1.6rem 0 1rem;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  border-radius: 0 0 var(--gq-radius) var(--gq-radius);
  position: sticky;
  top: 0;
  z-index: 999;
}

.gq-logo {
  display: block;
  margin: 0 auto 0.8rem;
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.15));
}

/* Navigation */
.gq-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.gq-nav a {
  text-decoration: none;
  color: var(--gq-ink);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}

.gq-nav a:hover {
  background: var(--gq-primary);
  color: white;
}

.gq-nav a.active {
  background: var(--gq-primary);
  color: white;
}

/* Hero Image */
.gq-hero {
  margin: 1.8rem 0;
  border-radius: var(--gq-radius);
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(0,0,0,0.1);
}

.gq-hero-img {
  display: block;
  width: 100%;
  border-radius: var(--gq-radius);
}

/* Typography */
h1, h2, h3 {
  font-weight: 600;
  color: var(--gq-primary);
  margin-bottom: 0.7em;
}

h1 {
  font-size: 2.1rem;
  line-height: 1.3;
  text-align: center;
}

h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
}

article p,
section p,
main p,
p {
  text-align: justify !important;
  text-justify: inter-word !important;
  -webkit-hyphens: auto !important;
  -ms-hyphens: auto !important;
  hyphens: auto !important;
  margin-bottom: 1.2rem;
  color: var(--gq-ink);
}

/* Sections */
section.gq-section {
  background: var(--gq-surface);
  padding: var(--gq-spacing);
  margin-bottom: var(--gq-spacing);
  border-radius: var(--gq-radius);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

/* Cards */
.gq-card {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--gq-radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gq-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Footer — centered medallion style */
.gq-footer {
  text-align: center;
  padding: 3rem 0;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0,0,0,0.05);
}

.gq-footer p {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--gq-muted);
  padding: 1.2rem 2rem;
  border-radius: 50px;
  border: 2px solid var(--gq-primary);
  background: linear-gradient(145deg, rgba(255,255,255,0.7), rgba(255,255,255,0.3));
  box-shadow: 0 3px 10px rgba(0,0,0,0.08), inset 0 1px 2px rgba(255,255,255,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gq-footer p:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12), inset 0 1px 3px rgba(255,255,255,0.7);
}

/* Reading Progress Bar (optional) */
.gq-progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gq-primary), transparent);
  z-index: 9998;
}

/* Responsive */
@media (max-width: 700px) {
  .gq-main { padding: 1rem; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.3rem; }
  .gq-nav a { padding: 0.4rem 0.9rem; font-size: 0.95rem; }
  .gq-footer p { font-size: 0.9rem; padding: 1rem 1.6rem; }
}

