/* ============================================
   InkSport - CSS stilovi
   Paleta: Prirodna i topla (zelena + žuta)
   ============================================ */

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

/* === Varijable === */
:root {
  --green:      #4A7C59;
  --green-dark: #2D5240;
  --green-light:#E8F5EE;
  --yellow:     #F2C94C;
  --yellow-light:#FEF9E7;
  --orange:     #E8784A;
  --bg:         #FAFAF7;
  --text:       #2D3B2D;
  --text-light: #6B7C6B;
  --white:      #FFFFFF;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 20px rgba(74, 124, 89, 0.12);
  --shadow-lg:  0 8px 40px rgba(74, 124, 89, 0.18);
  --transition: 0.25s ease;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === Tipografija === */
h1, h2, h3, h4 {
  font-family: 'Nunito', sans-serif;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }

/* === Kontejner === */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Dugmad === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(232, 120, 74, 0.35);
}
.btn-primary:hover {
  background: #d4663a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 120, 74, 0.45);
}
.btn-secondary {
  background: var(--white);
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-secondary:hover {
  background: var(--green-light);
  transform: translateY(-2px);
}

/* === Section tagovi === */
.section-tag {
  display: inline-block;
  background: var(--yellow-light);
  color: var(--green-dark);
  border: 1px solid var(--yellow);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   NAVIGACIJA
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(74, 124, 89, 0.1);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1160px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--green-dark);
}
.nav-logo-sub {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-cta { margin-left: 8px; }

/* === Hamburger (mobil) === */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding-top: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--green-light) 0%, var(--yellow-light) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: var(--yellow);
  opacity: 0.08;
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 350px;
  height: 350px;
  background: var(--green);
  opacity: 0.07;
  border-radius: 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--green-light);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}
.hero h1 { color: var(--green-dark); margin-bottom: 20px; }
.hero h1 span { color: var(--orange); }
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(74, 124, 89, 0.15);
}
.hero-stat-num {
  font-family: 'Nunito', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--green);
  display: block;
}
.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
}
.hero-image {
  position: relative;
}
.hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.hero-img-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Nunito', sans-serif;
}
.hero-img-badge-icon {
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.hero-img-badge-text { font-size: 0.8rem; color: var(--text-light); }
.hero-img-badge-num {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--green-dark);
  display: block;
}

/* ============================================
   SEKCIJE - opšte
   ============================================ */
section { padding: 80px 0; }
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 12px auto 0;
}

/* ============================================
   MISIJA
   ============================================ */
.misija { background: var(--white); }
.misija-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.misija-text h2 { color: var(--green-dark); margin-bottom: 16px; }
.misija-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.misija-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.misija-value {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius);
  border-left: 4px solid var(--yellow);
}
.misija-value-icon {
  width: 44px;
  height: 44px;
  background: var(--yellow-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.misija-value h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--green-dark);
}
.misija-value p { font-size: 0.88rem; color: var(--text-light); }
.misija-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
  position: relative;
}

/* ============================================
   AKTIVNOSTI
   ============================================ */
.aktivnosti { background: var(--bg); }
.aktivnosti-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.aktivnost-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}
.aktivnost-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-light);
}
.aktivnost-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}
.aktivnost-card h3 {
  margin-bottom: 10px;
  color: var(--green-dark);
}
.aktivnost-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* === Boje ikonice === */
.icon-green { background: var(--green-light); }
.icon-yellow { background: var(--yellow-light); }
.icon-orange { background: #FEF0E9; }

/* ============================================
   TIM
   ============================================ */
.tim { background: var(--white); }
.tim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.tim-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.tim-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.tim-foto {
  aspect-ratio: 1;
  overflow: hidden;
}
.tim-info { padding: 20px; }
.tim-info h3 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--green-dark);
}
.tim-role {
  font-size: 0.82rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}
