/* RESET I OSNOVA */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  color: #1f2933;
  background: #E7F9FS; /* vrlo nježna zelena */
  line-height: 1.5;
}

/* GLOBALNE POMOĆNE KLASE */

.page {
  min-height: 100vh;
}

.container {
  width: min(1100px, 100% - 2rem);
  margin: 0 auto;
}

.section {
  padding: 3rem 0;
}

.section-title {
  font-size: 1.8rem;
  margin: 0 0 0.5rem;
  letter-spacing: 0.6px;
}

.section-lead {
  margin: 0 0 2rem;
  font-size: 1rem;
  max-width: 38rem;
  letter-spacing: 0.5px;
}

.section-list {
   margin: 0 0 1rem;
  font-size: 1rem;
  max-width: 38rem;
  letter-spacing: 0.9px;
}

.section-highlight {
  color: #FF7B4A;
  letter-spacing: 0.5px;
}

/* HEADER – tamnozelena */

.site-header {
  background: #173B2F;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #FFB74A; /* topla žuta u logotipu */
  color: #173B2F;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  letter-spacing: 0.8px;
}

.nav {
  display: flex;
  gap: 1rem;
  font-size: 0.95rem;
}

.nav-link {
  color: #E3F3EA;
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.nav-link-highlight{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.65rem;   /* umjesto 10px 20px */
  border-radius: 999px;
  background: #FFB74A;
  color: #111;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}



  /* HAMBURGER – podrazumijevano sakriven (vidi se tek na mobitelu) */

.nav-toggle {
  display: none;             /* na desktopu ne prikazujemo */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: 1rem;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #E3F3EA;
  border-radius: 999px;
  margin: 4px 0;
  transition: transform 0.2s, opacity 0.2s;
}

/* malo "X" efekta kada je meni otvoren */

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* HERO SEKCIJA – blaga zelena gradacija */

.section-hero {
  background: #ECF5F0;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.hero-title {
  font-size: 2.2em;
  letter-spacing: 1px;
  margin: 0 0 0rem;
}

.hero-subtitle {
  margin: 0 0 2rem;
  letter-spacing: 0.5px;
  max-width: 35rem;
  font-size: 0.9rem;
  font-style: italic;
  color: #173B2F;
}

.hero-subtitle-button {
  padding-top: 1px;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
  font-style: italic;
  color: #173B2F;
}


/* FORM ELEMENTI */

.hero-form {
  background:  #f7f9f5;
  border-radius: 16px;
  padding: 1rem 1.2rem 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(15, 32, 22, 0.08);
}

.form-row {
  margin-bottom: 0.75rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
}

.form-label-phone {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  margin-top: 1.25px;
}

.form-input {
  width: 100%;
  padding: 1rem 1rem;
  border-radius: 9px;
  border: 1px solid #C4D9CB;
  font-size: 0.95rem;
  font-style: italic;
  letter-spacing: 0.95px;
  text-align: left center;
}

.form-input-multiline {
  resize: none;          /* korisnik ne vuče ručno ćoškove */
  overflow: hidden;      /* nema scroll trake unutra */
  min-height: 3.2rem;    /* početna visina (podesi po oku) */
  line-height: 1.4;
}


#job::placeholder {
  opacity: 0.4;
}

.char-counter {
  margin-top: 0.25rem;
  font-size: 0.65rem;
  opacity: 0.75;
  text-align: right;
}


/* HERO KATEGORIJE */

.form-hint {
  display: block;
  margin-top: 1px;
  margin-bottom: 4px;
  color:  #777;
  font-size: 0.85rem;
}

.hero-categories {
  margin: 0.5rem 0 0.75rem;
  align-items: center;
}

.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: left;
}

.category-btn {
  padding: 0.9rem 1.2rem;
  border-radius: 9px;
  border: 1px solid #9AC39F;
  background: #F1FAF4;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  letter-spacing: 0.75px;
}

.category-btn:hover {
  background: #E1F2E6;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15, 32, 22, 0.08);
}

.category-services{
  margin-top: 0.75rem;
}

.category-services-inner{
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.7);
  border-radius: 14px;
  padding: 0.85rem;
}

