/* ============================================================
   phillipbanks.css
   Stylesheet for phillipbanks.com — Phillip Banks Sr.
   Link this file from index.html:
     <link rel="stylesheet" href="phillipbanks.css">
   ============================================================ */

/* ── DESIGN TOKENS ── */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E8CC7A;
  --gold-dark:   #8A6B22;
  --charcoal:    #1A1A1A;
  --off-white:   #F7F4EE;
  --mid-gray:    #888;
  --section-pad: 100px 60px;
}

/* ── RESET ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--charcoal);
  color: var(--off-white);
  overflow-x: hidden;
}

/* ================================================================
   NAV
   ================================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: rgba(26,26,26,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--off-white);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}

.nav-links a:hover { opacity: 1; color: var(--gold); }

/* ================================================================
   HERO — Full-screen video / photo background
   ================================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 60px 80px;
}

/* Container that holds either a real <video> or the placeholder */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

/* Animated placeholder shown until real media is added */
.hero-video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 40%, #111 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-placeholder::before {
  content: '';
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(201,168,76,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
  0%   { transform: translate(0,0); }
  100% { transform: translate(60px,60px); }
}

/* Right-side silhouette / photo zone */
.hero-silhouette {
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 38vw;
  max-width: 560px;
  height: 90%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.silhouette-glow {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 70%;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(201,168,76,0.12) 0%, transparent 70%);
}

.silhouette-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Playfair Display', serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(201,168,76,0.35);
  text-align: center;
  line-height: 2;
  white-space: nowrap;
  border: 1px dashed rgba(201,168,76,0.2);
  padding: 16px 24px;
}

/* Dark gradient so text stays readable over any background */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(26,26,26,0.95) 0%, rgba(26,26,26,0.7) 55%, rgba(26,26,26,0.15) 100%),
    linear-gradient(to top, rgba(26,26,26,0.8) 0%, transparent 40%);
  z-index: 1;
}

.hero-rule {
  position: absolute;
  top: 0; bottom: 0;
  left: 55%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.3) 30%, rgba(201,168,76,0.3) 70%, transparent);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 900;
  line-height: 1.0;
  color: var(--off-white);
  margin-bottom: 8px;
}

.hero-name em {
  display: block;
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero-title {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(247,244,238,0.55);
  margin-bottom: 36px;
  border-left: 2px solid var(--gold);
  padding-left: 16px;
}

.hero-bio {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(247,244,238,0.75);
  margin-bottom: 48px;
  max-width: 520px;
}

.hero-cta {
  display: inline-block;
  padding: 16px 40px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
  margin-right: 20px;
}

.hero-cta:hover {
  background: var(--gold);
  color: var(--charcoal);
}

.hero-stats {
  position: absolute;
  right: 60px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-end;
  z-index: 2;
}

.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(247,244,238,0.5);
  text-align: right;
}

.hero-stat-divider {
  width: 40px;
  height: 1px;
  background: rgba(201,168,76,0.3);
  margin-left: auto;
}

/* ================================================================
   SHARED SECTION STYLES
   ================================================================ */
section {
  padding: var(--section-pad);
  position: relative;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--off-white);
  margin-bottom: 24px;
}

.section-body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(247,244,238,0.7);
  max-width: 640px;
}

.gold-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 24px 0 40px;
}

/* ================================================================
   STORY SECTION
   ================================================================ */
#story {
  background: #111;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-image-frame { position: relative; }

/* Use this class on a real <img> tag when you have a photo */
.story-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border: 1px solid rgba(201,168,76,0.2);
  display: block;
}

/* Placeholder — remove this div once you add a real photo */
.story-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: #111;
  border: 1px solid rgba(201,168,76,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.story-photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 45%, rgba(201,168,76,0.04) 50%, transparent 55%),
    repeating-linear-gradient(45deg, rgba(201,168,76,0.03) 0, rgba(201,168,76,0.03) 1px, transparent 0, transparent 50%);
  background-size: 100% 100%, 12px 12px;
}

