/* ===== COLORS: change these to restyle the whole site ===== */
:root {
  --sky: #EEF3F8;    /* page background, soft morning blue */
  --ink: #1B2A4A;    /* main text, deep navy */
  --muted: #4E5D7A;  /* softer text */
  --dawn: #F2A7A0;   /* sunrise pink */
  --sun: #F6C66B;    /* sunrise gold */
  --sea: #2F7F86;    /* Biscayne Bay teal, used for links */

  /* Folder colors on the Personal page */
  --folder-pink: #F4CFCB;
  --folder-peach: #F3D9BE;
  --folder-blue: #CBDAE6;
  --folder-gold: #F5E3B3;
}

/* ===== BASICS ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  background: var(--sky);
  color: var(--ink);
}

h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', 'Helvetica Neue', sans-serif;
  line-height: 1.1;
}

a {
  color: var(--sea);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--sea);
  outline-offset: 3px;
}

section {
  padding: 5rem 6vw;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
}

/* ===== NAVIGATION ===== */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 6vw;
  position: relative;
  z-index: 2;
}

.logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}

nav a {
  margin-left: 1.5rem;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

nav a:hover,
nav a.active {
  color: var(--sea);
}

nav a.active {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 80vh;
  padding: 0 6vw 4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

/* The rising sun behind your name */
.sun {
  position: absolute;
  right: -5vw;
  bottom: -20%;
  width: min(70vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sun) 0%, var(--dawn) 70%);
  animation: rise 1.6s ease-out both;
}

@keyframes rise {
  from { transform: translateY(30%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}

.hero h1 {
  position: relative;
  max-width: 10ch;
  font-size: clamp(3.5rem, 12vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.tagline {
  position: relative;
  max-width: 38ch;
  margin-top: 1.25rem;
  font-size: clamp(1.15rem, 2.3vw, 1.4rem);
}

/* ===== ABOUT ===== */
.about > p {
  max-width: 62ch;
  margin-bottom: 1.5rem;
}

.more-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--sun);
}

.more-link:hover {
  color: var(--ink);
}

/* ===== EXPERIENCE ===== */
.experience {
  background: var(--ink);
  color: var(--sky);
}

.group {
  margin-top: 3.5rem;
}

.group h3 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--sun);
  margin-bottom: 0.5rem;
}

.entry {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0.5rem 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(238, 243, 248, 0.25);
}

.entry h4 {
  font-size: 1.2rem;
}

.org {
  color: var(--dawn);
  font-weight: 500;
}

.date {
  font-size: 0.95rem;
  opacity: 0.7;
}

.entry > p {
  max-width: 60ch;
}

.experience a {
  color: var(--sun);
  font-weight: 600;
}

/* ===== CONTACT ===== */
.contact p {
  max-width: 55ch;
  margin-bottom: 1.5rem;
}

.button {
  display: inline-block;
  margin-right: 1rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--sky);
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: var(--sea);
}

/* ================================================= */
/* ===== PERSONAL PAGE ============================= */
/* ================================================= */

.page-title {
  text-align: center;
  font-size: clamp(2.75rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.values-section {
  padding-top: 2rem;
}

/* The circle of values around your photo */
.orbit {
  position: relative;
  width: min(100%, 680px);
  aspect-ratio: 1;
  margin: 1rem auto 0;
}

.portrait {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44%;
  transform: translate(-50%, -50%);
}

.portrait img {
  display: block;
  width: 100%;
  border-radius: 50%;
  background: white;
  box-shadow: 0 12px 40px rgba(27, 42, 74, 0.15);
}

/* LinkedIn badge sitting on top of the photo */
.linkedin-badge {
  position: absolute;
  right: 4%;
  bottom: 6%;
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 3px solid var(--sky);
  background: var(--ink);
  color: white;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.linkedin-badge:hover {
  background: var(--sea);
  transform: scale(1.08);
}

.values {
  list-style: none;
}

.values li {
  position: absolute;
  transform: translate(-50%, -50%) rotate(var(--tilt));
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: white;
  box-shadow: 0 4px 14px rgba(27, 42, 74, 0.1);
  font-weight: 600;
  white-space: nowrap;
  animation: float 5s ease-in-out infinite;
}

.values span {
  margin-right: 0.3rem;
}

/* Where each value sits around the photo (left = across, top = down) */
.v1 { left: 50%; top: 7%;  --tilt: -2deg; animation-delay: 0s; }
.v2 { left: 82%; top: 20%; --tilt: 3deg;  animation-delay: -0.6s; }
.v3 { left: 88%; top: 50%; --tilt: -3deg; animation-delay: -1.2s; }
.v4 { left: 80%; top: 80%; --tilt: 2deg;  animation-delay: -1.8s; }
.v5 { left: 50%; top: 93%; --tilt: -1deg; animation-delay: -2.4s; }
.v6 { left: 20%; top: 80%; --tilt: 3deg;  animation-delay: -3s; }
.v7 { left: 13%; top: 50%; --tilt: -2deg; animation-delay: -3.6s; }
.v8 { left: 18%; top: 20%; --tilt: 2deg;  animation-delay: -4.2s; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -6px; }
}

/* ===== FOLDERS ===== */
.folders-section h2 {
  text-align: center;
}

.folder-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 2.5rem;
  margin-bottom: 2.5rem;
}

.breadcrumb {
  color: var(--muted);
  font-weight: 500;
}

.back-button {
  font: inherit;
  font-weight: 600;
  color: var(--sea);
  background: none;
  border: 2px solid var(--sea);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  cursor: pointer;
}

.back-button:hover {
  background: var(--sea);
  color: white;
}

.folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 240px));
  justify-content: center;
  gap: 3rem 1.75rem;
  padding-top: 1.5rem;
}