.category-services-title{
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.category-services-list{
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-chip{
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1;
}

/* vizuelno označi aktivnu kategoriju */
.category-btn.is-active{
  border-color: rgba(224,123,57,0.85);
  box-shadow: 0 0 0 3px rgba(224,123,57,0.15);
}


/* HERO BADGE-ovi */

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.badge {
  background: #ffffffdd;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  border: 1px solid #D4E6D8;
  letter-spacing: 0.5px;
}

/* HERO DESNA KARTICA */

.hero-right {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 12px 30px rgba(15, 32, 22, 0.1);
  max-width: 22rem;
}

.hero-card-title {
  margin: 0 0 0.35rem;
  font-weight: 600;
  color: #455A4A;
  letter-spacing: 0.5px;
}

.hero-card-text {
  margin: 0 0 0.75rem;
  letter-spacing: 0.5px;
}

.hero-card-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

/* DUGMAD – ostaju narandžasta/žuta */

.btn {
  cursor: pointer;
  border-radius: 9px;
  padding: 0.95rem 1.2rem;
  border: none;
  font-size: 0.95rem;
  margin-top: 20px;
  letter-spacing: 0.75px;
}

.hero-form .form-row:last-child .btn-primary {
  display: block;
  margin-right: auto;
}

.btn-primary {
  background: #FFB74A;   /* narandžasta */
  color: #000000;
  border: 1px solid #FF6B33;
}

.btn-primary:hover {
  background: #FF6B33;
}

.btn-secondary {
  background: #FFB74A;   /* žućkasta sekundarna */
  color: #3A2B14;
  border: 1px solid #F29F33;
}

.btn-secondary:hover {
  background: #F29F33;
}

.btn-outline {
  background: transparent;
  color: #FF7B4A;
  border: 1px solid #FF7B4A;
}

.btn-outline:hover {
  background: #FF7B4A;
  color: #fff;
}

/* KAKO RADI – svijetla zelena */

#how-it-works.section-alt {
  background: #D4E6DB;
}

.how-it-works-lead {
  color: #173B2F;
  margin: 0 0 2rem;
  font-size: 1rem;
  max-width: 38rem;
  letter-spacing: 0.5px;
  font-style: italic;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.step {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.1rem 1.1rem 1.2rem;
  box-shadow: 0 8px 18px rgba(15, 32, 22, 0.05);
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #173B2F;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.step-title {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.step-text {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

/* ROTACIJA ZANIMANJA – blaga traka */

.masters-tagline {
  margin: 0;
  padding: 3.4rem 0;
  background: #D4E6DB;
  font-size: 1.6rem;
  display: flex;
  justify-content: center;   /* cijela linija centrirana */
  align-items: baseline;
  gap: 0.35rem;
  text-align: left;
  white-space: nowrap;       /* drži sve u jednom redu na desktopu */
}

.tagline-prefix {
  letter-spacing: 0.02rem;
}

/* fiksna "kutija" za zanimanje – širina NE mijenja ukupnu dužinu linije */
.tagline-highlight-box {
  display: inline-block;
  width: 13ch;              /* probaj s 13, pa po osjećaju 12–14 */
  text-align: left;
}

.tagline-highlight {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.8rem;
  font-style: italic;
  color: #2f7a4f;
  font-weight: 600;
}



/* ZA FIRME – tamnozelena, ali ne agresivna */

#for-business.section-dark {
  background: radial-gradient(circle at top left, #1C4133, #0D2219);
  color: #DDEFE3;
}

.section-title-inverted {
  color: #ffffff;
  letter-spacing: 0.6px;
}

.section-lead-inverted {
  color: #C4D9CB;
  letter-spacing: 0.5px;
  font-style: italic;
}

.section-list-inverted {
  color: #FF7B4A;
  letter-spacing: 0.9px;
}

.business-inner {
  display: flex;
  justify-content: center;
}

.business-text {
  max-width: 32rem;
}

.business-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 1.5rem;
  letter-spacing: 0.5px;
}

.business-list li::before {
  content: "• ";
  color: #FFB74A;
}

.business-list li {
  margin-bottom: 0.35rem;
}

/* BUSINESS EXAMPLES */
.business-examples {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.example-card {
  background: #ffffff15;
  border: 1px solid #ffffff25;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  color: #DDEFE3;
}

.example-text {
  margin: 0;
  font-size: 0.95rem;
  font-style: italic;
}

/* MODAL — PODIZVOĐAČI */
.modal-business {
  background: #ffffff;
  border-radius: 14px;
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  z-index:10000;
}

.modal-title {
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.2rem;
  color: #173B2F;
}

.modal {
  position: fixed;        /* KLJUČNO */
  top: 0;                 /* KLJUČNO */
  left: 0;                /* KLJUČNO */
  width: 100%;            /* KLJUČNO */
  height: 100%;           /* KLJUČNO */
  background: rgba(0,0,0,0.6);  /* zamračivanje pozadine */
  display: flex;          /* centriranje sadržaja */
  align-items: center;    /* centriranje vertikalno */
  justify-content: center;/* centriranje horizontalno */
  z-index: 9999;          /* KLJUČNO — iznad svega */
}

.hidden {
  display: none !important;
}



/* RECENZIJE – blaga mint zelena */

#reviews.section-alt {
  background: #D4E6DB;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
  margin-top: 1.5rem;
}

.review-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1rem 1.1rem 1.1rem;
  box-shadow: 0 8px 18px rgba(15, 32, 22, 0.05);
}

.review-text {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.review-author {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #37463B;
}

/* FAQ – vrlo svijetla zelena/neutralna */

.section-faq {
  background: #c6d7cc;
}

.section-faq .faq-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: 12px;
  border: 1px solid #CEDFD4;
  padding: 0.7rem 0.9rem;
  background: #ffffff;
}

.faq-question {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  letter-spacing: 0.5px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-answer {
  margin-top: 0.45rem;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: #2f7a4f;
}

/* MAJSTORI CTA – blaga topla neutralna (da se razlikuje) */

.section-accent {
  background: #2f7a4f;
}

.providers-cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
}

.providers-cta-text {
  flex: 1 1 280px;
}

.providers-cta-action {
  flex: 1 1 260px;
}

.providers-title {
  font-size: 1.8rem;
  letter-spacing: 0.5px;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 1rem;
  max-width: 36rem;
}

.join-link {
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
  color: #FFB74A;
  letter-spacing: 0.5px;
  display: inline-block;
}

.join-link:hover {
  opacity: 0.85;
}

.provider-form {
  margin-top: 1rem;
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid #E0D2C1;
  background: #fff;
}

.form-input::placeholder {
  opacity: 0.4;
  white-space:normal;
}

/* helper za skrivanje forme */
.hidden {
  display: none;
}

/* FOOTER – tamnozelena/ugljena */

.site-footer {
  background: #0F2018;
  color: #D1D5DB;
  padding: 2rem 0 1rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-title {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.footer-text {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.9rem;
}

.footer-links a {
  color: #E5E7EB;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #1D3527;
  padding-top: 0.75rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: center;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: #9CA3AF;
}

.msg-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9)
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.msg-modal.hidden {
  display: none;
}

.msg-box {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

#msg-text {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: #333;
}


/* RESPONSIVE */

/* Desktop: link u jednom redu */
@media (min-width: 960px) {
  .join-link {
    white-space: nowrap;
  }
}

/* Mobiteli / uži ekrani */
@media (max-width: 760px) {
  .nav-link-highlight { width:fit-content }


  /* HEADER + NAV */

  .header-inner {
    padding: 0.5rem 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #173B2F;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 1rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav.nav-open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 0.5rem 0;
  }

  /* LAYOUT SEKCIJA */

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .reviews-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  /* providers CTA – tekst gore, forma ispod */

  .providers-cta-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .providers-cta-text,
  .providers-cta-action {
    flex: 1 1 100%;
  }

  .providers-title {
    font-size: 1.6rem;
    text-align: center;
  }

  #providers-cta .section-lead {
    text-align: center;
  }

  .provider-form {
    max-width: 420px;
    margin: 1.25rem auto 0;
  }

  /* Majstori: MVP prezentacija iznad forme */
.provider-mvp{
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.7);
}

.provider-mvp-title{
  margin: 0 0 10px 0;
  font-size: 16px;
  font-weight: 600;
}

.provider-mvp-block{ margin-bottom: 10px; }
.provider-mvp-block:last-child{ margin-bottom: 0; }

.provider-mvp-q{
  margin: 0 0 4px 0;
  font-weight: 600;
}

.provider-mvp-a{
  margin: 0;
  opacity: 0.9;
}

.provider-note{
  margin-top: 10px;
  font-size: 13px;
  opacity: 0.8;
}


  .masters-tagline {
    display: block;
    text-align: center;
    white-space: normal;       /* dozvoli lomljenje u više redova */
    padding: 2.5rem 1rem;
  }

  .tagline-highlight-box {
    display: inline;           /* nema fiksne širine na uskim ekranima */
    width: auto;
  }
}

