
/* --- GOOGLE FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Poppins:wght@600;700&display=swap');

/* --- CSS VARIJABLE --- */
:root {
  /* Boje */
  --clr-primary: #0095DA;
  --clr-secondary: #A5CE39;
  --clr-footer-bg: #00537B;
  --clr-footer-txt: #21B5FC;
  --clr-text: #1F2937;
  --clr-gray: #6B7280;
  --clr-jumbo-bg: #F1F5F9;
  --clr-white: #ffffff;
  --clr-bg: #F8FAFC;
  --shadow-sm: 0 1px 2px 0 rgba(31, 41, 55, 0.05); /* Jako suptilno */
    --shadow-md: 0 4px 6px -1px rgba(31, 41, 55, 0.1), 0 2px 4px -1px rgba(31, 41, 55, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(31, 41, 55, 0.1), 0 4px 6px -2px rgba(31, 41, 55, 0.05); 
    --shadow-btn-primary: 0 8px 16px -4px rgba(0, 149, 218, 0.4);
    --shadow-btn-secondary: 0 8px 16px -4px rgba(165, 206, 57, 0.4)

  /* Fontovi */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Prilagodba za slabovidne (Primjer kako ćeš to kasnije koristiti) */
body.accessibility-mode {
  --clr-primary: #0000FF; /* Jači kontrast */
  --clr-bg: #FFFFFF;
  --clr-text: #000000;
}

/* --- GLOBAL RESET & BODY --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
}

/* --- TIPOGRAFIJA --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin-bottom: 0.5em;
  color: var(--clr-text);
}

h1 { font-size: 2.5rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.005em; } /* -0.5% */
h2 { font-size: 2rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.0025em; } /* -0.25% */
h3 { font-size: 1.75rem; line-height: 1.3; font-weight: 600; letter-spacing: 0; }
h4 { font-size: 1.5rem; line-height: 1.35; font-weight: 600; letter-spacing: 0; }
h5 { font-size: 1.25rem; line-height: 1.35; font-weight: 600; letter-spacing: 0; }
h6 { font-size: 1.125rem; line-height: 1.4; font-weight: 600; letter-spacing: 0; }

p {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 1rem;
}

p.text-bold, b, strong {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 700;
}

small, .caption {
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 500;
  display: inline-block;
  color: var(--clr-gray);
}

a {
  font-size: inherit; 
  color: var(--clr-gray);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--clr-secondary);
}


.topbar {
  background-color: var(--clr-white);
}

section {
  padding-top: 4rem;
  padding-bottom: 4rem; 
  margin: 0;
}

button, .btn {
  padding: 1rem 2rem;
  background-color: var(--clr-primary);
  border: none;
  color: color-mix(in srgb, var(--clr-white) 90%, transparent);
  border-radius: 9rem;
  margin-right: 2em;
  cursor: pointer;
  font-weight: 700;
}

button:hover, .btn:hover {
  box-shadow: var(--shadow-md);
  color: var(--clr-white);
} 

.button-2 {
  background-color: var(--clr-secondary);
}


.button-2-outline {
  color: color-mix(in srgb, var(--clr-white) 90%, transparent);
}

.btn-s {
   padding: .5rem 2rem;
  background-color: var(--clr-primary);
  border: none;
  color: color-mix(in srgb, var(--clr-white) 90%, transparent);
  border-radius: 9rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.5;
}

.v-center-row {
    display: flex;
    align-items: center;
}

.card {
  padding: 1.5rem;
  background-color: var(--clr-white);
  border-radius: 1rem;
}

.row {
    row-gap: 2rem; /* Stvara vertikalni razmak od 2rem između redova */
}

.row > [class*='col-'] > .card {
    height: 100%; /* Margina je uklonjena odavde */
}


.icon-line {
  margin-bottom: 0;
}


footer {
  background-color: var(--clr-footer-bg);
  color: var(--clr-footer-txt);
  padding: 6rem 0rem;
}

footer a{
  color: var(--clr-footer-txt);
  text-decoration: none;
} 

.footer-list {
  list-style-type: none;
}



.jumbotron {
  background-color: var(--clr-jumbo-bg);
  padding: 6rem 0rem 3rem 0rem;
}

.heading-footer {
  font-weight: 700;
}


.jumbotron-home {
    position: relative;
    padding: 8rem 0rem 6rem 0rem; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.jumbotron-home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 149, 218, 0.70); 
    z-index: 1;
}

.jumbotron-home > * {
    position: relative;
    z-index: 10 !important; 
}

.jumbotron-home h1,
.jumbotron-home p,
.jumbotron-home h3 {
    color: var(--clr-white);
}

/* Mobilna prilagodba */
@media (max-width: 768px) {
    .jumbotron-home {
        padding: 5rem 0rem 3rem 0rem; 
    }
}

