/* ========================================================
   Brisk Putovanja - Minimalist Flexbox CSS by Senior Designer
   ======================================================== */

/* --- CSS RESET (normalize essential elements) --- */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #1a2327;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ol, ul {
  list-style: none;
}
button, input, textarea, select {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
button:focus, a:focus {
  outline: 2px solid #074156;
  outline-offset: 2px;
}

/* --- BRAND COLORS AS CSS VARIABLES --- */
:root {
  --primary: #074156;
  --secondary: #F2A71B;
  --accent: #ffffff;
  --foreground: #1a2327;
  --bg-light: #fff;
  --bg-grey: #f8f9fa;
  --shadow-xs: 0 1px 4px rgba(7, 65, 86, 0.05);
  --shadow: 0 6px 24px rgba(7,65,86, 0.06);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.2s cubic-bezier(.5,.01,.15,1);
}

/* --- TYPOGRAPHY SCALE & SYSTEM --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1.13;
}
h1 {
  font-size: 2.75rem; /* 44px */
  margin-bottom: 28px;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem; /* 24px */
  margin-bottom: 14px;
}
h4 {
  font-size: 1.25rem; /* 20px */
  margin-bottom: 10px;
}
p, li {
  font-size: 1rem;
  margin-bottom: 12px;
}
.subtitle {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.4;
}

strong { font-weight: 600; }

/* --- LAYOUT CONTAINERS & FLEX PATTERNS --- */
.container {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--bg-grey);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  flex: 1 1 220px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow);
  transform: translateY(-4px) scale(1.02);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 28px;
  margin-bottom: 20px;
  background: var(--bg-grey);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
  position: relative;
  max-width: 550px;
  transition: box-shadow var(--transition), background var(--transition);
}
.testimonial-card:hover {
  background: #fffbe5;
  box-shadow: var(--shadow);
}
.testimonial-name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
  font-size: 1.1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: var(--bg-light);
  border-bottom: 1px solid #e6eaed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 68px;
  position: sticky;
  top: 0;  
  z-index: 1000;
}
.logo-link {
  display: flex;
  align-items: center;
  margin-right: 18px;
  height: 100%;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
}
.main-nav a {
  color: var(--primary);
  padding: 6px 6px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}
.cta-btn.primary, .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--primary);
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  padding: 12px 28px;
  min-width: 170px;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  border: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform 0.14s cubic-bezier(.5,.01,.15,1);
  margin-left: 26px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: var(--shadow);
}
.cta-btn.primary {
  background: var(--secondary);
  color: var(--primary);
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: var(--primary);
  color: var(--accent);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  color: var(--primary);
  padding: 7px;
  cursor: pointer;
  border-radius: 8px;
  margin-left: 20px;
  transition: background var(--transition);
  z-index: 1201;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #e6eaed;
}

/* --- MOBILE MENU STYLES AND ANIMATION --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 65, 86, 0.97);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.25s, transform 0.3s cubic-bezier(.42,0,.43,1.29);
}
.mobile-menu.active {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  color: #fff;
  border: none;
  cursor: pointer;
  margin: 18px 18px 6px 0;
  align-self: flex-end;
  border-radius: 8px;
  padding: 4px 9px;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(255,255,255,0.14);
}
.mobile-nav {
  width: 100%;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 30px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 16px 0;
  border-radius: 10px 0 0 10px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* --- HERO SECTION --- */
.hero {
  display: flex;
  align-items: center;
  min-height: 300px;
  padding: 60px 0 32px 0;
  background: var(--bg-light);
  box-shadow: none;
  margin-bottom: 40px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  max-width: 520px;
  gap: 18px;
}

/* --- SECTION GENERAL --- */
section {
  width: 100%;
  background: transparent;
}
section .container {
  padding: 0 0;
}

/* --- TABLE STYLES (used in usluge.html) --- */
table {
  width: 100%;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
  border-collapse: collapse;
  font-size: 1rem;
  margin-bottom: 30px;
  margin-top: 10px;
}
thead {
  background: var(--bg-grey);
}
thead th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  color: var(--primary);
  text-align: left;
  padding: 16px 12px;
}
tbody tr {
  border-bottom: 1px solid #f0f0f0;
}
td {
  padding: 14px 12px;
  font-size: 1rem;
}
tr:last-child td {
  border-bottom: none;
}

/* --- MAP PLACEHOLDER --- */
.map-placeholder {
  background: #e6eaed;
  border-radius: var(--radius-sm);
  color: var(--primary);
  padding: 22px 16px;
  font-weight: 500;
  margin-bottom: 14px;
  box-shadow: var(--shadow-xs);
}