.story-ph-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px dashed rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.story-ph-icon svg { opacity: 0.3; }

.story-ph-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(201,168,76,0.4);
  position: relative;
  z-index: 1;
  text-align: center;
  line-height: 1.8;
}

.story-accent-box {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--charcoal);
  padding: 24px 28px;
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  max-width: 180px;
}

.story-accent-box span {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1px;
  margin-top: 4px;
  opacity: 0.7;
}

.story-quote {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.6;
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  margin: 32px 0;
}

/* ================================================================
   APPEARANCES / LEGACY
   ================================================================ */
#appearances {
  background: var(--charcoal);
  text-align: center;
}

#appearances .section-title { margin: 0 auto 12px; }
#appearances .gold-divider  { margin: 24px auto 40px; }
#appearances .section-body  { margin: 0 auto 60px; }

.appearances-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2px;
  max-width: 1100px;
  margin: 0 auto;
}

.appearance-card {
  background: #111;
  padding: 36px 24px;
  text-align: center;
  border: 1px solid rgba(201,168,76,0.1);
  transition: border-color 0.3s, background 0.3s;
  cursor: default;
}

.appearance-card:hover {
  border-color: rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.04);
}

.appearance-icon {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 12px;
  line-height: 1;
}

.appearance-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--off-white);
  margin-bottom: 6px;
  line-height: 1.3;
}

.appearance-detail {
  font-size: 11px;
  color: rgba(247,244,238,0.4);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ================================================================
   PHOTO COLLAGE
   ================================================================ */
#collage {
  background: #0a0a0a;
  padding: 80px 60px;
}

.collage-header {
  text-align: center;
  margin-bottom: 56px;
}

.collage-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 6px;
  max-width: 1200px;
  margin: 0 auto;
}

.collage-cell {
  position: relative;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(201,168,76,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s;
}

.collage-cell:hover { border-color: rgba(201,168,76,0.4); }

.collage-cell.tall { grid-row: span 2; }

.collage-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.collage-cell:hover img { transform: scale(1.04); }

.collage-cell-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  position: relative;
}

.collage-cell-ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(201,168,76,0.025) 0,
    rgba(201,168,76,0.025) 1px,
    transparent 0,
    transparent 10px
  );
}

.collage-ph-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px dashed rgba(201,168,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.collage-ph-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(201,168,76,0.3);
  text-align: center;
  position: relative;
  z-index: 1;
  line-height: 1.8;
  padding: 0 12px;
}

.collage-cell-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}

.collage-cell:hover .collage-cell-overlay { opacity: 1; }

.collage-overlay-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ================================================================
   FAMILY
   ================================================================ */
#family { background: #111; }

.family-intro {
  max-width: 700px;
  margin-bottom: 72px;
}

.family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}

.family-card {
  background: var(--charcoal);
  border: 1px solid rgba(201,168,76,0.15);
  padding: 36px 28px;
  position: relative;
  transition: border-color 0.3s;
}

.family-card:hover { border-color: rgba(201,168,76,0.4); }

.family-card-role {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.family-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 16px;
}

.family-card-bio {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(247,244,238,0.62);
}

.family-card-highlight {
  display: inline-block;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--gold);
  border-top: 1px solid rgba(201,168,76,0.2);
  padding-top: 14px;
  width: 100%;
}

/* ================================================================
   CIRCLE OF FRIENDS  (formerly "Connections")
   ================================================================ */
#circle {
  background: var(--charcoal);
}

.circle-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 24px;
}

.circle-tabs {
  display: flex;
  gap: 4px;
}

