/*
 Theme Name:   Hello Alka Child
 Theme URI:    https://dv-alka.sinjski-informacijski-sustav.xyz
 Description:  Child tema za Dječji vrtić Alka (nasljeđuje Hello Elementor)
 Author:       DV Alka
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hello-alka-child
*/

:root {
  --alka-primary: #2d7d5f;
  --alka-primary-dark: #1e5c45;
  --alka-primary-light: #e8f5f0;
  --alka-accent: #f0a500;
  --alka-text: #1a1a2e;
  --alka-text-light: #555;
  --alka-bg: #ffffff;
  --alka-bg-alt: #f7faf9;
  --alka-border: #e0e8e4;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--alka-text);
  line-height: 1.6;
  background: var(--alka-bg);
}

/* ── NAV (staticki, zelen) ─────────────────── */
.alka-nav {
  background: #fff;
  padding: 0.8rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.alka-nav .logo { height: 56px; }
.alka-nav-links { display: flex; gap: 0.2rem; list-style: none; }
.alka-nav-links a {
  color: var(--alka-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  padding: .5rem 1.1rem;
  border-radius: 24px;
  transition: background .2s, color .2s;
}
.alka-nav-links a:hover,
.alka-nav-links a.active {
  background: var(--alka-primary);
  color: #fff;
}

/* ── HERO (puna boja + val na dnu, pune širine) ── */
.alka-hero {
  background: #287155;
  color: #fff;
  text-align: center;
  padding: 4rem 0 0;
  position: relative;
  overflow: hidden;
}
/* Dekorativni krugovi na zelenoj pozadini */
.alka-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 3px solid rgba(255,255,255,.12);
}
.alka-hero::after {
  content: "";
  position: absolute;
  bottom: 180px;
  left: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 3px solid rgba(255,255,255,.10);
}
.alka-hero-deco {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 3rem 2rem;
  font-size: 2.5rem;
  opacity: .9;
}
.alka-hero-deco span {
  display: block;
  animation: bob 3s ease-in-out infinite;
}
.alka-hero-deco span:nth-child(2) { animation-delay: .4s; }
.alka-hero-deco span:nth-child(3) { animation-delay: .8s; }
.alka-hero-deco span:nth-child(4) { animation-delay: 1.2s; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.alka-hero-places {
  position: absolute;
  top: 90px;
  left: 6%;
  z-index: 1;
  font-size: 2rem;
  opacity: .5;
}
.alka-hero-places span { display: block; animation: bob 4s ease-in-out infinite; }
.alka-hero-places span:nth-child(2) { animation-delay: .6s; }
.alka-hero-spots::before {
  content: "";
  position: absolute;
  left: -120px;
  bottom: 0;
  width: 240px;
  height: 240px;
  background-image: radial-gradient(rgba(255,255,255,.25) 2px, transparent 2px);
  background-size: 22px 22px;
  opacity: .5;
  z-index: 1;
}
.alka-hero-spots::after {
  content: "";
  position: absolute;
  left: 8%;
  top: 4%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  z-index: 1;
}
.alka-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2rem;
}
.alka-hero-spacer {
  height: 90px;
  margin-bottom: 1.2rem;
}
.alka-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: .8rem;
}
.alka-hero p {
  font-size: 1.3rem;
  opacity: .95;
  max-width: 620px;
  margin: 0 auto 2rem;
}
.alka-hero-cta {
  display: inline-block;
  background: var(--alka-accent);
  color: #fff;
  padding: .85rem 2.2rem;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  margin-bottom: 3rem;
  transition: transform .2s, box-shadow .2s;
}
.alka-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
}
.alka-wave {
  line-height: 0;
  position: relative;
}
.alka-wave svg {
  display: block;
  width: 100%;
  height: 200px;
  margin-bottom: -1px;
}

/* ── SEKCJIE ──────────────────────────────── */
.alka-section { padding: 4rem 2rem; }
.alka-section.alt { background: var(--alka-bg-alt); }
.alka-container { max-width: 1000px; margin: 0 auto; }
.alka-section h2 {
  font-size: 1.8rem;
  color: var(--alka-primary);
  text-align: center;
  margin-bottom: .3rem;
}
.alka-section .alka-sub {
  text-align: center;
  color: var(--alka-accent);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}
