/* ============================================
   elliot's about-me site — v2: bubbly + colorful
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Quicksand:wght@400;500;600&display=swap');

:root {
  --blue: #8ab4e0;
  --maroon: #8a0303;
  --orange: #f2883d;
  --purple-deep: #3f1666;
  --purple-med: #7a4fa3;
  --cream: #fff6e9;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-image: url('bg-photo.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--cream);
  font-family: 'Quicksand', 'Segoe UI', sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* dark overlay so text stays readable over the photo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 35, 0.45);
  z-index: 0;
  pointer-events: none;
}

/* soft glow blobs floating in the background */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}

.blob-1 {
  width: 320px;
  height: 320px;
  background: var(--orange);
  top: -80px;
  right: -80px;
}

.blob-2 {
  width: 260px;
  height: 260px;
  background: var(--maroon);
  bottom: -60px;
  left: -60px;
}

/* ---------- bubble nav ---------- */
.bubble-nav {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 28px 16px;
}

.bubble-nav a {
  text-decoration: none;
  color: var(--cream);
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 12px 28px;
  border-radius: 999px;
  border: 2px solid rgba(255, 246, 233, 0.35);
  background: rgba(255, 246, 233, 0.1);
  backdrop-filter: blur(6px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.bubble-nav a:hover,
.bubble-nav a:focus-visible {
  transform: translateY(-4px) scale(1.05);
  background: var(--orange);
  border-color: var(--orange);
  color: var(--purple-deep);
  box-shadow: 0 6px 22px rgba(242, 136, 61, 0.5);
}

.bubble-nav a.current {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--maroon);
}

/* ---------- welcome hero ---------- */
.hero {
  position: relative;
  z-index: 2;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 20px;
}

.hero .eyebrow {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.75;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--cream);
  text-shadow: 4px 4px 0px var(--maroon), 8px 8px 0px rgba(0,0,0,0.15);
  line-height: 1;
  margin-bottom: 22px;
  animation: bounce 4s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

.hero p.tagline {
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  color: var(--cream);
  opacity: 0.9;
  font-size: 1.05rem;
  max-width: 420px;
  line-height: 1.6;
}

/* ---------- photo spot ---------- */
/* To use your own photo: replace "photo-placeholder.jpg" below (in the HTML)
   with your image filename, and upload that image file to the same folder. */
.photo-frame {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--cream);
  box-shadow: 0 0 0 5px var(--orange), 0 10px 30px rgba(0,0,0,0.35);
  margin-bottom: 26px;
  animation: float 6s ease-in-out infinite;
  background: var(--purple-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-frame .placeholder-text {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.75rem;
  color: var(--cream);
  opacity: 0.6;
  text-align: center;
  padding: 10px;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* ---------- page content wrapper (about/rules/socials) ---------- */
.page {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
  padding: 30px 24px 90px;
}

.page h2 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--cream);
  text-shadow: 3px 3px 0px var(--maroon);
  margin-bottom: 24px;
  text-align: center;
}

.page .divider {
  width: 70px;
  height: 4px;
  border-radius: 999px;
  background: var(--orange);
  margin: 0 auto 30px;
}

.page p, .page li {
  color: var(--cream);
  line-height: 1.75;
  font-size: 1rem;
  margin-bottom: 14px;
}

.page ul {
  list-style: none;
}

.page li {
  padding-left: 26px;
  position: relative;
}

.page li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 0.7rem;
  top: 7px;
}

/* ---------- socials cards ---------- */
.social-grid {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.social-card {
  display: block;
  text-decoration: none;
  color: var(--cream);
  border: 2px solid rgba(255, 246, 233, 0.3);
  background: rgba(255, 246, 233, 0.08);
  border-radius: 20px;
  padding: 16px 22px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.social-card:hover,
.social-card:focus-visible {
  transform: translateX(6px);
  border-color: var(--orange);
  background: rgba(242, 136, 61, 0.15);
}

.social-card .label {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.7;
  display: block;
  margin-bottom: 4px;
}

.social-card .handle {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--cream);
}

footer.sig {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 30px 20px 50px;
  color: var(--cream);
  opacity: 0.65;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

/* ---------- about page: photo strip + bio blocks ---------- */
.photo-strip {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 22px;
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 3px var(--orange), 0 8px 20px rgba(0,0,0,0.35);
  background: rgba(0,0,0,0.15);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.photo-strip .strip-pic {
  position: relative;
  width: 135px;
  height: 135px;
  border-radius: 14px;
  overflow: hidden;
}

.photo-strip .strip-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.strip-star {
  position: absolute;
  font-size: 1.1rem;
  color: var(--cream);
  text-shadow: 0 0 8px var(--orange);
  z-index: 3;
  pointer-events: none;
}

.bio-block {
  text-align: center;
  margin: 26px 0;
}

.bio-block p {
  text-align: center;
}

.inline-pic {
  display: block;
  max-width: 190px;
  width: 100%;
  margin: 22px auto;
  border-radius: 18px;
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 3px var(--orange), 0 8px 20px rgba(0,0,0,0.35);
}

.bio-block h3 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--orange);
  margin-bottom: 10px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