.tab-btn {
  padding: 10px 22px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(201,168,76,0.25);
  color: rgba(247,244,238,0.5);
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

.circle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

/* ── HOW TO ADD A FRIEND CARD ────────────────────────────────
   Copy one of the .friend-card blocks in index.html and fill in:
     data-category  — one of: tech | politics | business | entertainment
     .friend-avatar — replace the placeholder div with:
                      <img src="images/your-photo.jpg" alt="Name with Phillip">
     .friend-name   — Person's name
     .friend-role   — Their field / title
     .friend-desc   — A sentence or two about the connection
   ─────────────────────────────────────────────────────────── */
.friend-card {
  border: 1px solid rgba(201,168,76,0.12);
  background: #111;
  padding: 0 0 24px;
  text-align: center;
  transition: border-color 0.3s, transform 0.2s;
  overflow: hidden;
}

.friend-card:hover {
  border-color: rgba(201,168,76,0.35);
  transform: translateY(-4px);
}

/* Photo area — landscape 4:3 ratio */
.friend-avatar {
  width: 100%;
  aspect-ratio: 4/3;
  border-bottom: 1px solid rgba(201,168,76,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d0d0d;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.friend-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.friend-card:hover .friend-avatar img { transform: scale(1.04); }

/* Placeholder shown when no image is present */
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  position: relative;
}

.photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(201,168,76,0.03) 0,
    rgba(201,168,76,0.03) 1px,
    transparent 0,
    transparent 8px
  );
}

.ph-icon-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px dashed rgba(201,168,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.ph-icon-ring svg { opacity: 0.25; }

.ph-caption {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(201,168,76,0.35);
  position: relative;
  z-index: 1;
  text-align: center;
  line-height: 1.7;
}

.ph-caption strong {
  display: block;
  font-size: 9px;
  color: rgba(201,168,76,0.2);
  font-weight: 400;
  letter-spacing: 1px;
}

.friend-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 6px;
  padding: 0 16px;
}

.friend-role {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 1px;
  font-weight: 500;
  margin-bottom: 12px;
  padding: 0 16px;
}

.friend-desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(247,244,238,0.5);
  line-height: 1.6;
  padding: 0 20px;
}

.add-photo-note {
  font-size: 11px;
  color: rgba(201,168,76,0.4);
  font-style: italic;
  text-align: center;
  margin-top: 40px;
  letter-spacing: 1px;
}

/* ================================================================
   PHILOSOPHY PULL QUOTE
   ================================================================ */
#philosophy {
  background: #0d0d0d;
  padding: 120px 60px;
  text-align: center;
}

.philosophy-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3.5vw, 42px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--off-white);
  max-width: 900px;
  margin: 0 auto 32px;
}

.philosophy-quote em { color: var(--gold); font-weight: 700; }

.philosophy-attr {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(201,168,76,0.6);
}

/* ================================================================
   CONTACT
   ================================================================ */
#contact {
  background: #111;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-social {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.2s;
}

.social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

.contact-form-area {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form-area input,
.contact-form-area textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--off-white);
  padding: 16px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}

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

.contact-form-area input::placeholder,
.contact-form-area textarea::placeholder {
  color: rgba(247,244,238,0.3);
  letter-spacing: 1px;
}

.submit-btn {
  padding: 16px 40px;
  background: var(--gold);
  border: none;
  color: var(--charcoal);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s;
}

.submit-btn:hover { background: var(--gold-light); }

/* ================================================================
   FOOTER
   ================================================================ */
footer {
  background: #0a0a0a;
  padding: 32px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(201,168,76,0.12);
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: var(--gold);
  letter-spacing: 2px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(247,244,238,0.3);
  letter-spacing: 1px;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  :root { --section-pad: 72px 28px; }
  nav { padding: 16px 28px; }
  .nav-links { gap: 20px; }
  #hero { padding: 100px 28px 280px; }
  .hero-stats { right: 28px; bottom: 60px; flex-direction: row; align-items: flex-end; gap: 24px; }
  .hero-stat-num { font-size: 36px; }
  .hero-rule { display: none; }
  #story, #contact { grid-template-columns: 1fr; gap: 48px; }
  .story-image-frame { display: none; }
  .collage-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px; }
  .collage-cell.tall { grid-row: span 1; }
  #collage { padding: 60px 28px; }
  footer { flex-direction: column; gap: 12px; text-align: center; }
}