.alka-section p { font-size: 1.05rem; color: var(--alka-text-light); }

/* ── 4 KARTICE (dobne skupine) ────────────── */
.alka-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.alka-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 3px 16px rgba(0,0,0,.06);
  border: 1px solid var(--alka-border);
  transition: transform .2s, box-shadow .2s;
}
.alka-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.alka-card img { width: 64px; height: 64px; margin-bottom: 1rem; }
.alka-card h3 { color: var(--alka-primary); margin-bottom: .4rem; font-size: 1.05rem; }
.alka-card .age { font-size: .85rem; color: var(--alka-accent); font-weight: 600; }

/* ── O NAMA (dvije kolone) ────────────────── */
.alka-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}
.alka-about-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.alka-about-img img { width: 100%; display: block; }
.alka-about-text p { margin-bottom: 1rem; }
.alka-about-text ul { list-style: none; margin-top: 1rem; }
.alka-about-text li { padding: .45rem 0; font-size: 1rem; color: var(--alka-text-light); }
.alka-about-text li::before { content: "✓ "; color: var(--alka-primary); font-weight: 700; }

/* ── USKORO / MULJIKA ────────────────────── */
.alka-uskoro {
  background: linear-gradient(135deg, #f0f7f4 0%, #e0f0ea 100%);
  border-radius: 20px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  border: 2px dashed var(--alka-primary);
  max-width: 1000px;
  margin: 2.5rem auto 0;
}
.alka-uskoro .icon { font-size: 3rem; margin-bottom: 1rem; }
.alka-uskoro h3 { font-size: 1.5rem; color: var(--alka-primary); margin-bottom: .6rem; }
.alka-uskoro p { color: var(--alka-text-light); max-width: 600px; margin: 0 auto; }

/* ── NATJECANJA ───────────────────────────── */
.alka-natjecanje {
  background: #fffbe6;
  border-left: 4px solid var(--alka-accent);
  border-radius: 10px;
  padding: 1.8rem 2rem;
  margin-bottom: 1.2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.alka-natjecanje h3 { color: var(--alka-text); margin-bottom: .3rem; }
.alka-natjecanje .meta { font-size: .85rem; color: var(--alka-text-light); margin-bottom: .5rem; }
.alka-natjecanje p { margin-bottom: .5rem; }
.alka-natjecanje a {
  display: inline-block;
  margin-top: .5rem;
  color: var(--alka-primary);
  font-weight: 700;
  text-decoration: none;
}
.alka-natjecanje a:hover { text-decoration: underline; }

/* ── KONTAKT ──────────────────────────────── */
.alka-kontakt {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.alka-kontakt-item {
  text-align: center;
  background: #fff;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  box-shadow: 0 3px 14px rgba(0,0,0,.05);
}
.alka-kontakt-item .icon { font-size: 1.8rem; margin-bottom: .6rem; }
.alka-kontakt-item h4 { color: var(--alka-primary); margin-bottom: .5rem; }
.alka-kontakt-item p, .alka-kontakt-item a {
  color: var(--alka-text-light);
  font-size: .95rem;
  line-height: 1.7;
  text-decoration: none;
}

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 768px) {
  .alka-nav { flex-direction: column; gap: .6rem; padding: .8rem 1rem; }
  .alka-nav-links { flex-wrap: wrap; justify-content: center; gap: .1rem; }
  .alka-nav-links a { padding: .4rem .8rem; font-size: .82rem; }
  .alka-hero h1 { font-size: 2rem; }
  .alka-hero p { font-size: 1.1rem; }
  .alka-hero-deco { font-size: 1.8rem; padding: 0 1rem 1rem; }
  .alka-hero-places { top: 120px; font-size: 1.4rem; }
  .alka-about { grid-template-columns: 1fr; }
  .alka-section { padding: 3rem 1.5rem; }
  .alka-wave svg { height: 70px; }
}