.accordion {
  width: 100%;
  margin: 1em auto;
  border: 1px solid #f1efef;
  border-left: 0;
  border-right: 0;
  border-radius: 0px;
  overflow: hidden;
}
.accordion .accordion-item {
  border-bottom: 1px solid var(--clr-jumbo-bg);
}
.accordion .accordion-item:last-child {
  border-bottom: none;
}
.accordion .accordion-item .accordion-header {
  display: flex;
  justify-content: space-between;
  padding: 1em;
  cursor: pointer;
  background: var(--clr-white);
  font-weight: bold;
  padding-bottom: .5em;
}
.accordion .accordion-header {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  cursor: pointer;
  padding: 1em;
  background: var(--clr-white);
  font-weight: bold;
  position: relative;
}

.accordion .accordion-header::after {
  content: "";
  border: solid var(--clr-primary);
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 5px;
  transform: rotate(45deg);
  transition: transform 0.3s ease, border-color 0.3s ease;
  margin-left: 1em;
}

.accordion .accordion-item.active .accordion-header::after {
  transform: rotate(-135deg);
  border-color: var(--clr-primary); 
}

.accordion .accordion-item .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1em;
  background: var(--clr-white);
}
.accordion .accordion-item .accordion-content p {
  margin: 0;
  color: var(--clr-gray);
  margin-bottom: 1em;
}
.accordion .accordion-item .accordion-content .thumbnail {
  margin-bottom: 1em;
}

.icon-text {
  color: var(--clr-gray);
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 500;
}

.tabs {
  width: 100%;
  margin: 2em auto;
}
.tabs button {
  text-transform: capitalize;
}
.tabs .tab-buttons {
  display: flex;
}
.tabs .tab-buttons .tab-btn {
  flex: 1;
  border-radius: 0;
  padding: .6em 1em;
  cursor: pointer;
  background: var(--clr-white);
  border: none;
  outline: none;
  transition: background 0.3s, color 0.3s;
  font-size: 1.125rem; line-height: 1.4; font-weight: 600; letter-spacing: 0;
  color: var(--clr-gray);
  margin-right:0;
}
.tabs .tab-buttons .tab-btn.active {
  background: #fff;
  border-bottom: 2px solid var(--clr-primary);
  color: var(--clr-primary);
  font-size: 1.125rem; line-height: 1.4; font-weight: 600; letter-spacing: 0;
}
.tabs .tab-buttons .tab-btn:hover {
  background: var(--clr-white);
  color: var(--clr-secondary);
  box-shadow: none;
}
.tabs .tab-contents .tab-content {
  display: none;
  padding: 15px;
  background: var(--clr-white);
}
.tabs .tab-contents .tab-content.active {
  display: block;
}


/* =========================================
   KONTAKT FORMA
   ========================================= */

.contact-form-wrapper {
    background-color: var(--clr-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md); /* Koristi tvoju varijablu za sjenu */
}

.form-title {
    color: var(--clr-primary);
    margin-top: 0;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.custom-form .form-group {
    margin-bottom: 1.5rem;
}

.custom-form .form-row {
    display: grid;
    grid-template-columns: 1fr; /* Na mobitelu su polja jedno ispod drugog */
    gap: 0;
}

/* Na ekranima širim od 768px (tableti/desktop), stavi ih u dva stupca */
@media (min-width: 768px) {
    .custom-form .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

.custom-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-text);
    margin-bottom: 0.5rem;
}

/* Stilizacija svih polja za unos */
.custom-form input,
.custom-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--clr-text);
    background-color: var(--clr-jumbo-bg);
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}


.custom-form input::placeholder,
.custom-form textarea::placeholder {
    color: #9CA3AF;
}


.custom-form input:focus,
.custom-form textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
    background-color: var(--clr-white);
    box-shadow: 0 0 0 3px rgba(0, 149, 218, 0.15);
}

/* --- BAZNI STILOVI ZA SVE 3 LISTE --- */
/* Uklanjamo zadane točkice i razmake, ali SAMO na ovim klasama */
.doc-ul, 
.link-ul, 
.notch-ul,
.normal-ul,
ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

/* Stilovi za stavke (tekst) unutar tih listi */
.doc-ul li, 
.link-ul li, 
.notch-ul li,
.normal-ul li, li {
  display: flex; /* Flexbox umjesto inline-block za savršeno poravnanje ikone i teksta */
  align-items: flex-start; /* Ako tekst ide u 2 reda, ikona ostaje gore */
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--clr-gray);
}

/* --- ZAJEDNIČKE POSTAVKE ZA IKONE --- */
.doc-ul li::before, 
.link-ul li::before, 
.notch-ul li::before,
.normal-ul li::before,
li::before {
  content: "";
  display: block;
  flex-shrink: 0; /* Sprječava da se ikona suzi ako ima puno teksta */
  width: 1rem;
  height: 1rem;
  gap: .5rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.normal-ul li::before, 
li::before {
  margin-top: .4rem;
  width: .6rem;
  height: .6rem;
}
.doc-ul li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230095DA'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z'/%3E%3C/svg%3E");
}
.link-ul li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230095DA'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1'/%3E%3C/svg%3E");
}
.notch-ul li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230095DA'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
}
.normal-ul li::before, li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='6' fill='%230095DA'/%3E%3C/svg%3E");
}

.footer-list li::before {
  background-image: none;
}

