/* ===================
   CYBERPROFIT KUHINJE PROFESSIONAL CORPORATE STYLE CSS
   Author: Senior CSS Developer & UI Designer
   =================== */

/* === RESET & BASE === */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F5F8FA;
  color: #173042;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: #173042;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #8FA68C;
  text-decoration: underline;
  outline: none;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: 100%;
  border: none;
  outline: none;
  background: none;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #173042;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.3rem;   /* 36-38px base on base font */
  margin-bottom: 24px;
}
h2 {
  font-size: 1.9rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.15rem;
}
p, li, ul, ol, span, label {
  font-size: 1rem;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
  color: #8FA68C;
}

/* === LAYOUT & STRUCTURE === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(23, 48, 66, 0.08);
  padding: 38px 32px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* Spacing for lists in .text-section */
.text-section ul, .text-section ol {
  margin-left: 24px;
  margin-bottom: 4px;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 8px;
  list-style: disc inside;
}
/* === CARD, GRID & FEATURE CONTAINERS === */

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(23,48,66,0.07);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 220px;
  flex: 1 1 240px;
  transition: box-shadow 0.22s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(23,48,66,0.16);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ==== BUTTONS & LINKS ==== */
.btn-primary, .btn-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 32px;
  min-height: 46px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(23,48,66,0.06);
  transition: background .18s, color .18s, box-shadow .18s;
  border: none;
  outline: none;
  margin-top: 16px;
  text-decoration: none;
}
.btn-primary {
  background: #173042;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #20587b;
  color: #fff;
  box-shadow: 0 4px 28px rgba(23,48,66,0.14);
}
.btn-secondary {
  background: #fff;
  color: #173042;
  border: 2px solid #173042;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #8FA68C;
  color: #fff;
  border-color: #8FA68C;
  box-shadow: 0 4px 22px rgba(143,166,140,0.12);
}

/* === HEADER NAVIGATION === */
header {
  background: #fff;
  border-bottom: 1px solid #E6EAF0;
  box-shadow: 0 2px 16px rgba(23,48,66,0.03);
  width: 100%;
  z-index: 10;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  height: 84px;
}
header a img, .footer-brand img {
  height: 42px;
  width: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.03rem;
  color: #173042;
  opacity: 0.93;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background .16s, color .18s;
}
header nav a:hover, header nav a:focus {
  background: #F5F8FA;
  color: #8FA68C;
}
/* Hide hamburger button on desktop */
.mobile-menu-toggle {
  display: none;
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  position: fixed;
  top: 22px;
  right: 18px;
  z-index: 1020;
  display: none;
  background: #173042;
  color: #fff;
  border-radius: 7px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
  transition: background 0.18s;
  box-shadow: 0 2px 8px rgba(23,48,66,0.10);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #20587b;
}
.mobile-menu {
  position: fixed;
  z-index: 1200;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(23,48,66,0.98);
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.9,.2,.2,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 22px 12px 0;
  font-size: 2.1rem;
  background: transparent;
  color: #fff;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 1201;
  transition: color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #8FA68C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 18px;
  gap: 18px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  background: rgba(255,255,255, 0.03);
  width: 90vw;
  text-align: center;
  padding: 15px 0;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #8FA68C;
  color: #173042;
}

/* === FOOTER === */
footer {
  background: #173042;
  color: #fff;
  padding: 28px 0 24px 0;
  border-top: 1px solid #E6EAF0;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
}
footer nav a {
  color: #fff;
  opacity: 0.92;
  font-size: 1.06rem;
  transition: color .15s;
}
footer nav a:hover, footer nav a:focus {
  color: #8FA68C;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-contact {
  font-size: 0.93rem;
  opacity: 0.85;
}

/* === TESTIMONIAL CARD === */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  margin-bottom: 20px;
  background: #F5F8FA;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(23,48,66,0.05);
  color: #173042;
  font-size: 1.09rem;
  border-left: 5px solid #8FA68C;
  transition: box-shadow 0.2s;
}
.testimonial-card span {
  color: #173042;
  font-size: 0.98rem;
  opacity: 0.82;
  letter-spacing: 0.01em;
}
.testimonial-card:hover {
  box-shadow: 0 5px 22px rgba(23,48,66,0.13);
}

/* === FAQ Accordion (cesta-pitanja.html) === */

