/* ============================================
   DEVIN TRYAN - Personal Brand Website v2
   Inspired by ShelbySapp.com + DanMartell.com
   Clean, personal, bold, intimate
   ============================================ */

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

:root {
  /* Gold — primary accent */
  --accent: #c8a44e;
  --accent-hover: #b8943e;
  --accent-light: rgba(200,164,78,0.1);
  /* Emerald — secondary accent */
  --emerald: #2d8a5e;
  --emerald-dark: #1a5c3c;
  --emerald-light: rgba(45,138,94,0.06);
  --emerald-tint: #f0f7f3;
  /* Core palette */
  --primary: #0b0f14;
  --white: #ffffff;
  --off-white: #faf9f6;
  --cream: #f4f1eb;
  --light-gray: #f0eeea;
  --mid-gray: #7a7a7a;
  --dark-gray: #161b22;
  --text: #1a1a1a;
  --text-soft: #555555;
  --text-light: #b0b0b0;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow: 0 8px 40px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --transition: all 0.3s ease;
  --radius: 12px;
  --radius-lg: 20px;
}

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

body {
  font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 28px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: clamp(2.8rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
h4 { font-size: 1.15rem; font-family: 'DM Sans', sans-serif; font-weight: 700; }

.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.85;
  color: var(--text-soft);
}

.text-accent { color: var(--accent); }

em { font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  border: none;
  border-radius: 60px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 164, 78, 0.35);
}

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

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
}
.btn-outline-dark:hover {
  background: var(--text);
  color: var(--white);
}

.btn-arrow::after {
  content: ' \2192';
  transition: transform 0.3s ease;
}

.btn-sm { padding: 12px 28px; font-size: 0.85rem; }
.btn-lg { padding: 20px 48px; font-size: 1.05rem; }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.navbar.dark-nav { background: transparent; }
.navbar.dark-nav.scrolled { background: rgba(11,15,20,0.95); }

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.logo-light { color: var(--white); }
.logo-light span { color: var(--accent); }
.logo-dark { color: var(--text); }
.logo-dark span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}

.nav-links-light a { color: rgba(255,255,255,0.7); }
.nav-links-light a:hover { color: var(--white); }
.nav-links-dark a { color: var(--text-soft); }
.nav-links-dark a:hover { color: var(--text); }

.nav-cta {
  padding: 10px 24px !important;
  background: var(--accent) !important;
  color: var(--white) !important;
  border-radius: 50px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; transform: translateY(-1px); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

.dark-nav .mobile-menu-btn span { background: var(--white); }

/* ---------- Hero — Homepage ---------- */
.hero-split {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--primary);
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 60px 80px 0;
  padding-left: max(28px, calc((100vw - 1140px) / 2 + 28px));
}

.hero-text h1 {
  color: var(--white);
  margin-bottom: 24px;
  max-width: 560px;
}

.hero-text h1 em { color: var(--accent); }

.hero-text .lead {
  color: var(--text-light);
  max-width: 480px;
  margin-bottom: 36px;
  font-size: 1.15rem;
}

.hero-text .personal-note {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 24px;
}

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

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, #1a2030 0%, #2a3040 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-gray);
  font-size: 0.95rem;
  text-align: center;
  padding: 24px;
}

/* ---------- Social Proof Bar ---------- */
.proof-bar {
  background: var(--emerald-dark);
  padding: 48px 0;
}

.proof-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
}

.proof-item {
  text-align: center;
}

.proof-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  display: block;
}

.proof-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  margin-top: 4px;
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-dark { background: var(--primary); }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }

.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-header.center { text-align: center; margin-left: auto; margin-right: auto; }

.section-header p {
  color: var(--text-soft);
  font-size: 1.1rem;
  margin-top: 16px;
  line-height: 1.8;
}

/* ---------- Personal Story Block ---------- */
.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--cream);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-gray);
  font-size: 0.9rem;
  text-align: center;
  padding: 24px;
}

.story-content h2 { margin-bottom: 20px; }

.story-content p {
  color: var(--text-soft);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.story-content p.bold-line {
  color: var(--text);
  font-weight: 600;
  font-size: 1.15rem;
}

.story-content .personal-voice {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  margin: 28px 0;
  padding-left: 24px;
  border-left: 3px solid var(--emerald);
}

/* ---------- Services / What I Do ---------- */
.services-flex {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--emerald);
}

.service-emoji {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

.service-card h4 { margin-bottom: 10px; }
.service-card p { color: var(--text-soft); font-size: 0.95rem; line-height: 1.7; }

/* ---------- Big Quote / Pull Quote ---------- */
.big-quote {
  text-align: center;
  padding: 100px 0;
  background: var(--emerald-dark);
}

.big-quote blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

.big-quote cite {
  display: block;
  margin-top: 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-style: normal;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: 100px 0;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-soft);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 36px;
}

