/* =========================================================
   Grădinița Theme — Main Stylesheet
   Palette: Coral #F4694A | Sky #2FA9D6 | Sunflower #F7B23B | Leaf #5FA85A | Ink #2B2B33
   ========================================================= */

:root {
  --coral: #F4694A;
  --coral-dark: #C94F33;
  --sky: #2FA9D6;
  --sunflower: #F7B23B;
  --leaf: #5FA85A;
  --ink: #2B2B33;
  --muted: #6B6B76;
  --cream: #FFF6EF;
  --white: #FFFFFF;
  --lgreen: #a1d99b;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(0,0,0,0.08);
  --max-width: 1180px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, "Calibri", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--lgreen);
  line-height: 1.55;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Cambria", serif;
  margin: 0 0 0.5em;
  line-height: 1.2;
}

a { color: var(--coral-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark h2 { color: var(--white); }

.section__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 8px;
}

.section__title { font-size: 32px; font-weight: 700; }
.section__subtitle { color: var(--muted); font-size: 16px; max-width: 640px; margin-bottom: 40px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--lgreen);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-branding { display: flex; align-items: center; gap: 12px; }

.site-branding__logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  overflow: hidden;
}
.site-branding__logo img { width: 100%; height: 100%; object-fit: cover; }

.site-branding__name {
  font-family: Georgia, "Cambria", serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}

.main-navigation ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-navigation a {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--coral);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 860px) {
  .main-navigation { display: none; width: 100%; }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { flex-direction: column; gap: 4px; padding: 16px 0; }
  .main-navigation a { display: block; padding: 10px 0; }
  .site-header__inner { flex-wrap: wrap; }
  .menu-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: var(--lgreen);
  overflow: hidden;
  padding: 110px 0 130px;
  text-align: center;
}
.hero__decor {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.hero__decor--1 { width: 260px; height: 260px; top: -80px; left: -80px; }
.hero__decor--2 { width: 320px; height: 320px; bottom: -120px; right: -100px; }

.hero__content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.hero__title { font-size: 44px; font-weight: 700; margin-bottom: 18px; }
.hero__subtitle { font-size: 19px; font-style: italic; opacity: 0.95; margin-bottom: 36px; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  background: var(--lgreen);
  color: var(--coral-dark);
  box-shadow: var(--shadow);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn--outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--lgreen);
}

/* ---------- Cards / Grid generic ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

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

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--white);
  margin-bottom: 16px;
}
.icon-circle--coral { background: var(--coral); }
.icon-circle--sky { background: var(--sky); }
.icon-circle--sunflower { background: var(--sunflower); }
.icon-circle--leaf { background: var(--leaf); }

/* ---------- Despre noi ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } }

.about__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about__photo {
  border-radius: 12px;
  aspect-ratio: 4/3;
  background: var(--sky);
  overflow: hidden;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo:nth-child(2) { background: var(--coral); }
.about__photo:nth-child(3) { background: var(--sunflower); }
.about__photo:nth-child(4) { background: var(--leaf); }

/* ---------- Grupe ---------- */
.group-card {
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow);
}
.group-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 18px;
}
.group-card__name { font-size: 18px; font-weight: 700; }

.group-card--sunflower { background: var(--sunflower); }
.group-card--sky { background: var(--sky); }
.group-card--coral { background: var(--coral); }
.group-card--leaf { background: var(--leaf); }
.group-card--purple { background: #B186C8; }

/* ---------- Activități ---------- */
.activity-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.activity-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}
.activity-card__code { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.activity-card__desc { color: var(--muted); font-size: 14px; }

.optionale-banner {
  margin-top: 32px;
  font-style: italic;
  font-weight: 700;
  color: var(--coral-dark);
}

/* ---------- Plan tabel ---------- */
.plan-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.plan-table th {
  background: var(--coral);
  color: var(--white);
  padding: 12px 14px;
  text-align: left;
}
.plan-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #EDE5DD;
}
.plan-table tr.total-row td {
  background: var(--sunflower);
  color: var(--white);
  font-weight: 700;
}
.plan-table-wrap { overflow-x: auto; }

/* ---------- Galerie ---------- */
.gallery-card {
  border-radius: var(--radius);
  padding: 20px;
  color: var(--lgreen);
  text-align: center;
}
.gallery-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.gallery-card__tile {
  aspect-ratio: 1;
  background: rgba(255,255,255,0.25);
  border-radius: 8px;
  overflow: hidden;
}
.gallery-card__tile img { width: 100%; height: 100%; object-fit: cover; }
.gallery-card__label { font-weight: 700; font-size: 15px; }

.gallery-card--coral { background: var(--coral); }
.gallery-card--sunflower { background: var(--sunflower); }
.gallery-card--leaf { background: var(--leaf); }
.gallery-card--sky { background: var(--sky); }

/* ---------- Noutăți (blog) ---------- */
.post-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.post-card__thumb {
  aspect-ratio: 16/10;
  background: var(--cream);
  overflow: hidden;
}
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 20px; }
.post-card__date { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.post-card__title { font-size: 18px; margin: 8px 0; }
.post-card__title a { color: var(--ink); }
.post-card__excerpt { font-size: 14px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-card {
  background: #35353F;
  border-radius: var(--radius);
  padding: 24px;
}
.contact-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  margin-bottom: 14px;
}
.contact-card__title { color: var(--white); font-weight: 700; margin-bottom: 4px; }
.contact-card__text { color: #C9C9D2; font-size: 14px; }

.contact-map {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #2A4A3F;
  min-height: 320px;
}
.contact-map iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #C9C9D2;
  padding: 48px 0 24px;
  text-align: center;
  font-size: 14px;
}
.site-footer a { color: var(--sunflower); }
.site-footer__menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 0;
  margin: 0 0 20px;
}

/* ---------- Page / Blog defaults (for content not covered by templates) ---------- */
.page-content, .single-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px;
}
.page-content img, .single-content img { border-radius: 12px; }

.comments-area { max-width: 760px; margin: 0 auto 80px; padding: 0 24px; }

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  background: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
  z-index: 200;
}
