/* ===========================
   Bekah Overbey — Author Site
   Aesthetic: Soft feminine,
   dainty rose, romantic luxe
   =========================== */

:root {
  --petal: #FCF4E1;
  --warm-white: #FDF8EE;
  --blush: #FCD7D1;
  --rose: #F6989E;
  --rose-soft: #F6989E;
  --rose-deep: #01393A;
  --mauve: #A4D8C2;
  --pink-light: #FCD7D1;
  --pink-mist: #FDF8EE;
  --ink: #01393A;
  --ink-light: #1A5455;
  --ink-faint: #3D7A7B;
  --gold-rose: #A4D8C2;
  --gold-rose-light: #C5E8D8;
  --ivory: #FCF4E1;
  --champagne: #FCD7D1;

  --font-display: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Nunito Sans', 'Segoe UI', 'Helvetica Neue', sans-serif;
  --font-script: 'Dancing Script', 'Snell Roundhand', 'Brush Script MT', cursive;

  --max-width: 1200px;
  --section-pad: clamp(4rem, 10vw, 8rem);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background-color: var(--petal);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* =========================
   NAVIGATION
   ========================= */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.4s, box-shadow 0.4s;
}

.site-nav.scrolled {
  background: rgba(255, 245, 245, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 20px rgba(189, 107, 128, 0.06);
}

.nav-logo {
  font-family: var(--font-script);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--rose-deep);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--rose);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--rose-deep); }
.nav-links a:hover::after { width: 100%; }

/* =========================
   HERO
   ========================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  background: var(--petal);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 209, 217, 0.35) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -20%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 169, 133, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

/* Floating petals */
.hero-petal {
  position: absolute;
  width: 8px;
  height: 12px;
  background: var(--blush);
  border-radius: 50% 50% 50% 0;
  opacity: 0.25;
  animation: petalFloat 12s ease-in-out infinite;
}

.hero-petal:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; animation-duration: 14s; }
.hero-petal:nth-child(2) { top: 25%; right: 15%; animation-delay: 3s; animation-duration: 11s; width: 6px; height: 9px; }
.hero-petal:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 6s; animation-duration: 16s; width: 10px; height: 14px; }
.hero-petal:nth-child(4) { top: 40%; right: 8%; animation-delay: 2s; animation-duration: 13s; width: 5px; height: 8px; }
.hero-petal:nth-child(5) { bottom: 20%; right: 25%; animation-delay: 8s; animation-duration: 15s; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  animation: fadeUp 1s ease forwards;
}

.hero-eyebrow {
  font-family: var(--font-script);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--rose);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--rose-deep);
  display: block;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink-light);
  max-width: 460px;
  margin: 0 auto 2.5rem;
  line-height: 1.85;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--petal);
  background: var(--ink);
  padding: 0.95rem 2.4rem;
  border-radius: 50px;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(189, 107, 128, 0.25);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(189, 107, 128, 0.35);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose-soft);
  writing-mode: vertical-rl;
  animation: scrollBounce 2s ease infinite;
}

/* =========================
   SECTION UTILITIES
   ========================= */

.section { padding: var(--section-pad) 2rem; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }

.section-label {
  display: block;
  font-family: var(--font-script);
  font-size: 2rem;
  font-weight: 400;
  color: var(--rose);
  margin-bottom: 0.5rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

/* =========================
   ABOUT
   ========================= */

.about {
  background: var(--warm-white);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--blush), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrap { position: relative; }

.about-image-wrap::before {
  content: '';
  position: absolute;
  top: -1.2rem; left: -1.2rem; right: 1.2rem; bottom: 1.2rem;
  border: 1px solid var(--blush);
  border-radius: 8px;
  z-index: 0;
}

.about-image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(0.9) contrast(1.02);
}

.about-placeholder {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--pink-light) 0%, var(--blush) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-placeholder-text {
  font-family: var(--font-script);
  font-size: 4.5rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
}

.about-text p {
  font-size: 1rem;
  color: var(--ink-light);
  margin-bottom: 1.25rem;
  line-height: 1.85;
}

.about-text p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.5rem;
  float: left;
  line-height: 0.8;
  margin-right: 0.4rem;
  margin-top: 0.15rem;
  color: var(--rose-deep);
}

/* =========================
   DIVIDER
   ========================= */