/* One folder, with a tab on top like a real file folder */
.folder {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: none;
  border-radius: 0 14px 14px 14px;
  font: inherit;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(27, 42, 74, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.folder::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  width: 45%;
  height: 20px;
  border-radius: 12px 12px 0 0;
  background: inherit;
}

.folder:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 14px 28px rgba(27, 42, 74, 0.16);
}

.folder.pink  { background: var(--folder-pink); }
.folder.peach { background: var(--folder-peach); }
.folder.blue  { background: var(--folder-blue); }
.folder.gold  { background: var(--folder-gold); }

.folder-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.folder-icon-img {
  width: 70px;
  height: auto;
}

/* Photo grid inside folders */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}

/* The camera album shows whole photos in a staggered layout */
.gallery.album {
  display: block;
  columns: 3 260px;
  column-gap: 1rem;
  max-width: 1100px;
}

.gallery.album img {
  aspect-ratio: auto;
  margin-bottom: 1rem;
  break-inside: avoid;
}

.gallery img {
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.gallery img:hover {
  transform: scale(1.02);
}

/* Click-to-enlarge photo */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(27, 42, 74, 0.88);
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.5rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

/* "Follow me on Strava" card */
.strava-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 460px;
  margin: 0 auto;
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  background: #FC4C02;  /* Strava orange */
  color: white;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(252, 76, 2, 0.3);
  transition: transform 0.2s ease;
}

.strava-card:hover {
  transform: translateY(-4px);
}

.strava-logo {
  font-size: 2.5rem;
}

.strava-card strong {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.4rem;
}

.strava-card small {
  font-size: 1rem;
  opacity: 0.9;
}

/* Studio lists (Pilates, Yoga, Other) */
.spots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.spot-group {
  min-width: 240px;
  padding: 1.75rem 2rem;
  background: white;
  border-top: 8px solid var(--folder-peach);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(27, 42, 74, 0.08);
}

.spot-group h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.spot-group ul {
  list-style: none;
}

.spot-group li {
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(27, 42, 74, 0.15);
}

.spot-group li:last-child {
  border-bottom: none;
}

.empty {
  text-align: center;
  color: var(--muted);
  font-style: italic;
}

/* The personality "paper" inside its folder */
.paper {
  max-width: 62ch;
  margin: 0 auto;
  padding: 2.5rem;
  background: white;
  border-top: 10px solid var(--folder-blue);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(27, 42, 74, 0.08);
}

.paper h3 {
  font-size: 1.35rem;
  margin: 1.75rem 0 0.75rem;
}

.letters dt {
  font-weight: 600;
  margin-top: 0.5rem;
}

.letters dd {
  color: var(--muted);
}

.strengths {
  list-style: none;
}

.strengths li {
  margin-bottom: 0.75rem;
}

/* ===== FOOTER ===== */
footer {
  padding: 2rem 6vw;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ===== PHONES ===== */
@media (max-width: 700px) {
  .entry {
    grid-template-columns: 1fr;
  }
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
  nav a {
    margin-left: 0;
    margin-right: 1.25rem;
  }

  /* On small screens, values wrap below the photo instead of circling it */
  .orbit {
    aspect-ratio: auto;
  }
  .portrait {
    position: relative;
    top: auto;
    left: auto;
    width: 70%;
    margin: 0 auto 2rem;
    transform: none;
  }
  .values {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }
  .values li {
    position: static;
    transform: rotate(var(--tilt));
  }
}

/* Turn off animation for people who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .sun,
  .values li { animation: none; }
  .folder,
  .linkedin-badge { transition: none; }
  html { scroll-behavior: auto; }
}