.tim-info p {
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ============================================
   KAKO SE PRIJAVITI
   ============================================ */
.prijava { background: var(--green-dark); color: var(--white); }
.prijava .section-header { text-align: center; margin-bottom: 56px; }
.prijava .section-header h2 { color: var(--white); }
.prijava .section-header p { color: rgba(255,255,255,0.7); }
.prijava .section-tag {
  background: rgba(242, 201, 76, 0.2);
  color: var(--yellow);
  border-color: rgba(242, 201, 76, 0.3);
}
.koraci-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  position: relative;
}
.koraci-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  opacity: 0.3;
}
.korak {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}
.korak-num {
  width: 72px;
  height: 72px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--green-dark);
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(242, 201, 76, 0.3);
}
.korak h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--white);
}
.korak p { font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.prijava-cta {
  text-align: center;
  margin-top: 56px;
}
.prijava-cta .btn-primary { font-size: 1.05rem; padding: 16px 40px; }

/* ============================================
   GALERIJA
   ============================================ */
.galerija { background: var(--bg); }
.galerija-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.galerija-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.galerija-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}
.galerija-item:first-child {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

/* ============================================
   KONTAKT
   ============================================ */
.kontakt { background: var(--white); }
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.kontakt-info h2 { color: var(--green-dark); margin-bottom: 16px; }
.kontakt-info p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 32px;
}
.kontakt-items { display: flex; flex-direction: column; gap: 16px; }
.kontakt-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius);
}
.kontakt-item-icon {
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.kontakt-item-text { font-size: 0.9rem; color: var(--text-light); }
.kontakt-item-val {
  display: block;
  font-weight: 600;
  color: var(--text);
}
.kontakt-form {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(74, 124, 89, 0.2);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
}
.form-group textarea { height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kontakt-form .btn { width: 100%; justify-content: center; margin-top: 4px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.8);
  padding: 48px 0 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand .nav-logo-text { color: var(--white); margin-left: 0; }
.footer-brand p {
  font-size: 0.9rem;
  margin-top: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}
.footer-col h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   PLACEHOLDER ELEMENTI
   ============================================ */
.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  gap: 8px;
  color: rgba(74, 124, 89, 0.5);
  text-align: center;
  padding: 12px;
}
.placeholder-img svg {
  width: 32px;
  height: 32px;
  opacity: 0.4;
}
.ph-hero { background: linear-gradient(135deg, #C8E6D4 0%, #D4EDDA 100%); min-height: 300px; }
.ph-green { background: #D4EDDA; }
.ph-yellow { background: #FEF9C3; }
.ph-orange { background: #FDE8D8; }
.ph-gray { background: #E8ECE8; }

/* ============================================
   STRANICA: O NAMA
   ============================================ */
.page-header {
  padding-top: 120px;
  padding-bottom: 64px;
  background: linear-gradient(135deg, var(--green-light) 0%, var(--yellow-light) 100%);
  text-align: center;
}
.page-header h1 { color: var(--green-dark); }
.page-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 16px auto 0;
}

/* ============================================
   RESPONSIVNOST
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { gap: 40px; }
  .misija-grid { gap: 40px; }
  .kontakt-grid { gap: 40px; }
  .footer-top { gap: 32px; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }

  /* Nav */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero-stats { gap: 20px; }

  /* Misija */
  .misija-grid { grid-template-columns: 1fr; }
  .misija-image { display: none; }

  /* Aktivnosti */
  .aktivnosti-grid { grid-template-columns: 1fr 1fr; }

  /* Tim */
  .tim-grid { grid-template-columns: 1fr 1fr; }

  /* Koraci */
  .koraci-grid { grid-template-columns: 1fr; gap: 0; }
  .koraci-grid::before { display: none; }

  /* Galerija */
  .galerija-grid { grid-template-columns: 1fr 1fr; }
  .galerija-item:first-child { grid-column: span 2; }

  /* Kontakt */
  .kontakt-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .aktivnosti-grid { grid-template-columns: 1fr; }
  .tim-grid { grid-template-columns: 1fr; }
  .galerija-grid { grid-template-columns: 1fr; }
  .galerija-item:first-child { grid-column: span 1; aspect-ratio: 4/3; }
  .hero-btns { flex-direction: column; }
}
