/* Katie McLane — International Website
   Brand Styleguide: Luxury Power Romance */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Figtree:wght@300;400;500;600&family=Great+Vibes&display=swap');

:root {
  --black: #11100F;
  --espresso: #2A1D19;
  --gold: #D4AF5C;
  --ivory: #F3E9DB;
  --burgundy: #59262D;
  --gold-dim: rgba(212, 175, 92, 0.15);
  --gold-hover: #e2c472;
  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-script: 'Great Vibes', cursive;
  --font-body: 'Figtree', 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { background: var(--black); color: var(--ivory); font-family: var(--font-body); font-weight: 300; font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-hover); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { max-width: 860px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section--espresso { background: var(--espresso); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(17, 16, 15, 0.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--gold-dim); padding: 0.75rem 0; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header__logo { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--gold); letter-spacing: 0.08em; white-space: nowrap; }
.site-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-nav a { font-family: var(--font-body); font-size: 0.85rem; font-weight: 400; color: var(--ivory); letter-spacing: 0.02em; transition: color 0.2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); }
.nav-toggle { display: none; }
@media (max-width: 640px) {
  .nav-toggle { display: block; background: none; border: none; color: var(--gold); font-size: 1.5rem; cursor: pointer; padding: 0.25rem; line-height: 1; }
  .site-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--black); border-bottom: 1px solid var(--gold-dim); padding: 1rem 1.5rem; gap: 0.75rem; }
  .site-nav.open { display: flex; }
}

/* Hero */
.hero { padding: 5rem 0 4rem; text-align: center; }
.hero__title { font-family: var(--font-display); font-size: clamp(1.3rem, 3.5vw, 1.8rem); font-weight: 600; color: var(--ivory); letter-spacing: 0.06em; margin-bottom: 2rem; line-height: 1.4; }
.hero__title .gold { color: var(--gold); }
.hero__cover { max-width: 280px; margin: 0 auto 2rem; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); border-radius: 2px; }
.hero__tagline { font-family: var(--font-body); font-size: 1.05rem; font-weight: 300; color: var(--ivory); opacity: 0.85; max-width: 500px; margin: 0 auto 2.5rem; line-height: 1.6; }

/* Buttons */
.btn { display: inline-block; font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.05em; padding: 0.75rem 2rem; border: 1px solid var(--gold); color: var(--gold); background: transparent; transition: background 0.25s, color 0.25s; cursor: pointer; }
.btn:hover { background: var(--gold); color: var(--black); }
.btn--filled { background: var(--gold); color: var(--black); }
.btn--filled:hover { background: var(--gold-hover); color: var(--black); }

/* Headings */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: var(--ivory); }
h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: 0.06em; margin-bottom: 1.5rem; }
h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); letter-spacing: 0.05em; margin-bottom: 1.25rem; }

/* Book Cards */
.book-card { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; padding: 2.5rem 0; border-bottom: 1px solid var(--gold-dim); }
.book-card:last-child { border-bottom: none; }
.book-card__cover { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); border-radius: 2px; }
.book-card__placeholder { width: 200px; aspect-ratio: 1600 / 2560; background: var(--espresso); border: 1px solid var(--gold-dim); display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem; border-radius: 2px; }
.book-card__placeholder span { font-family: var(--font-display); font-size: 0.85rem; color: var(--gold); opacity: 0.6; letter-spacing: 0.04em; }
.book-card__title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: 0.05em; color: var(--ivory); margin-bottom: 0.75rem; line-height: 1.4; }
.book-card__meta { font-size: 0.85rem; color: var(--gold); opacity: 0.8; margin-bottom: 0.75rem; }
.book-card__text { margin-bottom: 1rem; font-size: 0.95rem; }
.book-card__tropes { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.trope-tag { font-size: 0.75rem; font-weight: 400; padding: 0.2rem 0.6rem; border: 1px solid var(--gold-dim); color: var(--gold); opacity: 0.8; }
@media (max-width: 600px) {
  .book-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .book-card__cover, .book-card__placeholder { width: 180px; }
  .book-card__tropes { justify-content: center; }
}

/* About */
.about-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: start; }
.about-layout__photo { border-radius: 2px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4); }
@media (max-width: 600px) {
  .about-layout { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .about-layout__photo { max-width: 220px; }
}

/* Bonus */
.bonus-box { background: var(--espresso); padding: 2.5rem; text-align: center; border: 1px solid var(--gold-dim); max-width: 600px; margin: 0 auto; }
.bonus-box__script { font-family: var(--font-script); font-size: 2rem; color: var(--gold); margin-bottom: 1rem; }
.bonus-box p { margin-bottom: 1.5rem; }

/* Landing */
.landing { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.landing__logo { width: 160px; margin-bottom: 2rem; opacity: 0.9; }
.landing__name { font-family: var(--font-display); font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 400; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 0.5rem; }
.landing__claim { font-family: var(--font-body); font-size: 0.9rem; font-weight: 300; color: var(--ivory); opacity: 0.6; letter-spacing: 0.06em; margin-bottom: 3rem; }
.landing__lang { display: inline-flex; align-items: center; gap: 0.75rem; font-family: var(--font-body); font-size: 1rem; font-weight: 400; color: var(--ivory); padding: 0.75rem 2rem; border: 1px solid var(--gold-dim); transition: border-color 0.25s, background 0.25s; }
.landing__lang:hover { border-color: var(--gold); background: var(--gold-dim); color: var(--ivory); }
.landing__flag { font-size: 1.4rem; line-height: 1; }

/* Footer */
.site-footer { border-top: 1px solid var(--gold-dim); padding: 2rem 0; text-align: center; font-size: 0.8rem; color: var(--ivory); opacity: 0.5; }
.site-footer a { color: var(--ivory); opacity: 0.7; }
.site-footer a:hover { opacity: 1; color: var(--gold); }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.footer-copyright a { color: inherit; opacity: inherit; text-decoration: none; }

/* Legal */
.legal h2 { font-size: 1.2rem; margin-top: 2.5rem; margin-bottom: 0.75rem; }
.legal p { margin-bottom: 1rem; }
.legal ul { margin-bottom: 1rem; padding-left: 1.25rem; }
.legal li { margin-bottom: 0.4rem; }

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.gold { color: var(--gold); }
.separator { width: 40px; height: 1px; background: var(--gold); margin: 2rem auto; opacity: 0.4; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  html { scroll-behavior: auto; }
}
