/* ================================================
   🌸 Neko Kawaii Theme — style.css
   Simple · Soft · Dreamy · Pastel
   ================================================ */

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

/* ── Variables ────────────────────────────────── */
:root {
  --pink:          #ffc0cb;
  --pink-dark:     #f48fb1;
  --pink-light:    #ffd6e0;
  --lavender:      #e8d5f5;
  --lavender-dark: #c39bd3;
  --cream:         #fffbfd;
  --white:         #ffffff;

  --text:          #5a3a4a;
  --text-soft:     #8a6070;
  --text-muted:    #b090a0;

  --grad-bg:       linear-gradient(160deg, #fff0f5 0%, #f0e4ff 50%, #ffd6e0 100%);
  --grad-button:   linear-gradient(135deg, #f48fb1 0%, #ce93d8 100%);
  --grad-heading:  linear-gradient(135deg, #f48fb1 0%, #c39bd3 100%);

  --shadow:        0 4px 20px rgba(244, 143, 177, 0.18);
  --shadow-hover:  0 8px 30px rgba(244, 143, 177, 0.30);

  --radius:        18px;
  --radius-pill:   999px;

  --font-display:  'Nunito', sans-serif;
  --font-body:     'Quicksand', sans-serif;
}

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

/* ── Base ─────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family:  var(--font-body);
  font-weight:  500;
  font-size:    1rem;
  line-height:  1.75;
  color:        var(--text);
  background:   var(--grad-bg);
  background-attachment: fixed;
  min-height:   100vh;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--pink-dark); color: var(--white); }

/* ── Scrollbar ────────────────────────────────── */
::-webkit-scrollbar        { width: 7px; }
::-webkit-scrollbar-track  { background: var(--pink-light); }
::-webkit-scrollbar-thumb  { background: var(--pink-dark); border-radius: var(--radius-pill); }

/* ── Typography ───────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.25;
  background:  var(--grad-heading);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 0.95rem; }

p {
  color:         var(--text-soft);
  max-width:     65ch;
  margin-bottom: 1rem;
}

p:last-child { margin-bottom: 0; }

a {
  color:           var(--pink-dark);
  font-weight:     600;
  text-decoration: none;
  transition:      color 0.2s, opacity 0.2s;
}

a:hover { color: var(--lavender-dark); opacity: 0.85; }

strong { font-weight: 700; color: var(--text); }
em     { font-style: italic; color: var(--lavender-dark); }
small  { font-size: 0.82rem; color: var(--text-muted); }

/* ── Layout ───────────────────────────────────── */
.container {
  width:     100%;
  max-width: 1100px;
  margin:    0 auto;
  padding:   0 1.5rem;
}

.section { padding: 4rem 0; }

/* ── Navbar ───────────────────────────────────── */
.navbar {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  padding:         0.85rem 2rem;
  background:      rgba(255, 240, 245, 0.80);
  backdrop-filter: blur(16px);
  border-bottom:   1px solid rgba(255, 192, 203, 0.30);
  box-shadow:      var(--shadow);
  position:        sticky;
  top:             0;
  z-index:         100;
}

.navbar__logo {
  font-family:   var(--font-display);
  font-size:     1.4rem;
  font-weight:   800;
  background:    var(--grad-button);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar__links {
  display:    flex;
  gap:        1.5rem;
  list-style: none;
}

.navbar__links a {
  font-size:     0.93rem;
  font-weight:   700;
  color:         var(--text-soft);
  padding:       0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  transition:    background 0.18s, color 0.18s;
}

.navbar__links a:hover,
.navbar__links a.active {
  background: rgba(255, 192, 203, 0.30);
  color:      var(--pink-dark);
}

/* ── Buttons ──────────────────────────────────── */
.btn {
  display:         inline-flex;
  align-items:     center;
  gap:             0.45rem;
  font-family:     var(--font-display);
  font-weight:     700;
  font-size:       0.95rem;
  padding:         0.65rem 1.75rem;
  border:          none;
  border-radius:   var(--radius-pill);
  cursor:          pointer;
  text-decoration: none;
  transition:      transform 0.18s, box-shadow 0.18s;
}

.btn:hover  { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn:active { transform: translateY(0);    box-shadow: var(--shadow); }

.btn--primary {
  background: var(--grad-button);
  color:      var(--white);
  box-shadow: var(--shadow);
}

.btn--secondary {
  background:  rgba(255, 192, 203, 0.22);
  color:       var(--pink-dark);
  border:      1.5px solid rgba(244, 143, 177, 0.40);
}

.btn--secondary:hover { background: rgba(255, 192, 203, 0.40); }

.btn--ghost {
  background:  transparent;
  color:       var(--lavender-dark);
  border:      1.5px solid var(--lavender);
}

.btn--ghost:hover { background: var(--lavender); color: var(--text); }

.btn--sm { font-size: 0.82rem; padding: 0.45rem 1.1rem; }
.btn--lg { font-size: 1.05rem; padding: 0.85rem 2.2rem; }

/* ── Card ─────────────────────────────────────── */
.card {
  background:    var(--white);
  border:        1px solid rgba(255, 192, 203, 0.35);
  border-radius: var(--radius);
  padding:       1.75rem;
  box-shadow:    var(--shadow);
  transition:    transform 0.22s, box-shadow 0.22s;
}

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

/* ── Images ───────────────────────────────────── */
img {
  max-width:     100%;
  height:        auto;
  display:       block;
  border-radius: var(--radius);
}

/* Soft framed image */
.img-frame {
  border:        3px solid var(--pink-light);
  border-radius: var(--radius);
  box-shadow:    var(--shadow);
  overflow:      hidden;
  transition:    box-shadow 0.22s, border-color 0.22s;
}

.img-frame:hover {
  box-shadow:   var(--shadow-hover);
  border-color: var(--pink-dark);
}

.img-frame img { border-radius: 0; }

/* Round avatar */
.avatar {
  width:         80px;
  height:        80px;
  border-radius: 50%;
  object-fit:    cover;
  border:        3px solid var(--pink-light);
  box-shadow:    var(--shadow);
  transition:    border-color 0.2s, box-shadow 0.2s;
}

.avatar:hover { border-color: var(--pink-dark); box-shadow: var(--shadow-hover); }
.avatar--sm   { width: 48px;  height: 48px; }
.avatar--lg   { width: 110px; height: 110px; border-width: 4px; }

/* Wide banner / hero image */
.img-banner {
  width:         100%;
  max-height:    420px;
  object-fit:    cover;
  border-radius: var(--radius);
  box-shadow:    var(--shadow);
}

/* ── Hero ─────────────────────────────────────── */
.hero {
  padding:        5rem 1.5rem;
  text-align:     center;
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            1.25rem;
}

.hero p { text-align: center; margin: 0 auto; }

/* ── Divider ──────────────────────────────────── */
hr, .divider {
  border:        none;
  height:        1.5px;
  background:    linear-gradient(90deg, transparent, var(--pink-light), transparent);
  margin:        2.5rem 0;
  border-radius: var(--radius-pill);
}

/* ── Badge ────────────────────────────────────── */
.badge {
  display:       inline-block;
  font-family:   var(--font-display);
  font-size:     0.78rem;
  font-weight:   700;
  padding:       0.2rem 0.8rem;
  border-radius: var(--radius-pill);
  background:    rgba(255, 192, 203, 0.40);
  color:         var(--pink-dark);
  border:        1px solid rgba(244, 143, 177, 0.30);
}

.badge--lavender {
  background:   rgba(232, 213, 245, 0.50);
  color:        var(--lavender-dark);
  border-color: rgba(195, 155, 211, 0.35);
}

/* ── Form inputs ──────────────────────────────── */
input, select, textarea {
  font-family:   var(--font-body);
  font-size:     0.95rem;
  font-weight:   500;
  color:         var(--text);
  background:    rgba(255, 255, 255, 0.85);
  border:        1.5px solid rgba(244, 143, 177, 0.35);
  border-radius: 12px;
  padding:       0.65rem 1rem;
  width:         100%;
  outline:       none;
  transition:    border-color 0.18s, box-shadow 0.18s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--pink-dark);
  box-shadow:   0 0 0 3px rgba(244, 143, 177, 0.20);
}

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

label {
  display:       block;
  font-family:   var(--font-display);
  font-size:     0.88rem;
  font-weight:   700;
  color:         var(--text-soft);
  margin-bottom: 0.35rem;
}

/* ── Footer ───────────────────────────────────── */
.footer {
  text-align:  center;
  padding:     2.5rem 1.5rem;
  border-top:  1px solid rgba(255, 192, 203, 0.30);
  color:       var(--text-muted);
  font-size:   0.85rem;
}

/* ── Utility ──────────────────────────────────── */
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.mt-sm { margin-top: 0.75rem; }
.mt-md { margin-top: 1.5rem;  }
.mt-lg { margin-top: 2.5rem;  }
.mb-sm { margin-bottom: 0.75rem; }
.mb-md { margin-bottom: 1.5rem;  }
.mb-lg { margin-bottom: 2.5rem;  }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 600px) {
  .navbar        { padding: 0.75rem 1rem; }
  .navbar__links { gap: 0.85rem; }
  .hero          { padding: 3rem 1rem; }
  .section       { padding: 2.5rem 0; }
}

/* ── Reduced motion ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
