:root{
  --accent: #c9a23f;
  --bg: #0b1d2a;
  --text: #f3e6c8;
}

/* HEADER */
.site-header{
  background: var(--bg);
  color: var(--text);
  padding: 3rem 1.25rem;
  border-bottom: 2px solid rgba(201,162,63,.35);
}

.site-header h1,
.site-header p{ color: var(--text); }

/* HERO background */
.hero{
  min-height: 65vh; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  background-image:
    linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
    url("naslovna.webp");
  background-size: cover;
  background-position: center;

  border-radius: 1rem;
  padding: 4rem 2rem;
  margin-top: 1.5rem;
}
.hero h1{
  font-size: clamp(5rem, 5vw, 5rem);
  margin-bottom: .75rem;
}

.hero p{
  font-size: 2rem;
  max-width: 700px;
}

.hero-box{
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  padding: 2rem 2.5rem;
  border-radius: 1rem;

  max-width: 720px;
  margin: 0 auto;

  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
/* NAV */
.site-nav{
  display: center;
  gap: .75rem;
  padding: 1rem 1rem;
  margin-bottom: 1.25rem;

  background: rgba(0,0,0,.25);
  border-radius: .6rem;
  backdrop-filter: blur(6px);
}

.site-nav a{
  padding: .4rem .75rem;
  border-radius: .4rem;
  font-weight: 500;
}

.site-nav a:hover{
  background: rgba(201,162,63,.15);
}

.site-nav a[aria-current="page"]{
  background: rgba(201,162,63,.25);
  font-weight: 700;
}
/* izbor na mob */
.hamburger{
  display: none;
  background: transparent;
  border: 1px solid rgba(201,162,63,.45);
  color: var(--text);
  padding: .6rem .9rem;
  border-radius: .4rem;
  font-size: 1.1rem;
  cursor: pointer;
}

/* mobilni prikaz */
@media (max-width: 720px){
  .hamburger{ display: inline-block; }

  .site-nav{
    /* umjesto display none/flex koristimo animaciju */
    display: flex;
    flex-direction: column;

    margin-top: .75rem;
    border-top: 1px solid rgba(201,162,63,.25);
    padding-top: .75rem;

    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);

    transition:
      max-height .35s ease,
      opacity .25s ease,
      transform .25s ease;
  }

  .site-nav.is-open{
    max-height: 500px; /*velicina na mobu navbara koji iskoci*/
    opacity: 1;
    transform: translateY(0);
  }
}
  .site-nav a{
    text-decoration: none;
  }

  .site-nav a:hover{
    text-decoration: none;
  }


/* Sadržaj novosti (HTML iz TinyMCE) */
.novost-sadrzaj {
  line-height: 1.6;
}
.novost-sadrzaj p {
  margin: 0.75rem 0;
}
.novost-sadrzaj ul, .novost-sadrzaj ol {
  margin: 0.75rem 0;
  padding-left: 1.5rem;
}
.novost-sadrzaj img {
  max-width: 100%;
  height: auto;
}

/* TABLICE */
table{
  width: 100%;
  display: block;
  overflow-x: auto;
}

/* Footer */
footer p { opacity: .9; }

.footer-social{
  margin-top: .75rem;
  font-size: .95rem;
  opacity: .9;
}

.footer-social a{
  color: var(--accent);
  text-decoration: none;
}

.footer-social a:hover{
  text-decoration: underline;
}

/* Jezici  */
.lang-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.lang-list{
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0;
}

.lang-list li{
  display: flex;                
  align-items: baseline;
  gap: .2rem;                  
  margin: .35rem 0;
}

.lang-list li span{
  display: inline;
}

.lang-list .code{
  white-space: nowrap;
  opacity: .9;
}

/* Mobitel jezici */
@media (max-width: 720px){
  .lang-grid{
    grid-template-columns: 1fr;
  }
}
/* Usluge  */
.activities-section{
  margin-top: 3rem;
}

.activities-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.activities-box h2{
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin-bottom: 1.25rem;
  letter-spacing: .05em;
}

.activities-box ul{
  list-style: disc;
  padding-left: 1.5rem;
}

.activities-box li{
  font-size: clamp(1.05rem, 2.5vw, 1.25rem); /* VEĆI FONT */
  line-height: 1.6;
  margin: .4rem 0;
}

/* Mobitel usluge */
@media (max-width: 720px){
  .activities-grid{
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .activities-box h2{
    font-size: 1.5rem;
  }
}

/* Mobile naslov */
@media (max-width: 480px){

  .hero{
    padding: 1.25rem 1rem;  
  }

  .hero-box{
    width: 100%;
    max-width: 100%;
    padding: 1.25rem 1rem;
    box-sizing: border-box;
    margin: 0 auto;
  }

  .hero h1{
    max-width: 100%;
    font-size: clamp(1.9rem, 10vw, 2.6rem);
    line-height: 1.05;
    margin: 0 0 .75rem 0;
    text-align: center;
  }

  .hero p{
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}
/* Mentorstvo WYSIWYG intro */
.mentor-intro { line-height: 1.6; }
.mentor-intro p { margin: 0.75rem 0; }

/* Mentori kartice */
.mentor-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.mentor-card{
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(201,162,63,.25);
  border-radius: .75rem;
  padding: 1rem;
}

.mentor-card h4{
  margin-top: 0;
  margin-bottom: .5rem;
}

@media (max-width: 900px){
  .mentor-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px){
  .mentor-grid{ grid-template-columns: 1fr; }
}

/* STRUCNA OBUKA - KARTICA SA IBANOM I OSTALIM PODACIMA */
.payment-card {
    max-width: 520px;
    background: #0f2537;
    border-radius: 14px;
    padding: 24px 26px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    color: #ffffff;
    margin: 40px auto;
}

.payment-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #f4c430;
    padding-bottom: 8px;
    color: #f4c430;
}

.payment-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}

