/*
Theme Name: Ellie Cate
Theme URI: https://elliecate.com
Author: Codex
Description: A playful, pastel kids theme for Ellie Cate and Henry.
Version: 1.0.0
Text Domain: elliecate
*/

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

:root {
  --pink-1: #fde2f3;
  --pink-2: #f8c8e8;
  --pink-3: #f4a7d7;
  --peach: #ffd7b5;
  --mint: #c9f7e5;
  --sky: #bfe7ff;
  --sun: #ffe9a8;
  --ink: #3b2f3f;
  --card: #ffffff;
  --shadow: 0 12px 30px rgba(61, 32, 67, 0.12);
  --radius: 22px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: 'Nunito', system-ui, -apple-system, Segoe UI, sans-serif;
  background: radial-gradient(circle at 10% 10%, var(--sun), transparent 45%),
    radial-gradient(circle at 90% 15%, var(--mint), transparent 40%),
    linear-gradient(180deg, var(--pink-1), #fff 40%, var(--sky));
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 2px solid rgba(244, 167, 215, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Baloo 2', cursive;
  font-size: 1.4rem;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 700;
}

.nav-menu a {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(248, 200, 232, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-menu a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.hero {
  padding: 80px 0 40px;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/img/elliecate2.jpg') center/cover;
  opacity: 0.08;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-title {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  margin: 0 0 12px;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--pink-3);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.btn.alt {
  background: var(--mint);
  color: var(--ink);
}

.section {
  padding: 60px 0;
}

.section-title {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(1.8rem, 2.3vw, 2.6rem);
  margin: 0 0 20px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card img {
  border-radius: 16px;
  margin-bottom: 14px;
}

.profile {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.profile-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.profile-card h3 {
  font-family: 'Baloo 2', cursive;
  margin: 0 0 8px;
}

.gallery-placeholder {
  background: rgba(255, 255, 255, 0.7);
  border: 2px dashed var(--pink-3);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.news-list {
  display: grid;
  gap: 18px;
}

.news-item {
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow);
}

.news-item h3 {
  margin: 0 0 8px;
  font-family: 'Baloo 2', cursive;
}

.contact-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.contact-form {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 2px solid rgba(244, 167, 215, 0.4);
  margin-bottom: 14px;
  font-family: inherit;
}

.site-footer {
  padding: 30px 0 50px;
  text-align: center;
  font-size: 0.95rem;
}

.bubble {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  filter: blur(0.5px);
}

.bubble.one {
  top: -40px;
  right: 6%;
  background: rgba(255, 233, 168, 0.7);
}

.bubble.two {
  bottom: -60px;
  left: 4%;
  background: rgba(201, 247, 229, 0.7);
}

@media (max-width: 720px) {
  .nav-menu {
    justify-content: center;
  }

  .header-inner {
    flex-direction: column;
  }
}

/* WordPress core content */
.entry-content h2,
.entry-content h3 {
  font-family: 'Baloo 2', cursive;
}

.wp-block-image img {
  border-radius: 16px;
  box-shadow: var(--shadow);
}

/* Login branding */
body.login {
  background: linear-gradient(160deg, var(--pink-1), var(--mint));
}

.login #login h1 a {
  background-image: url('assets/img/elleicate_logo.png');
  background-size: contain;
  width: 220px;
  height: 120px;
}
