/* ══════════════════════════════════════════════════════
   YourName Theme — Main Stylesheet
   All hover effects, animations & gradients live here.
══════════════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --teal:        #2ec4b6;
  --teal-dark:   #1a8f86;
  --teal-light:  #7eeade;
  --purple:      #7b2d8b;
  --purple-mid:  #a855c8;
  --purple-light:#d4a8e8;
  --ink:         #1a1025;
  --soft-white:  #f5f0fa;
  --mid:         #3d2b50;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--ink);
  color: var(--soft-white);
  overflow-x: hidden;
}

/* ── GRADIENT MESH BACKGROUND ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(46,196,182,0.13) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 90% 80%, rgba(168,85,200,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(123,45,139,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ══════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 3rem;
  background: rgba(26, 16, 37, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(46,196,182,0.15);
}

.nav-logo {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--teal), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,250,0.7);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

/* Hover underline that slides in */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--teal), var(--purple-mid));
  transition: width 0.3s;
}

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

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 3rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-name {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal) 30%, var(--purple-mid) 65%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245,240,250,0.85);
  max-width: 640px;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-tagline em {
  font-style: italic;
  color: var(--teal-light);
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

/* Buttons */
.btn {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-dark), var(--purple));
  color: var(--soft-white);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--teal), var(--purple-mid));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(46,196,182,0.25);
  color: var(--soft-white);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--teal-light);
  border: 1px solid rgba(46,196,182,0.4);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Decorative vertical line */
.hero-deco {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40vh;
  background: linear-gradient(to bottom, transparent, var(--teal), var(--purple-mid), transparent);
  opacity: 0.35;
}

/* ══════════════════════════════════════════════════════
   DIVIDER
══════════════════════════════════════════════════════ */
.ombre-rule {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--purple-mid), transparent);
  border: none;
  margin: 0;
}

/* ══════════════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════════════ */
.sections {
  position: relative;
  z-index: 1;
}

section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 3rem;
}

.section-label {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.section-heading {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--soft-white);
}

.section-heading span {
  background: linear-gradient(90deg, var(--teal), var(--purple-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-body p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(245,240,250,0.82);
  margin-bottom: 1.2rem;
}

.about-body p:last-child { margin-bottom: 0; }

.about-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value-card {
  border-left: 2px solid;
  padding: 1rem 1.5rem;
  background: rgba(46,196,182,0.04);
}

.value-card:nth-child(1) { border-color: var(--teal); }
.value-card:nth-child(2) { border-color: var(--purple-mid); }
.value-card:nth-child(3) { border-color: var(--teal-light); }

.value-card h4 {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--teal-light);
}

.value-card:nth-child(2) h4 { color: var(--purple-light); }

.value-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(245,240,250,0.7);
}

/* ══════════════════════════════════════════════════════
   FOCUS CARDS
══════════════════════════════════════════════════════ */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.focus-card {
  position: relative;
  padding: 2rem;
  border: 1px solid rgba(46,196,182,0.12);
  background: rgba(245,240,250,0.03);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.focus-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46,196,182,0.07), rgba(168,85,200,0.07));
  opacity: 0;
  transition: opacity 0.3s;
}

/* Hover: lift + glow + background reveal */
.focus-card:hover {
  border-color: rgba(46,196,182,0.35);
  transform: translateY(-4px);
}

.focus-card:hover::before { opacity: 1; }

.focus-number {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--teal), var(--purple-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.focus-card h3 {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--soft-white);
  position: relative; /* keeps text above ::before overlay */
}

.focus-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(245,240,250,0.65);
  position: relative;
}

/* ══════════════════════════════════════════════════════
   WRITING / POSTS
══════════════════════════════════════════════════════ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.post-card {
  position: relative;
  padding: 2rem;
  border-top: 2px solid rgba(46,196,182,0.2);
  transition: border-color 0.3s;
}

/* Hover: top border lights up */
.post-card:hover { border-top-color: var(--teal); }

.post-tag {
  display: inline-block;
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 0.75rem;
}

.post-card h3 {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--soft-white);
}

.post-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(245,240,250,0.62);
}

.post-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(46,196,182,0.3);
  transition: color 0.3s, border-color 0.3s;
}

.post-link:hover {
  color: var(--teal-light);
  border-color: var(--teal-light);
  text-decoration: none;
}

/* ══════════════════════════════════════════════════════
   CONNECT
══════════════════════════════════════════════════════ */
#connect { text-align: center; }
#connect .section-heading { margin-bottom: 1rem; }

.connect-sub {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(245,240,250,0.7);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

.connect-email {
  display: inline-block;
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--teal), var(--purple-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  border-bottom: 2px solid rgba(46,196,182,0.3);
  padding-bottom: 4px;
  transition: border-color 0.3s;
}

.connect-email:hover { border-color: var(--teal); }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.5rem 3rem;
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,250,0.3);
}

/* ══════════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.5rem; }
  .hero { padding: 7rem 1.5rem 3rem; }
  section { padding: 4rem 1.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-deco { display: none; }
}

/* ── FOOTER SOCIAL LINKS ── */
.footer-socials a {
  color: rgba(245,240,250,0.45);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-socials a:hover { color: var(--teal-light); }
