/* Predškolska ustanova Čuperak — sajt */

:root{
  --cream:#FBF6EE;
  --cream-2:#F5EDE0;
  --ink:#211F1C;
  --ink-soft:#57534a;
  --gold:#E0A227;
  --coral:#E2775A;
  --purple:#8874C9;
  --maroon:#A9314F;
  --green:#2E9C6B;
  --blue:#63C6E8;
  --radius:22px;
  --shadow:0 14px 30px -12px rgba(33,31,28,0.18);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Nunito', system-ui, sans-serif;
  background:var(--cream);
  color:var(--ink);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Baloo 2', 'Nunito', sans-serif;
  font-weight:700;
  line-height:1.15;
  margin:0 0 .5em;
}
p{margin:0 0 1em;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.container{
  width:100%;
  max-width:1160px;
  margin:0 auto;
  padding:0 24px;
}
section{padding:80px 0;}
.eyebrow{
  display:inline-block;
  font-weight:800;
  font-size:.78rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#fff;
  background:var(--maroon);
  padding:8px 16px;
  border-radius:999px;
  margin-bottom:18px;
}
.section-head{max-width:680px;margin-bottom:40px;}
.section-head h2{font-size:clamp(1.8rem,3.6vw,2.6rem);}
.section-head p{color:var(--ink-soft);font-size:1.05rem;}
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 26px;
  border-radius:999px;
  font-weight:800;
  font-size:1rem;
  border:2px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease;
}
.btn:hover{transform:translateY(-2px);}
.btn-primary{background:var(--maroon);color:#fff;box-shadow:var(--shadow);}
.btn-ghost{background:transparent;border-color:var(--ink);color:var(--ink);}
.btn-light{background:#fff;color:var(--maroon);}

/* ===== Header ===== */
.topbar{
  background:var(--ink);
  color:#fff;
  font-size:.85rem;
}
.topbar .container{
  display:flex;
  justify-content:flex-end;
  gap:24px;
  padding-top:8px;
  padding-bottom:8px;
  flex-wrap:wrap;
}
.topbar a{opacity:.9;display:inline-flex;align-items:center;gap:6px;}
.topbar a:hover{opacity:1;text-decoration:underline;}

header.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(251,246,238,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(33,31,28,.08);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}
.brand{display:flex;align-items:center;gap:12px;font-family:'Baloo 2',sans-serif;font-weight:700;font-size:1.3rem;}
.brand img{width:44px;height:44px;border-radius:50%;}
.nav-links{display:flex;gap:28px;align-items:center;}
.nav-links a{font-weight:700;font-size:.95rem;color:var(--ink);}
.nav-links a:hover{color:var(--maroon);}
.nav-cta{display:flex;gap:12px;align-items:center;}
.lang-switch{
  font-weight:800;
  font-size:.9rem;
  padding:8px 14px;
  border-radius:999px;
  border:2px solid var(--ink);
  color:var(--ink);
}
.lang-switch:hover{background:var(--ink);color:#fff;}
.nav-cta .btn{padding:10px 20px;font-size:.9rem;}
.menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:6px;}
.menu-toggle span{display:block;width:26px;height:3px;background:var(--ink);margin:5px 0;border-radius:3px;}

/* ===== Hero ===== */
.hero{
  padding:64px 0 40px;
  position:relative;
  overflow:hidden;
}
.hero .container{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  position:relative;
}
.hero-logo{width:150px;height:150px;border-radius:50%;box-shadow:var(--shadow);margin-bottom:28px;}
.hero h1{font-size:clamp(2.4rem,6vw,4rem);}
.hero .sub{font-size:1.2rem;color:var(--ink-soft);font-weight:700;margin-bottom:6px;}
.hero .quote{
  color:var(--maroon);
  font-style:italic;
  font-weight:800;
  font-size:1.3rem;
  margin:18px 0 30px;
}
.hero-ctas{display:flex;gap:16px;flex-wrap:wrap;justify-content:center;margin-bottom:50px;}
.hero-kids{
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:-10px;
}
.hero-kids img{
  width:170px;height:auto;
  filter:drop-shadow(0 16px 20px rgba(33,31,28,.18));
}
.hero-kids img:nth-child(1){transform:translateY(18px);margin-right:-10px;align-self:flex-end;}
.hero-kids img:nth-child(2){width:220px;z-index:2;}
.hero-kids img:nth-child(3){transform:translateY(18px);margin-left:-10px;align-self:flex-end;}
.hero-caption{margin-top:22px;font-weight:700;color:var(--ink-soft);}

/* ===== Ko smo ===== */
.kosmo-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:40px;
  align-items:stretch;
}
.card-maroon{
  background:var(--maroon);
  color:#fff;
  border-radius:var(--radius);
  padding:44px;
  box-shadow:var(--shadow);
}
.card-maroon p{opacity:.95;}
.kosmo-photo{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);}
.kosmo-photo img{width:100%;height:100%;object-fit:cover;}
.icon-badge{
  width:54px;height:54px;border-radius:50%;
  background:#fff;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:18px;
}
.badges-row{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px;}
.badges-row .badge{
  display:flex;align-items:center;gap:10px;
  padding:12px 20px;border-radius:14px;
  font-weight:800;color:#fff;
}
.badge-icon{width:26px;height:26px;background:rgba(255,255,255,.25);border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}

