/* =====================================================
   NeverGiveUpYourDream.US — Modern Redesign
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --navy:       #0c2e61;
  --navy-dark:  #071a3e;
  --navy-light: #1a4a8a;
  --gold:       #c8a84b;
  --gold-light: #f4ce53;
  --gold-pale:  #fdf6e3;
  --bg:         #f7f8fc;
  --white:      #ffffff;
  --dark:       #111827;
  --text:       #374151;
  --muted:      #6b7280;
  --border:     #e5e7eb;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.14);
  --radius:     10px;
  --radius-lg:  18px;
  --transition: 0.25s ease;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.nav-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 64px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.3px;
  white-space: nowrap;
}
.nav-logo span { color: var(--gold-light); }
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem; font-weight: 500;
  padding: 8px 14px; border-radius: 6px;
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
  background: rgba(255,255,255,0.08);
}
.nav-links a.btn-books {
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  margin-left: 8px;
}
.nav-links a.btn-books:hover {
  background: var(--gold-light);
  color: var(--navy-dark);
}
.nav-toggle {
  display: none;
  background: none; border: none;
  color: white; font-size: 1.5rem; cursor: pointer;
  padding: 4px 8px; border-radius: 4px;
}

/* ── HERO (Home) ── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  color: white;
  padding: 80px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(200,168,75,0.2);
  border: 1px solid rgba(200,168,75,0.4);
  color: var(--gold-light);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 16px; border-radius: 50px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900; line-height: 1.1;
  color: white; margin-bottom: 12px;
}
.hero h1 span { color: var(--gold-light); }
.hero-subtitle {
  font-size: 1.15rem; color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 4px 14px rgba(200,168,75,0.4);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,168,75,0.5);
}
.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: white;
  border-color: white;
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow-md);
}
.btn-navy:hover {
  background: var(--navy-light);
  color: white;
  transform: translateY(-2px);
}

/* ── PAGE HERO (subpages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: white; text-align: center;
  padding: 56px 24px 52px;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700; margin-bottom: 10px;
}
.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem; max-width: 560px; margin: 0 auto;
}

/* ── SECTION WRAPPER ── */
.section { padding: 72px 24px; }
.section-sm { padding: 48px 24px; }
.container { max-width: 1160px; margin: 0 auto; }
.container-md { max-width: 860px; margin: 0 auto; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700; color: var(--navy);
  margin-bottom: 8px;
}
.section-sub {
  color: var(--muted); font-size: 1rem;
  margin-bottom: 40px;
}
.section-header { margin-bottom: 40px; }
.section-header.center { text-align: center; }
.divider {
  width: 56px; height: 3px;
  background: var(--gold);
  margin: 12px 0 0;
  border-radius: 2px;
}
.divider.center { margin: 12px auto 0; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  overflow: hidden;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card-body { padding: 28px; }

/* ── HOME: Profile section ── */
.profile-section {
  background: var(--white);
  padding: 72px 24px;
}
.profile-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px; align-items: start;
}
.profile-photo-wrap {
  position: relative;
}
.profile-photo {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
.profile-badge {
  display: flex; align-items: center; gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 16px;
  box-shadow: var(--shadow-sm);
}
.profile-badge img { width: 40px; }
.profile-badge span {
  font-size: 0.8rem; font-weight: 600;
  color: var(--navy); line-height: 1.3;
}
.profile-content { padding-top: 8px; }
.profile-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem; color: var(--navy); margin-bottom: 6px;
}
.profile-content .tagline {
  color: var(--gold); font-weight: 600; font-size: 1rem;
  margin-bottom: 24px;
}

/* ── PRINCIPLES LIST ── */
.principles-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 32px;
  margin-top: 20px;
}
.principles-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.925rem; color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.principles-list li::before {
  content: '›';
  color: var(--gold); font-size: 1.2rem; font-weight: 700;
  flex-shrink: 0;
}