/* Dark CTA */
.cta-dark {
  background: var(--primary);
}

.cta-dark h2 { color: var(--white); }
.cta-dark p { color: var(--text-light); }

/* ---------- Newsletter ---------- */
.newsletter-section {
  background: var(--emerald-tint);
  padding: 80px 0;
  text-align: center;
}

.newsletter-section h2 { margin-bottom: 12px; }
.newsletter-section p { color: var(--text-soft); max-width: 500px; margin: 0 auto 28px; }

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 24px;
  border: 2px solid #d8d4cc;
  border-radius: 50px;
  background: var(--white);
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: var(--transition);
  color: var(--text);
}

.newsletter-form input::placeholder { color: #aaa; }
.newsletter-form input:focus { border-color: var(--accent); }

.newsletter-fine-print {
  font-size: 0.8rem;
  color: var(--mid-gray);
  margin-top: 12px;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}

.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.testimonial-stars { color: var(--accent); font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 3px; }
.testimonial-card p { color: var(--text-soft); font-style: italic; margin-bottom: 20px; font-size: 0.95rem; line-height: 1.7; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
}

.testimonial-author-info strong { font-size: 0.9rem; display: block; }
.testimonial-author-info span { color: var(--mid-gray); font-size: 0.8rem; }

/* ---------- YouTube Section ---------- */
.youtube-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.youtube-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
  background: var(--white);
}

.youtube-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.youtube-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a2030, #2a3545);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon {
  width: 52px;
  height: 52px;
  background: rgba(200,164,78,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
}

.youtube-card:hover .play-icon { transform: scale(1.15); }

.youtube-card-body { padding: 18px 20px; }
.youtube-card-body h4 { font-size: 0.95rem; margin-bottom: 4px; }
.youtube-card-body p { color: var(--mid-gray); font-size: 0.8rem; }

/* ---------- Achievements Grid ---------- */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.achievement-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
}

.achievement-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--emerald);
  display: block;
}

.achievement-card h4 { margin-top: 8px; margin-bottom: 8px; }
.achievement-card p { color: var(--text-soft); font-size: 0.9rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--primary);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}

.footer-brand .logo { margin-bottom: 12px; display: inline-block; }
.footer-brand p { color: rgba(255,255,255,0.4); font-size: 0.9rem; max-width: 280px; line-height: 1.7; }

.footer-col h4 {
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  padding: 5px 0;
  transition: var(--transition);
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.8rem; }

.social-links { display: flex; gap: 14px; }

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--white);
}

/* ---------- Page Headers ---------- */
.page-hero {
  background: var(--primary);
  padding: 160px 0 80px;
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero h1 em { color: var(--accent); }
.page-hero p { color: var(--text-light); font-size: 1.15rem; max-width: 560px; margin: 0 auto; }

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #d8d4cc;
}

.timeline-item {
  padding-left: 40px;
  margin-bottom: 48px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--emerald);
}

.timeline-year {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.timeline-item h4 { margin-bottom: 6px; }
.timeline-item p { color: var(--text-soft); font-size: 0.95rem; }

/* ---------- Scale Page Specific ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 36px;
}

.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.pain-icon { color: var(--emerald); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }

/* Program Cards */
.program-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
  position: relative;
}

.program-card.featured {
  border: 2px solid var(--emerald);
  box-shadow: var(--shadow);
}

.program-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.program-card:hover { transform: translateY(-6px); }

.program-card h4 { font-size: 1.2rem; margin-bottom: 10px; }
.program-card .program-desc { color: var(--text-soft); font-size: 0.9rem; margin-bottom: 20px; }

.program-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
}

.program-list li .check { color: var(--accent); flex-shrink: 0; }

/* ---------- Apply Form ---------- */
.apply-form { max-width: 560px; margin: 0 auto; }

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid #d8d4cc;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  transition: var(--transition);
  outline: none;
  background: var(--white);
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}

.form-group textarea { min-height: 110px; resize: vertical; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-text { padding: 140px 28px 60px; }
  .hero-image { display: none; }
  .services-flex, .testimonials-grid, .youtube-grid, .achievements-grid, .program-cards { grid-template-columns: repeat(2, 1fr); }
  .story-block { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .proof-bar-inner { gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 24px 28px;
    gap: 16px;
    box-shadow: var(--shadow);
  }
  .dark-nav .nav-links.active { background: var(--primary); }
  .services-flex, .testimonials-grid, .youtube-grid, .achievements-grid, .program-cards { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .newsletter-form { flex-direction: column; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .proof-bar-inner { gap: 28px; }
  .proof-number { font-size: 1.8rem; }
  .big-quote blockquote { font-size: 1.4rem; padding: 0 20px; }
}

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Menu Active */
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