/* ===== Feature rows (photo + text, alternating) ===== */
.feature-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:center;
  margin-bottom:56px;
}
.feature-row.reverse .feature-photo{order:2;}
.feature-row.reverse .feature-text{order:1;}
.feature-photo img{
  width:100%;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  object-fit:cover;
  aspect-ratio:4/3;
}
.feature-text{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:34px 38px;
}
.feature-text h3{font-size:1.5rem;margin-bottom:14px;}
.feature-text p{color:var(--ink-soft);}
.feature-text p:last-child{margin-bottom:0;}
.feature-text ul{margin:0 0 1em;padding-left:1.3em;color:var(--ink-soft);}
.feature-text ul li{margin-bottom:8px;}
.feature-text ul:last-child{margin-bottom:0;}
.group-feature .feature-text{background:var(--cream-2);}
.subsection-title{
  font-size:1.05rem;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--maroon);
  font-weight:800;
  margin:10px 0 28px;
}

/* group visual (age card with cutout photo) */
.group-feature .group-visual{
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  color:#fff;
  padding:30px 30px 0;
  display:flex;
  flex-direction:column;
  min-height:360px;
  overflow:hidden;
}
.group-visual .age{font-family:'Baloo 2',sans-serif;font-size:2.8rem;font-weight:700;line-height:1;}
.group-visual .age-label{font-weight:800;font-size:1.05rem;opacity:.95;margin-top:2px;}
.group-cutout{
  margin-top:auto;
  width:100%;
  max-height:300px;
  object-fit:contain;
  object-position:bottom;
  filter:drop-shadow(0 10px 14px rgba(0,0,0,.18));
}
.feature-text .badge-tag{
  display:inline-block;
  background:var(--cream-2);
  color:var(--ink);
  font-weight:800;
  font-size:.85rem;
  padding:6px 14px;
  border-radius:999px;
  margin-bottom:12px;
}

