/* ============================================
   BARA — chill capybara doodle vibes
   ============================================ */

:root {
  --sky: #A8D8EA;
  --sky-deep: #7FC0DA;
  --orange: #FF8B3D;
  --orange-soft: #FFB079;
  --ink: #2C3E50;
  --ink-soft: #4A6075;
  --cream: #FFF8EE;
  --white: #FFFFFF;
}

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

html, body {
  background: var(--sky);
  font-family: 'Patrick Hand', cursive;
  color: var(--ink);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 20% 10%, #BFE3F2 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, #B8DEEE 0%, transparent 40%),
    var(--sky);
  min-height: 100vh;
  position: relative;
}

/* ============ FLOATING DOODLE DECORATIONS ============ */
.sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.cloud {
  position: absolute;
  font-size: 60px;
  color: var(--white);
  opacity: 0.7;
  animation: float-cloud 60s linear infinite;
}
.cloud-1 { top: 6%;  left: -10%; animation-duration: 80s; font-size: 70px; }
.cloud-2 { top: 22%; left: -20%; animation-duration: 100s; font-size: 95px; }
.cloud-3 { top: 38%; left: -15%; animation-duration: 70s; font-size: 55px; }
.cloud-4 { top: 55%; left: -18%; animation-duration: 110s; font-size: 80px; }
.cloud-5 { top: 72%; left: -12%; animation-duration: 85s;  font-size: 65px; }
.cloud-6 { top: 88%; left: -16%; animation-duration: 95s;  font-size: 50px; }

@keyframes float-cloud {
  from { transform: translateX(0); }
  to   { transform: translateX(125vw); }
}

/* ============ MAIN LAYOUT ============ */
main {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

section {
  padding: 60px 0;
  text-align: center;
}

h2 {
  font-family: 'Caveat', cursive;
  font-size: 3rem;
  color: var(--ink);
  margin-bottom: 24px;
  transform: rotate(-2deg);
  display: inline-block;
}

p { font-size: 1.35rem; line-height: 1.6; max-width: 600px; margin: 0 auto 16px; }

/* ============ HERO ============ */
.hero {
  padding-top: 30px;
}

.logo {
  font-family: 'Caveat', cursive;
  font-size: clamp(7rem, 18vw, 14rem);
  font-weight: 700;
  letter-spacing: -4px;
  color: var(--ink);
  text-shadow:
    4px 4px 0 var(--orange),
    8px 8px 0 rgba(0,0,0,0.08);
  animation: wobble-logo 4s ease-in-out infinite;
  line-height: 0.9;
  margin-bottom: 20px;
}

@keyframes wobble-logo {
  0%, 100% { transform: rotate(-1deg); }
  50%      { transform: rotate(2deg); }
}

.pfp-wrap {
  display: inline-block;
  margin: 20px 0 30px;
  animation: bob 3s ease-in-out infinite;
}

.pfp {
  width: clamp(220px, 40vw, 360px);
  height: auto;
  border-radius: 50%;
  border: 6px solid var(--white);
  box-shadow:
    0 0 0 4px var(--ink),
    12px 12px 0 rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.pfp:hover { transform: rotate(-3deg) scale(1.03); }

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

.tagline {
  font-family: 'Caveat', cursive;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin: 20px 0 10px;
  transform: rotate(-1deg);
  color: var(--ink);
}

.sub {
  font-size: 1.3rem;
  color: var(--ink-soft);
  margin-bottom: 40px;
}

/* ============ BUTTONS ============ */
.cta-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn {
  font-family: 'Patrick Hand', cursive;
  font-size: 1.5rem;
  padding: 16px 36px;
  border: 4px solid var(--ink);
  border-radius: 50px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
  box-shadow: 6px 6px 0 var(--ink);
  transition: all 0.15s ease;
  cursor: pointer;
  transform: rotate(-1deg);
}
.btn:nth-child(2) { transform: rotate(1.5deg); }

.btn:hover {
  transform: rotate(0) translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--ink);
}
.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn-tw  { background: var(--white); }
.btn-dex { background: var(--orange); color: var(--white); }

/* ============ LORE ============ */
.lore p { font-size: 1.4rem; }
.lore p + p { margin-top: 16px; color: var(--orange); font-weight: 700; }

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 30px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.g-item {
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.2s ease;
}
.g-item:nth-child(1) { transform: rotate(-2deg); }
.g-item:nth-child(2) { transform: rotate(1.5deg); }

.g-item:hover { transform: rotate(0) scale(1.05); }

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

/* placeholder until images are added */
.g-item img[src*="bara-"]:not([src$=".png"]),
.g-item img:not([src]) {
  background: var(--sky-deep);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 600px) {
  main { padding: 40px 16px 60px; }
  .btn { font-size: 1.2rem; padding: 14px 26px; }
  .cloud { font-size: 40px; }
}