.faq-section {
  display: flex;
  flex-direction: row;
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.faq-category {
  flex: 1 1 250px;
  min-width: 180px;
}
.faq-accordion h3 {
  cursor: pointer;
  transition: color 0.15s;
  margin-bottom: 8px;
  font-size: 1.09rem;
}
.faq-accordion h3:hover, .faq-accordion h3:focus {
  color: #8FA68C;
}
.faq-accordion p {
  margin-top: 0;
  margin-bottom: 14px;
}

/* === COOKIES BANNER === */
.cookies-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #173042;
  color: #fff;
  z-index: 2500;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 12px 24px 12px;
  box-shadow: 0 -4px 32px rgba(23,48,66,0.13);
  opacity: 0;
  pointer-events: none;
  transform: translateY(120px);
  transition: opacity 0.25s, transform 0.25s;
}
.cookies-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookies-banner .cookies-buttons {
  margin-top: 14px;
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.btn-accept-cookies, .btn-reject-cookies, .btn-cookie-settings {
  padding: 0 20px;
  min-height: 38px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background .17s, color .17s;
}
.btn-accept-cookies {
  background: #8FA68C;
  color: #173042;
}
.btn-accept-cookies:hover, .btn-accept-cookies:focus {
  background: #6d8570;
  color: #fff;
}
.btn-reject-cookies {
  background: transparent;
  color: #fff;
  border: 1.5px solid #E6EAF0;
}
.btn-reject-cookies:hover, .btn-reject-cookies:focus {
  background: #fff;
  color: #173042;
}
.btn-cookie-settings {
  background: #fff;
  color: #173042;
}
.btn-cookie-settings:hover, .btn-cookie-settings:focus {
  background: #8FA68C;
  color: #fff;
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23,48,66,0.86);
  z-index: 2502;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.visible {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  color: #173042;
  border-radius: 15px;
  box-shadow: 0 12px 50px rgba(23,48,66,0.18);
  width: 98vw;
  max-width: 400px;
  padding: 38px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalPopIn 0.36s cubic-bezier(.86,.1,.2,1);
}
@keyframes modalPopIn {
  from { transform: scale(0.89) translateY(80px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.38rem;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 14px 0 10px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #173042;
}
.cookie-category label {
  flex: 1;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  accent-color: #8FA68C;
  width: 18px;
  height: 18px;
}
.cookie-category input[disabled] {
  accent-color: #B4BECB;
}
.cookie-category .required {
  font-size: 0.95rem;
  color: #8FA68C;
  margin-left: 8px;
}
.cookie-modal .modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 1.65rem;
  color: #173042;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: #8FA68C;
}

/* ====== MISCELLANEOUS COMPONENTS ====== */

/* Emphasis for .text-section strong */
.text-section strong {
  color: #173042;
  font-weight: 700;
}
.text-section a {
  color: #8FA68C;
  font-weight: 500;
  transition: color .15s;
}
.text-section a:hover, .text-section a:focus {
  color: #20587b;
}

/* Spacing helpers */
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* HTML forms and inputs (if any used in future) */
input, textarea, select {
  background: #F5F8FA;
  border: 1.5px solid #E6EAF0;
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 1rem;
  color: #173042;
  margin-bottom: 18px;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #8FA68C;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1160px) {
  .container {
    max-width: 100%;
  }
  header .container, footer .container {
    gap: 14px;
  }
}
@media (max-width: 970px) {
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    gap: 16px;
    padding: 20px 12px;
  }
  section {
    padding-left: 10px; padding-right: 10px;
  }
  .content-wrapper {
    padding: 28px 12px;
  }
}
@media (max-width: 820px) {
  .faq-section {
    flex-direction: column;
    gap: 20px;
  }
  .footer-brand img {
    height: 32px;
  }
}
@media (max-width: 768px) {
  header nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding-left: 8px; padding-right: 8px;
  }
  .feature-item { align-items: flex-start; gap: 10px; }
  .testimonial-card { padding: 17px 12px; }
  .card { padding: 16px 10px; }
  .footer-brand img { height: 26px; }
  .content-wrapper { padding: 14px 4px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.19rem; }
  h3 { font-size: 1.05rem; }
  section { padding: 28px 4px; }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-contact { font-size: 0.85rem; }
}
@media (max-width: 525px) {
  .cookies-banner {
    padding: 14px 4px 16px 4px;
    font-size: 0.95rem;
  }
  .cookie-modal {
    max-width: 97vw;
    padding: 20px 4px 17px 4px;
  }
}

/* ======= SCROLLBAR FOR BRAND IDENTITY ======= */
::-webkit-scrollbar {
  width: 10px;
  background: #E6EAF0;
}
::-webkit-scrollbar-thumb {
  background: #8FA68C;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6D8570;
}

/* ======= UTILITY CLASSES & TRANSITIONS ======= */
.shadow-sm { box-shadow: 0 1px 4px rgba(23,48,66,0.04); }
.shadow-md { box-shadow: 0 3px 18px rgba(23,48,66,0.08); }
.role-mark {
  font-weight: 700;
  color: #8FA68C;
}

/* ===== Z-INDEX LAYERING FOR MENU & COOKIE ===== */
header    { z-index: 10; position: relative; }
.mobile-menu { z-index: 1200; }
.cookies-banner, .cookie-modal-overlay { z-index: 2500; }

/* ==== NO GRID, NO COLUMNS, ONLY FLEX ==== */
/* [MANDATORY] ONLY FLEXBOX IS USED FOR ALL LAYOUTS */

/* ==== END OF STYLE.CSS ==== */
