/* ===================================================
   LEV COOPER — Personal Brand Website
   Color palette derived from CCI Capital & Dynamic Well Service
   =================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --green-dark:   #228B22;
  --green-mid:    #4CAF50;
  --green-light:  #66BB6A;
  --green-pale:   #1a1a1a;
  --charcoal:     #111111;
  --charcoal-light: #1a1a1a;
  --white:        #FFFFFF;
  --off-white:    #0a0a0a;
  --text-dark:    #f0f0f0;
  --text-body:    #d0d0d0;
  --text-light:   #999999;
  --gold:         #228B22;
  --gold-light:   #4CAF50;
  --shadow:       0 4px 24px rgba(0,0,0,.3);
  --shadow-lg:    0 12px 40px rgba(0,0,0,.4);
  --radius:       8px;
  --radius-lg:    16px;
  --transition:   .3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-body);
  background: #0d0d0d;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -1px; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
p  { font-size: 1.05rem; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 12px;
}

.section-title { margin-bottom: 20px; }
.section-subtitle {
  max-width: 640px;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  font-family: inherit; font-weight: 700; font-size: .95rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--green-dark);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: #111111;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(13,13,13,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 12px rgba(0,0,0,.3);
  transition: background var(--transition);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 80px;
}

.nav-logo {
  font-size: 1.5rem; font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--green-dark); }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: .85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: rgba(255,255,255,.7);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--green-mid);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--green-dark) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius) !important;
  letter-spacing: 1px !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--green-mid) !important; }

/* Mobile nav toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--transition); }

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #000000 0%, #111111 60%, #0a2e0a 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1" width="100" height="100"/></svg>');
  background-size: 100px 100px;
}

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

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}
.hero h1 .highlight {
  color: var(--gold);
}

.hero p {
  color: rgba(255,255,255,.8);
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 540px;
  line-height: 1.8;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat h3 {
  color: var(--gold);
  font-size: 2.2rem;
  margin-bottom: 4px;
}
.hero-stat p {
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0;
}

/* ---------- Section Defaults ---------- */
.section { padding: 100px 0; }
.section-alt { background: #111111; }
.section-dark {
  background: var(--charcoal);
  color: var(--white);
}
.section-dark h2,
.section-dark h3 { color: var(--white); }
.section-dark .section-subtitle { color: rgba(255,255,255,.65); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-subtitle { margin: 0 auto; }

/* ---------- Cards ---------- */
.card {
  background: #1a1a1a;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,.06);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-body { padding: 32px; }
.card-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(34,139,34,.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--green-mid);
}
.card-body h3 { margin-bottom: 12px; }
.card-body p { color: var(--text-light); font-size: .95rem; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

/* ---------- About Preview (Home) ---------- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  width: 100%;
  aspect-ratio: 4/5;
  background: #1a1a1a;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--text-light);
  border: 2px dashed rgba(255,255,255,.1);
}

.about-text h2 { margin-bottom: 20px; }
.about-text p {
  margin-bottom: 16px;
  color: var(--text-light);
}
.about-text .btn { margin-top: 16px; }

/* ---------- Business Links Grid ---------- */
.business-card {
  text-align: center;
  padding: 48px 32px;
}
.business-card .card-icon {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  font-size: 2rem;
}
.business-card h3 { margin-bottom: 8px; }
.business-card p { margin-bottom: 24px; }
.business-card .btn { font-size: .8rem; padding: 10px 24px; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, #111111 0%, #0a2e0a 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.7); margin-bottom: 32px; font-size: 1.1rem; }
.cta-banner .btn { font-size: 1rem; }

/* ---------- Podcast List ---------- */
.podcast-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: #1a1a1a;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.06);
  transition: all var(--transition);
}
.podcast-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
}
.podcast-number {
  font-size: 2rem; font-weight: 900;
  color: var(--green-light);
  min-width: 48px; text-align: center;
}
.podcast-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.podcast-info p { font-size: .9rem; color: var(--text-light); margin-bottom: 0; }
.podcast-link {
  margin-left: auto;
  color: var(--green-dark);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}
.podcast-link:hover { color: var(--green-mid); }

/* ---------- Book Section ---------- */
.book-showcase {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.book-cover {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--charcoal) 0%, var(--green-dark) 100%);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.book-details h2 { margin-bottom: 16px; }
.book-details p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}
.book-details .btn { margin-top: 12px; }

/* ---------- Family Section ---------- */
.family-section {
  text-align: center;
}
.family-photo {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16/9;
  margin: 0 auto 40px;
  background: #1a1a1a;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--text-light);
  border: 2px dashed rgba(255,255,255,.1);
}
.family-section p {
  max-width: 700px; margin: 0 auto;
  color: var(--text-light);
  font-size: 1.1rem;
}

/* ---------- Social Links ---------- */
.social-links {
  display: flex; gap: 16px; align-items: center;
}
.social-link {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.7);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; line-height: 1.8; color: rgba(255,255,255,.5); }

.footer h4 {
  color: var(--white);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  font-size: .9rem;
  color: rgba(255,255,255,.5);
}
.footer ul a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: rgba(255,255,255,.4);
}

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: .9rem;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

/* ---------- Page Hero (Interior Pages) ---------- */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, #000000 0%, #111111 60%, #0a2e0a 100%);
  text-align: center;
}
.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}
.page-hero p {
  color: rgba(255,255,255,.7);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-info h3 { margin-bottom: 12px; }
.contact-info p { color: var(--text-light); margin-bottom: 32px; }

.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 24px;
}
.contact-item-icon {
  width: 44px; height: 44px; min-width: 44px;
  border-radius: 10px;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-dark);
  font-size: 1.1rem;
}
.contact-item h4 { font-size: .95rem; margin-bottom: 4px; }
.contact-item p { font-size: .9rem; margin-bottom: 0; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .85rem; font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color var(--transition);
  outline: none;
  background: #111111;
  color: var(--text-body);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,.3);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green-dark);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ---------- Timeline (About) ---------- */
.timeline { max-width: 700px; margin: 0 auto; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 20px; top: 0; bottom: 0;
  width: 2px; background: var(--green-pale);
}
.timeline-item {
  display: flex; gap: 24px; margin-bottom: 40px;
  position: relative;
}
.timeline-dot {
  width: 42px; height: 42px; min-width: 42px;
  border-radius: 50%;
  background: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: .75rem;
  z-index: 1;
}
.timeline-content h3 { margin-bottom: 4px; font-size: 1.1rem; }
.timeline-content p { color: var(--text-light); font-size: .95rem; }

/* ---------- Responsive ---------- */
@media (max-width: 968px) {
  .about-preview,
  .book-showcase,
  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .hero-stats { gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute; top: 80px; left: 0; width: 100%;
    background: #111111;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow);
    border-top: 1px solid rgba(255,255,255,.06);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; justify-content: center; }

  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  .podcast-item { flex-direction: column; text-align: center; }
  .podcast-link { margin-left: 0; }

  .section { padding: 60px 0; }
}