/* --- FOOTER --- */
footer {
  width: 100%;
  background: var(--bg-light);
  border-top: 1px solid #e6eaed;
  margin-top: 70px;
  padding: 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px 20px 20px 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 1rem;
}
.footer-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.2s;
  padding: 4px 0;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
}
.footer-info {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #5d6d74;
  font-size: 0.97rem;
  flex-wrap: wrap;
  margin-top: 6px;
}
.footer-info img {
  width: 44px;
  height: auto;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -8px 24px rgba(7,65,86,0.12);
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2000;
  transition: transform 0.32s cubic-bezier(.42,0,.43,1.29), opacity 0.26s;
  gap: 18px;
  border-radius: 22px 22px 0 0;
  opacity: 1;
}
.cookie-banner.hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-message {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--primary);
}
.cookie-btns {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--accent);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-xs);
}
.cookie-btn.secondary {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  box-shadow: var(--shadow);
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: var(--primary);
  color: var(--accent);
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal {
  position: fixed;
  z-index: 2100;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 30%) scale(0.98);
  min-width: 330px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(7,65,86,0.13);
  padding: 34px 26px 24px 26px;
  display: none;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  transition: opacity 0.25s, transform 0.33s cubic-bezier(.51,.02,.17,1);
  max-width: 98vw;
}
.cookie-modal.active {
  display: flex;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal-header {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--primary);
}
.cookie-modal-close {
  font-size: 1.5rem;
  color: var(--primary);
  background: none;
  border-radius: 10px;
  padding: 3px 9px;
  cursor: pointer;
  transition: background 0.14s;
  border: none;
}
.cookie-modal-close:hover {
  background: #e6eaed;
}
.cookie-modal-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 8px 0;
  gap: 12px;
}
.cookie-toggle-label {
  font-size: 1.02rem;
  color: var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-toggle-switch {
  appearance: none;
  width: 42px;
  height: 22px;
  background: #dee5ea;
  border-radius: 14px;
  position: relative;
  transition: background var(--transition);
  outline: none;
}
.cookie-toggle-switch:checked {
  background: var(--primary);
}
.cookie-toggle-switch:before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 2px; top: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition);  
}
.cookie-toggle-switch:checked:before {
  transform: translateX(20px);
}
.cookie-toggle-switch[disabled] {
  opacity: .6;
  cursor: default;
  background: #b4bec7;
}
.cookie-modal-actions {
  margin-top: 8px;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

/* --- GENERAL SPACING CLASSES --- */
.mt-8 {margin-top:8px!important;}
.mt-16 {margin-top:16px!important;}
.mb-16 {margin-bottom:16px!important;}
.mb-24 {margin-bottom:24px!important;}
.gap-20 { gap: 20px!important; }
.gap-24 { gap: 24px!important; }

/* --- RESPONSIVE STYLES --- */
@media (max-width: 1100px) {
  .container { max-width: 100%; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  footer .container, header { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 768px) {
  html { font-size: 97%; }
  body { font-size: 15px; }
  header {
    flex-wrap: wrap;
    height: 56px;
    padding: 0 10px;
  }
  .logo-link img { height: 36px; }
  .main-nav { display: none; }
  .cta-btn.primary, .cta-btn { min-width: 125px; font-size: 0.97rem; margin-left: 7px; }
  .mobile-menu-toggle { display: inline-flex; }
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 20px 10px 18px 10px; }
  .content-wrapper { gap: 20px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.08rem; }
}
@media (max-width: 600px) {
  .container { padding-left: 4px; padding-right: 4px; }
  .section { padding: 32px 6px; }
  .footer-info { gap: 7px; font-size: 0.92rem; }
  .footer-info img { width: 34px; }
  .content-wrapper { gap: 13px; }
  .hero { padding: 44px 0 22px 0; }
}
@media (max-width: 480px) {
  .testimonial-card, .card {padding: 15px 8px; font-size: .95rem;}
  .cta-btn.primary, .cta-btn {font-size: 0.95rem;padding: 9px 15px;}
  table thead th, td {padding: 10px 6px;}
  .section {padding-top:22px;padding-bottom:22px;}
}

/* --- FLEX RESPONSIVENESS --- */
@media (max-width: 768px) {
  .content-grid,
  .card-container,
  .footer-info,
  .text-image-section,
  .testimonial-card {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: flex-start !important;
  }
  .feature-item { gap: 10px; }
  .footer-nav { gap: 11px; font-size: .97rem; }
}
@media (max-width: 580px) {
  .mobile-menu .mobile-nav a { font-size: 1.08rem; }
}

/* --- SPECIAL CLASSES AND ATTRIBUTES --- */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
}
dd, dl, dt {margin:0;}
ul, ol {
  margin-left: 0;
  margin-bottom: 4px;
}
ul li, ol li { margin-bottom: 12px; position:relative; }
ul li:last-child, ol li:last-child { margin-bottom: 0; }
ul li:before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
  margin-right: 13px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
ol li:before {
  display: none;
}
table th, table td {border-bottom: 1px solid #f3f3f3;}
table thead th {border-bottom: 2px solid #e6eaed;}
table tr:last-child td {border-bottom: none;}
table th, table td {text-align:left;}
table {overflow-x: auto;}

/* --- MICRO-INTERACTIONS, HOVER/FOCUS --- */
a, .cta-btn, button, .cookie-btn, .mobile-menu-close, .cookie-modal-close {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
}
a:active, .cta-btn:active {transform:scale(0.97);}
.cta-btn:focus-visible { outline:2px solid var(--secondary);}
.main-nav a.active, .footer-nav a.active { color: var(--secondary); }

/* --- UTILITIES --- */
.hide {display:none;}
.visible {display:block;}

/* --- END --- */