.payment-row .label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #a8c1d8;
    margin-bottom: 4px;
}

.payment-row .value {
    font-size: 1rem;
    line-height: 1.5;
}

.payment-row .iban {
    font-weight: bold;
    letter-spacing: 0.05em;
    background: rgba(244, 196, 48, 0.12);
    padding: 6px 10px;
    border-radius: 6px;
    display: inline-block;
}
/* KONTAKT kartica sa mail/tel broj */
.contact-card{
    max-width: 420px;
    margin: 40px auto;
    padding: 22px 24px;

    background: rgba(0,0,0,.18);
    border: 1px solid rgba(201,162,63,.35);
    border-radius: 14px;

    color: var(--text);
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.contact-card h3{
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 1.4rem;
    color: var(--accent);
    border-bottom: 2px solid rgba(201,162,63,.45);
    padding-bottom: 6px;
}

.contact-row{
    margin-bottom: 14px;
}

.contact-row .label{
    display: block;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    opacity: .85;
    margin-bottom: 4px;
}

.contact-row .value{
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-card a{
    color: var(--text);
    text-decoration: none;
}

.contact-card a:hover{
    color: var(--accent);
    text-decoration: underline;
}

/* O NAMA TABLICA PREVODITELJA */

.table-prevoditelji{
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
  background: transparent;
}

/* HEADER */
.table-prevoditelji thead th{
  text-align: left;
  padding: 0.75rem 0.9rem;
  background: rgba(255,255,255,0.04);
  color: var(--accent);
  font-weight: 600;
  border-bottom: 2px solid rgba(201,162,63,.45);
}

/* REDCI */
.table-prevoditelji tbody tr{
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* NAIZMJENIČNI REDCI */
.table-prevoditelji tbody tr:nth-child(even){
  background: rgba(255,255,255,0.03);
}

/* ĆELIJE */
.table-prevoditelji td{
  padding: 0.65rem 0.9rem;
  vertical-align: top;
  color: var(--text);
  line-height: 1.45;
}

/* TITULA */
.table-prevoditelji td:nth-child(2){
  font-weight: 500;
  opacity: 0.9;
}

/* JEZICI */
.table-prevoditelji td:nth-child(3){
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* HOVER */
.table-prevoditelji tbody tr:hover{
  background: rgba(201,162,63,.08);
}

/* MOBITEL */
@media (max-width: 720px){

  .table-prevoditelji{
    border-collapse: separate;
    border-spacing: 0 12px;
  }

  /* sakrij header */
  .table-prevoditelji thead{
    display: none;
  }

  /* svaki red kao kartica */
  .table-prevoditelji tbody tr{
    display: block;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(201,162,63,.22);
    border-radius: 12px;
    padding: 10px 12px;
  }

  .table-prevoditelji tbody tr:hover{
    background: rgba(201,162,63,.08);
  }

  /* ćelije u stupac */
  .table-prevoditelji td{
    display: block;
    padding: 8px 0;
    border: 0;
  }

  /* label iznad vrijednosti */
  .table-prevoditelji td::before{
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: rgba(243,230,200,.75);
    margin-bottom: 3px;
  }

  /* naslovi po stupcima */
  .table-prevoditelji td:nth-child(1)::before{ content: "Ime i prezime"; }
  .table-prevoditelji td:nth-child(2)::before{ content: "Titula"; }
  .table-prevoditelji td:nth-child(3)::before{ content: "Jezici / smjer"; }

  /* jezici da se lijepo lome */
  .table-prevoditelji td:nth-child(3){
    white-space: normal;
    word-break: break-word;
  }
}

/* online prijava*/

.prijava-section{
  max-width: 800px;
  margin: 3rem auto;
}

.prijava-section h2{
  margin-bottom: 0.5rem;
}

.prijava-section .subnote{
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.prijava-form{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.prijava-form label{
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.prijava-form input{
  padding: 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(201,162,63,.35);
  background: rgba(0,0,0,.15);
  color: var(--text);
}

.prijava-form input:focus{
  outline: none;
  border-color: var(--accent);
}

.prijava-form h3{
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201,162,63,.3);
}

.radio-group{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.radio-group label{
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.submit-btn{
  margin-top: 2rem;
  padding: 0.7rem;
  border: none;
  border-radius: 6px;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  cursor: pointer;
}

.submit-btn:hover{
  opacity: 0.9;
}

/* online prijava mobitel */

@media (max-width: 600px){

  .prijava-section{
    margin: 2rem 1rem;
  }

  .prijava-section h2{
    font-size: 1.3rem;
    line-height: 1.3;
  }

  .prijava-form input{
    font-size: 16px; /* sprječava zoom*/
  }

  .submit-btn{
    font-size: 1rem;
    padding: 0.8rem;
  }

  .radio-group{
    gap: 0.8rem;
  }
}
/*buton strucna obuka za online prijavu*/
.cta-wrapper{
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.cta-btn{
  all: unset; /* da simple.css ne pregazi stil */
  cursor: pointer;

  padding: 0.9rem 1.6rem;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;

  background: var(--accent);
  color: #000;
  text-align: center;

  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}

.cta-btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,.35);
  opacity: .95;
}

@media (max-width: 600px){
  .cta-wrapper{
    padding: 0 1rem;
  }
  .cta-btn{
    width: 100%;
  }
}

/* Kontakt forma poruke */
.success-msg {
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid #4caf50;
  color: #c8e6c9;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.error-msg {
  background: rgba(244, 67, 54, 0.2);
  border: 1px solid #f44336;
  color: #ffcdd2;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}