/* ── BOOKS GRID ── */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 24px;
}
.book-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
}
.book-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.book-cover-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2/3;
  background: var(--navy);
}
.book-cover-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.book-card:hover .book-cover-wrap img {
  transform: scale(1.05);
}
.book-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,26,62,0.92) 0%, rgba(7,26,62,0.0) 50%);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.book-card:hover .book-overlay { opacity: 1; }
.book-overlay-btn {
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.75rem; font-weight: 700;
  padding: 7px 12px;
  border-radius: 6px;
  text-align: center;
  display: block;
  transition: background var(--transition);
}
.book-overlay-btn:hover { background: var(--gold-light); color: var(--navy-dark); }
.book-info {
  padding: 12px 12px 14px;
}
.book-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── NUMBERED LIST (Start Here / Watch Out) ── */
.numbered-list { counter-reset: item; }
.numbered-list li {
  display: flex; gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  counter-increment: item;
}
.numbered-list li::before {
  content: counter(item);
  min-width: 32px; height: 32px;
  background: var(--navy);
  color: white;
  font-size: 0.8rem; font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.numbered-list li span {
  font-size: 0.975rem;
  color: var(--text);
  line-height: 1.6;
  padding-top: 5px;
}

/* ── ORG LINKS (Watch Out) ── */
.org-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.org-link {
  display: flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  transition: all var(--transition);
}
.org-link::before {
  content: '→';
  color: var(--gold); font-weight: 700; flex-shrink: 0;
}
.org-link:hover {
  background: var(--navy);
  color: var(--gold-light);
  border-color: var(--navy);
  transform: translateX(3px);
}
.org-link:hover::before { color: var(--gold-light); }

/* ── BIO TIMELINE ── */
.bio-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.milestone {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.milestone-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.milestone-photos img {
  width: 100%; height: 130px;
  object-fit: cover;
}
.milestone-caption {
  padding: 10px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  border-top: 3px solid var(--gold);
  background: var(--white);
  line-height: 1.4;
}
.bio-text-col p {
  font-size: 0.975rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 18px;
  text-align: justify;
}
.bg-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; color: var(--navy);
  margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 3px solid var(--gold);
}
.bg-items { display: flex; flex-direction: column; gap: 8px; }
.bg-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--text);
  padding: 8px 12px;
  background: var(--white);
  border-radius: 8px;
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
}
.bg-item a { color: var(--gold); font-weight: 600; }

/* ── GALLERY (Visualize It) ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  background: var(--navy);
  transition: all var(--transition);
}
.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ── QUOTE STRIP ── */
.quote-strip {
  background: var(--navy);
  padding: 56px 24px;
  text-align: center;
  color: white;
}
.quote-mark {
  font-family: Georgia, serif;
  font-size: 5rem; line-height: 0.6;
  color: var(--gold); opacity: 0.6;
  display: block; margin-bottom: 16px;
}
.quote-strip blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-style: italic;
  max-width: 700px; margin: 0 auto 16px;
  line-height: 1.5;
}
.quote-strip cite {
  font-size: 0.875rem;
  color: var(--gold-light);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── FOOTER ── */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 24px 28px;
}
.footer-grid {
  max-width: 1160px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  color: white; font-size: 1.2rem;
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 0.875rem; line-height: 1.7;
  margin-bottom: 16px;
}
.footer-contact a {
  color: var(--gold-light);
  display: block; font-size: 0.875rem;
  margin-bottom: 6px;
}
.footer-contact a:hover { color: white; }
.footer-nav h4 {
  color: white; font-size: 0.875rem;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 14px;
}
.footer-nav a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  margin-bottom: 8px;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: 1160px; margin: 24px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: var(--gold-light); }

/* ── INTRO CARD ── */
.intro-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  color: white;
  margin-bottom: 36px;
}
.intro-card p {
  font-size: 1.05rem; line-height: 1.75;
  color: rgba(255,255,255,0.85);
}
.intro-card strong { color: var(--gold-light); }

/* ── FEATURED BOOKS STRIP ── */
.featured-books {
  background: var(--gold-pale);
  padding: 72px 24px;
  border-top: 1px solid #ede8d5;
}

/* ── CONTACT INFO BAR ── */
.contact-bar {
  background: var(--navy);
  color: white;
  padding: 20px 24px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}
.contact-bar a { color: var(--gold-light); }
.contact-bar a:hover { color: white; }

/* ── MOBILE MENU ── */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--navy-dark);
    padding: 12px 0 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    gap: 2px;
  }
  .navbar.open .nav-links { display: flex; }
  .nav-links a { padding: 10px 24px; border-radius: 0; font-size: 1rem; }
  .nav-links a.btn-books { margin: 8px 24px 0; border-radius: 8px; }
  .navbar { position: relative; }

  .profile-grid { grid-template-columns: 1fr; }
  .profile-photo { max-width: 260px; margin: 0 auto; }
  .principles-list { grid-template-columns: 1fr; }
  .bio-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 56px 20px 48px; }
  .books-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 16px; }
}