.divider { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.divider-line { height: 1px; background: linear-gradient(to right, transparent, var(--blush), transparent); }

.divider-flower { text-align: center; padding: 1.5rem 0; }
.divider-flower span { font-size: 1rem; color: var(--blush); letter-spacing: 1rem; }

/* =========================
   BOOKS
   ========================= */

.books { background: var(--petal); }

.books-intro { max-width: 600px; margin-bottom: 3.5rem; }
.books-intro p { font-size: 1rem; color: var(--ink-light); line-height: 1.8; }

.book-list { display: flex; flex-direction: column; gap: 5rem; }

.book-item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s ease forwards;
}

.book-item:nth-child(1) { animation-delay: 0.1s; }
.book-item:nth-child(2) { animation-delay: 0.2s; }
.book-item:nth-child(3) { animation-delay: 0.3s; }
.book-item:nth-child(4) { animation-delay: 0.4s; }
.book-item:nth-child(5) { animation-delay: 0.5s; }

.book-item:nth-child(even) { direction: rtl; }
.book-item:nth-child(even) > * { direction: ltr; }

.book-cover-wrap { position: relative; }

.book-cover-wrap::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 6px; right: -6px; top: 6px;
  background: var(--pink-light);
  border-radius: 6px;
  z-index: -1;
  transition: all 0.3s ease;
}

.book-item:hover .book-cover-wrap::after {
  bottom: -10px; left: 10px; right: -10px; top: 10px;
  background: var(--blush);
}

.book-cover {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(189, 107, 128, 0.15);
  transition: transform 0.3s ease;
}

.book-cover-placeholder {
  width: 100%;
  aspect-ratio: 2/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(189, 107, 128, 0.15);
  transition: transform 0.3s ease;
}

.book-item:hover .book-cover,
.book-item:hover .book-cover-placeholder {
  transform: translateY(-4px);
}