.note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #6b7280;
  text-align: left;
  opacity: 0.85;
}

.note a {
  color: #6b7280;
  text-decoration: underline;
}

/* HERO CAROUSEL (hero-right) */
.hero-carousel-card {
  padding: 1rem 1rem 0.9rem;
}

.hero-carousel {
  position: relative;
  margin-top: 0.75rem;
}

.hero-carousel-viewport {
  overflow: hidden;
  border-radius: 14px;
  background: #f3f6f4;
  box-shadow: inset 0 0 0 1px rgba(69, 90, 74, 0.12);
}

.hero-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 420ms ease;
  will-change: transform;
}

.hero-carousel-slide {
  min-width: 100%;
}

.hero-carousel-slide img {
  display: block;
  width: 100%;
  height: auto;
}

/* Prev/Next buttons */
.hero-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(15, 32, 22, 0.18);
  color: #2f3a32;
  font-size: 18px;
  display: grid;
  place-items: center;
}

.hero-carousel-btn.prev { left: 10px; }
.hero-carousel-btn.next { right: 10px; }

.hero-carousel-btn:hover {
  background: rgba(255, 255, 255, 1);
}

/* Dots */
.hero-carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}

.hero-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: rgba(69, 90, 74, 0.28);
}

.hero-carousel-dot.is-active {
  background: rgba(69, 90, 74, 0.75);
}