/* ===== Generic color card grid ===== */
.card-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:26px;
}
.card-grid.cols-3{grid-template-columns:repeat(3,1fr);}
.color-card{
  border-radius:var(--radius);
  padding:32px;
  color:#fff;
  box-shadow:var(--shadow);
  position:relative;
}
.color-card h3{font-size:1.3rem;margin-bottom:10px;}
.color-card p{opacity:.95;font-size:.98rem;margin-bottom:12px;}
.color-card p:last-child{margin-bottom:0;}
.color-card .icon-badge{background:#fff;}
.color-card .thumb{
  position:absolute;
  top:28px;right:28px;
  width:96px;height:110px;
  border-radius:14px;
  overflow:hidden;
  border:3px solid rgba(255,255,255,.85);
  box-shadow:0 8px 16px rgba(0,0,0,.18);
}
.color-card .thumb img{width:100%;height:100%;object-fit:cover;}
.color-card.has-thumb{padding-right:150px;}
.color-card.has-thumb h3{margin-top:8px;}

.bg-gold{background:var(--gold);}
.bg-coral{background:var(--coral);}
.bg-purple{background:var(--purple);}
.bg-maroon{background:var(--maroon);}
.bg-green{background:var(--green);}
.bg-blue{background:var(--blue);}

/* ===== Program section ===== */
.program-intro{
  background:var(--maroon);
  color:#fff;
  border-radius:var(--radius);
  padding:40px 44px;
  margin-bottom:30px;
  box-shadow:var(--shadow);
}
.program-intro .icon-badge{background:#fff;}
.program-intro h2{font-size:1.9rem;}
.program-intro p{opacity:.95;margin-bottom:14px;font-size:1.05rem;}
.program-intro p:last-child{margin-bottom:0;}
.tags-strip{margin-bottom:50px;}
.tags-strip > span:first-child{
  display:block;
  font-weight:800;
  letter-spacing:.06em;
  font-size:.85rem;
  text-transform:uppercase;
  color:var(--maroon);
  margin-bottom:16px;
}
.tags-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.tag-card{
  display:flex;
  align-items:center;
  gap:12px;
  padding:18px 20px;
  border-radius:16px;
  color:#fff;
  font-weight:800;
  font-size:1rem;
  box-shadow:var(--shadow);
}
.tag-card .icon-badge{
  width:36px;height:36px;
  margin-bottom:0;
  flex-shrink:0;
}
.groups-title{font-size:1.6rem;margin-bottom:26px;}

/* ===== Kampovi ===== */
.kamp-card{
  background:#fff;
  border-radius:var(--radius);
  padding:30px;
  box-shadow:var(--shadow);
  display:flex;
  gap:20px;
  border-top:6px solid var(--gold);
}
.kamp-card .icon-badge{flex-shrink:0;background:var(--cream-2);}
.kamp-card h4{font-size:1.15rem;}
.kamp-card p{color:var(--ink-soft);font-size:.95rem;margin-bottom:0;}
.kamp-card.c-green{border-top-color:var(--green);}
.kamp-card.c-coral{border-top-color:var(--coral);}
.kamp-card.c-purple{border-top-color:var(--purple);}
.kamp-logo{width:64px;height:64px;border-radius:12px;overflow:hidden;flex-shrink:0;box-shadow:0 4px 10px rgba(0,0,0,.12);background:#fff;display:flex;align-items:center;justify-content:center;padding:6px;}
.kamp-logo img{width:100%;height:100%;object-fit:contain;}
.kamp-logo.kamp-photo{padding:0;}
.kamp-logo.kamp-photo img{object-fit:cover;}

/* ===== Roditelji ===== */
.parents-wrap{max-width:900px;}
.quote-box{
  background:#fff;border-radius:var(--radius);
  padding:34px 38px;box-shadow:var(--shadow);
  margin:30px 0;
}
.quote-box p:last-child{margin-bottom:0;}
.facilitators{display:flex;gap:30px;flex-wrap:wrap;background:#fff;border-radius:var(--radius);padding:26px 30px;box-shadow:var(--shadow);}
.facilitator{display:flex;align-items:center;gap:12px;font-weight:700;}
.avatar{
  width:44px;height:44px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-weight:800;font-family:'Baloo 2',sans-serif;
  flex-shrink:0;
}

/* ===== Upis / Kontakt ===== */
.contact-cards{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-bottom:30px;}
.contact-card-big{
  background:var(--maroon);
  color:#fff;
  border-radius:var(--radius);
  padding:44px;
  box-shadow:var(--shadow);
  display:flex;
  align-items:center;
  gap:30px;
  flex-wrap:wrap;
}
.contact-card-big img{width:90px;height:90px;border-radius:50%;flex-shrink:0;}
.contact-card-big h3{font-size:1.5rem;margin-bottom:14px;}
.contact-links{display:flex;flex-direction:column;gap:8px;margin-left:auto;text-align:right;}
.contact-links a{font-weight:800;font-size:1.1rem;text-decoration:underline;text-underline-offset:4px;}

/* ===== Contact form ===== */
.contact-form-wrap{
  background:#fff;border-radius:var(--radius);
  padding:44px;box-shadow:var(--shadow);
  margin-top:40px;
  display:grid;grid-template-columns:1fr 1fr;gap:40px;
}
.contact-form-wrap h3{font-size:1.5rem;}
.form-field{margin-bottom:18px;}
.form-field label{display:block;font-weight:700;margin-bottom:6px;font-size:.92rem;}
.form-field input,.form-field textarea{
  width:100%;padding:13px 16px;border-radius:12px;
  border:2px solid #e5ded0;font-family:inherit;font-size:1rem;
  background:var(--cream);
}
.form-field input:focus,.form-field textarea:focus{outline:none;border-color:var(--maroon);}
.form-field textarea{resize:vertical;min-height:110px;}

/* ===== Footer ===== */
footer{background:var(--ink);color:#fff;padding:50px 0 24px;}
.footer-grid{display:flex;justify-content:space-between;gap:40px;flex-wrap:wrap;margin-bottom:30px;}
.footer-brand{display:flex;align-items:center;gap:12px;font-family:'Baloo 2',sans-serif;font-weight:700;font-size:1.2rem;}
.footer-brand img{width:40px;height:40px;border-radius:50%;}
.footer-links{display:flex;gap:60px;flex-wrap:wrap;}
.footer-col h5{font-size:.82rem;text-transform:uppercase;letter-spacing:.06em;opacity:.6;margin-bottom:14px;}
.footer-col a,.footer-col p{display:block;opacity:.85;margin-bottom:8px;font-size:.95rem;}
.footer-col a:hover{opacity:1;text-decoration:underline;}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding-top:20px;font-size:.85rem;opacity:.6;text-align:center;}

/* decorative dots */
.decor-dots{position:absolute;display:flex;gap:8px;}
.decor-dots span{border-radius:50%;display:block;}

/* ===== Responsive ===== */
@media (max-width:940px){
  .nav-links,.nav-cta .btn-ghost{display:none;}
  .menu-toggle{display:block;}
  .kosmo-grid,.contact-cards,.contact-form-wrap{grid-template-columns:1fr;}
  .feature-row,.feature-row.reverse{grid-template-columns:1fr;gap:24px;}
  .feature-row .feature-photo,.feature-row.reverse .feature-photo{order:1;}
  .feature-row .feature-text,.feature-row.reverse .feature-text{order:2;}
  .tags-grid{grid-template-columns:1fr 1fr;}
  .feature-text{padding:26px 24px;}
  .card-grid,.card-grid.cols-3{grid-template-columns:1fr;}
  .color-card.has-thumb{padding-right:32px;}
  .color-card .thumb{position:static;margin-bottom:16px;width:100%;height:180px;}
  section{padding:56px 0;}
  .hero-kids img{width:110px;height:150px;}
  .hero-kids img:nth-child(2){width:140px;height:190px;}
}

@media (max-width:600px){
  .nav .brand span{display:none;}
  .topbar .container{justify-content:center;}
  .hero-ctas{flex-direction:column;width:100%;}
  .hero-ctas .btn{width:100%;justify-content:center;}
  .contact-card-big{flex-direction:column;text-align:center;}
  .contact-links{margin-left:0;text-align:center;align-items:center;}
}

/* mobile nav panel */
.mobile-nav{
  display:none;
  position:fixed;inset:0;
  background:var(--cream);
  z-index:100;
  padding:24px;
  flex-direction:column;
}
.mobile-nav.open{display:flex;}
.mobile-nav-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:40px;}
.mobile-nav a{font-size:1.4rem;font-weight:800;padding:14px 0;border-bottom:1px solid rgba(33,31,28,.08);}
.mobile-nav .btn{margin-top:20px;justify-content:center;}