.book-cover-coming { background: linear-gradient(160deg, #F0B0C8 0%, #D4708A 100%); }
.book-cover-1 { background: linear-gradient(160deg, #E8C8C0 0%, #C4968A 100%); }
.book-cover-2 { background: linear-gradient(160deg, #C8D4C0 0%, #9AB090 100%); }
.book-cover-3 { background: linear-gradient(160deg, #D0C4D8 0%, #A898B0 100%); }
.book-cover-4 { background: linear-gradient(160deg, #C8D0D8 0%, #98A8B4 100%); }

.book-cover-placeholder .placeholder-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.3;
}

.book-info { padding-top: 0.5rem; }

.book-series {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.75rem;
}

.book-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.book-year { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 1.25rem; }

.book-desc {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.book-comp, .coming-soon-comp {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink-faint);
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.book-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }

.book-tag {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--blush);
  border-radius: 50px;
  color: var(--rose-deep);
  font-weight: 400;
  background: var(--pink-mist);
}

.book-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose-deep);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.book-link:hover { border-color: var(--rose-deep); }
.book-link svg { width: 14px; height: 14px; transition: transform 0.3s; }
.book-link:hover svg { transform: translateX(3px); }

/* Coming soon feature */
.coming-soon-feature {
  position: relative;
  background: linear-gradient(145deg, #FCD7D1 0%, #FCD7D1 40%, #F6989E40 100%);
  border: 1px solid rgba(252, 215, 209, 0.5);
  border-radius: 16px;
  padding: 3rem;
  margin-bottom: 4rem;
  overflow: hidden;
  animation: fadeUp 0.8s ease forwards;
}

.coming-soon-feature::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(240, 176, 200, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.coming-soon-feature::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 150%;
  background: radial-gradient(circle, rgba(212, 169, 133, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.coming-soon-sparkle {
  position: absolute;
  font-size: 0.7rem;
  color: var(--rose-soft);
  animation: sparkle 3s ease-in-out infinite;
  z-index: 1;
}

.coming-soon-sparkle-1 { top: 12%; right: 8%; animation-delay: 0s; }
.coming-soon-sparkle-2 { top: 25%; right: 18%; animation-delay: 1s; font-size: 0.5rem; }
.coming-soon-sparkle-3 { bottom: 15%; right: 12%; animation-delay: 2s; font-size: 0.6rem; }

.coming-soon-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.coming-soon-cover-wrap {
  position: relative;
}

.coming-soon-cover-wrap .book-cover-placeholder {
  box-shadow: 0 12px 40px rgba(189, 107, 128, 0.25);
  border-radius: 8px;
  transition: transform 0.4s ease;
}

.coming-soon-feature:hover .coming-soon-cover-wrap .book-cover-placeholder {
  transform: translateY(-6px) rotate(-1deg);
}

.coming-soon-badge {
  display: inline-block;
  font-family: var(--font-script);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--rose);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  box-shadow: 0 3px 12px rgba(1, 57, 58, 0.15);
}

.coming-soon-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.coming-soon-tagline {
  font-family: var(--font-script);
  font-size: 1.2rem;
  color: var(--rose-deep);
  margin-bottom: 1rem;
}

.coming-soon-desc {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.coming-soon-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--rose);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(1, 57, 58, 0.15);
  margin-top: 0.5rem;
}

.coming-soon-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(189, 107, 128, 0.35);
}

.coming-soon-cta svg { flex-shrink: 0; }

/* Coming soon actions row */
.coming-soon-actions {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 0.5rem;
}


/* Books divider between coming soon and backlist */
.books-divider {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.books-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--blush), transparent);
}

.books-divider-label {
  position: relative;
  display: inline-block;
  font-family: var(--font-script);
  font-size: 1rem;
  color: var(--rose);
  background: var(--petal);
  padding: 0 1.5rem;
}

/* =========================
   CONNECT / FOOTER
   ========================= */

.connect {
  background: var(--ink);
  color: var(--petal);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.connect::before {
  content: '';
  position: absolute;
  top: -40%; left: 50%; transform: translateX(-50%);
  width: 80vw; height: 80vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189, 107, 128, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.connect .section-label { color: var(--rose-soft); }
.connect .section-heading { color: var(--petal); }

.connect-text {
  font-size: 1rem;
  color: rgba(255, 245, 245, 0.55);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.connect-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 4rem; }

.connect-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--petal);
  padding: 0.85rem 2rem;
  border: 1px solid rgba(255, 245, 245, 0.15);
  border-radius: 50px;
  transition: all 0.3s;
}

.connect-link:hover {
  border-color: var(--rose-soft);
  color: var(--rose-soft);
  background: rgba(232, 168, 184, 0.06);
}

.connect-link svg { width: 16px; height: 16px; }

.footer-bottom {
  padding-top: 3rem;
  border-top: 1px solid rgba(255,245,245,0.06);
  font-size: 0.72rem;
  color: rgba(255,245,245,0.25);
  letter-spacing: 0.05em;
}

/* =========================
   ANIMATIONS
   ========================= */

@keyframes sparkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.4); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes petalFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.2; }
  25% { transform: translateY(-20px) rotate(45deg); opacity: 0.35; }
  50% { transform: translateY(-10px) rotate(90deg); opacity: 0.2; }
  75% { transform: translateY(-30px) rotate(135deg); opacity: 0.3; }
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image-wrap { max-width: 380px; margin: 0 auto; }
  .book-item, .book-item:nth-child(even) { grid-template-columns: 180px 1fr; direction: ltr; gap: 2rem; }
  .book-cover-wrap { max-width: none; }
  .coming-soon-inner { grid-template-columns: 1fr; text-align: center; }
  .coming-soon-cover-wrap { max-width: 200px; margin: 0 auto; }
  .coming-soon-desc { margin-left: auto; margin-right: auto; }
  .book-tags { justify-content: flex-start; }
  .coming-soon-actions { align-items: center; }
  .coming-soon-cta { align-self: center; }
}

@media (max-width: 600px) {
  .nav-links { gap: 1.2rem; }
  .nav-links a { font-size: 0.68rem; }
  .site-nav { padding: 1rem 1.25rem; }
  .nav-logo { font-size: 1.35rem; }
  .hero { padding: 5rem 1.5rem 3rem; }
  .section { padding: calc(var(--section-pad) * 0.7) 1.25rem; }
  .connect-links { flex-direction: column; align-items: center; }
  .hero-petal { display: none; }
  .book-item, .book-item:nth-child(even) { grid-template-columns: 120px 1fr; gap: 1.25rem; }
  .coming-soon-feature { padding: 2rem; }
}
