/* --- RESET & BASE TYPOGRAPHY --- */
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;
}
html {
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #222;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background-color: #F6F5EE;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #2372A3;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #31927C;
  outline: none;
}
ul, ol {
  list-style: none;
}
section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(35,114,163,0.04), 0 1.5px 3px rgba(49,146,124,0.03);
  margin-bottom: 60px;
  padding: 40px 20px;
  box-sizing: border-box;
  position: relative;
}
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1rem;
  color: #222;
}
/* --- TYPOGRAPHY SCALE --- */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1.13;
  color: #2372A3;
  margin-bottom: 16px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.18;
  color: #126245;
  margin-bottom: 12px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.3rem;
  color: #2372A3;
  margin-bottom: 8px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
}
p, li, address {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #222;
  margin-bottom: 0.6em;
  line-height: 1.7;
}
.subheadline {
  color: #126245;
  font-size: 1.18rem;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.6;
}
blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-style: italic;
  color: #2372A3;
  border-left: 3px solid #31927C;
  margin: 10px 0 10px 0;
  padding: 8px 0 8px 20px;
  background: #F6F5EE;
  border-radius: 6px;
}
/* --- SPACING & ALIGNMENT PATTERNS --- */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; box-shadow: 0 2px 16px rgba(35,114,163,0.06); border-radius: 12px; background: #fff; position: relative; transition: box-shadow .24s; }
.card:hover { box-shadow: 0 4px 32px rgba(35,114,163,0.08); }
.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; align-items: center; gap: 20px; padding: 20px; box-shadow: 0 1.5px 7px rgba(35,114,163,0.07); background: #F6F5EE; border-radius: 14px; min-width: 0; margin-bottom: 24px; border: 1px solid #e7e7e0; transition: box-shadow 0.2s, border-color 0.2s; }
.testimonial-card:hover { box-shadow: 0 6px 20px rgba(49,146,124,0.10); border-color: #31927C22; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; padding: 0 6px 18px 0; background: transparent; }

/* --- FLEX LAYOUTS FOR LISTS & GRIDS --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item img {
  width: 48px;
  height: 48px;
  filter: grayscale(1) brightness(0.6);
}
.service-list, .termalni-programi-list, .package-list, .wellness-list, .blog-post-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 12px;
}
.benefits-list, .package-highlights, .short-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-bottom: 20px;
}
.benefits-list li, .package-highlights li, .short-facts li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  background: #F6F5EE;
  border-radius: 7px;
  padding: 7px 18px;
  color: #126245;
  box-shadow: 0 1px 4px rgba(35,114,163,0.04);
}
.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 12px;
  align-items: center;
  font-size: 0.98rem;
}
.blog-categories span {
  background: #2372A3;
  color: #fff;
  padding: 3px 10px;
  border-radius: 7px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.service-price {
  background: #F6F5EE;
  color: #126245;
  border-radius: 8px;
  padding: 1px 10px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-left: 12px;
}

/* --- BUTTONS & LINKS --- */
.primary-cta,
.newsletter-signup a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2372A3;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  border-radius: 32px;
  padding: 14px 38px;
  box-shadow: 0 4px 20px rgba(35,114,163,0.08);
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.18s, box-shadow 0.23s, color 0.15s, transform 0.15s;
  outline: none;
}
.primary-cta:hover, .primary-cta:focus,
.newsletter-signup a:hover, .newsletter-signup a:focus {
  background: #31927C;
  color: #fff;
  box-shadow: 0 8px 32px rgba(49,146,124,0.13);
  transform: translateY(-2px) scale(1.025);
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #126245;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 30px;
  padding: 10px 28px;
  border: 1.5px solid #31927C;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  text-align: center;
  outline: none;
}
.button-secondary:hover, .button-secondary:focus {
  background: #31927C;
  color: #fff;
  border-color: #126245;
}

/* --- HEADER --- */
header {
  background: #fff;
  box-shadow: 0 2px 18px rgba(35,114,163,0.05);
  padding: 0;
  width: 100vw;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  gap: 0;
}
header img {
  max-height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  color: #126245;
  letter-spacing: 0.01em;
  padding: 6px 8px;
  transition: color 0.18s, background 0.13s, border-radius 0.16s;
  border-radius: 10px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #2372A3;
  background: #F6F5EE;
}
.main-nav .primary-cta {
  margin-left: 20px;
  padding: 11px 28px;
  font-size: 1rem;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #2372A3;
  padding: 6px 12px;
  cursor: pointer;
  margin-left: 18px;
  border-radius: 6px;
  transition: background 0.14s, color 0.13s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F6F5EE;
  color: #31927C;
}
/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100vw);
  transition: transform 0.36s cubic-bezier(.82,0,.15,1);
  box-shadow: 0 12px 48px rgba(35,114,163,0.12);
  opacity: 0.99;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  animation: mobileMenuSlideIn 0.37s cubic-bezier(.82,0,.16,1);
}
@keyframes mobileMenuSlideIn {
  from { transform: translateX(100vw); } to { transform: translateX(0); }
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #2372A3;
  padding: 18px 16px 10px 16px;
  margin-right: 4px;
  cursor: pointer;
  transition: color 0.15s, background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #31927C;
  background: #F6F5EE;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0px;
  margin: 30px 0 0 0;
}
.mobile-nav a {
  color: #126245;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.22rem;
  padding: 20px 32px 20px 32px;
  border-bottom: 1.5px solid #F6F5EE;
  transition: background 0.13s, color 0.14s;
  border-radius: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6F5EE;
  color: #2372A3;
}
.mobile-nav .primary-cta {
  margin: 22px 34px 0 34px;
  padding: 11px 0;
  justify-content: flex-start;
}

/* Hide/show nav for mobile */
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 1021px) {
  .mobile-menu { display: none !important; }
}
/* --- MAIN --- */
main {
  margin-top: 0;
  margin-bottom: 0;
  min-height: 60vh;
}
/* --- FORMS (Newsletter) --- */
.newsletter-signup {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 16px;
}
.newsletter-signup a {
  font-size: 1rem;
  padding: 10px 22px;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  background: #fff;
  color: #222;
  font-size: 1.05rem;
  margin-bottom: 20px;
  border-left: 4px solid #2372A3;
  box-shadow: 0 3px 16px rgba(35,114,163,0.045);
}
.testimonial-card p {
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.11rem;
}
.testimonial-meta {
  margin-left: auto;
  padding-left: 26px;
  color: #126245;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
}

/* --- FOOTER --- */
footer {
  background: #2372A3;
  color: #fff;
  width: 100vw;
  padding: 0 0 0 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px 32px;
  padding: 32px 18px 26px 18px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 165px;
}
.footer-menu a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  text-decoration: none;
  opacity: 0.93;
  letter-spacing: 0.01em;
  transition: opacity 0.17s, color 0.15s;
}
.footer-menu a:hover, .footer-menu a:focus {
  opacity: 1;
  color: #31927C;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}
.footer-contact img {
  width: 45px; height: 45px;
}
.footer-contact .text-section {
  color: #fff;
  font-size: 1rem;
  gap: 2px;
}
.footer-contact a {
  color: #fff;
  text-decoration: underline;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.13s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #F6F5EE;
  opacity: 1;
}
.footer-social {
  display: flex;
  gap: 18px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  filter: grayscale(1) brightness(2.7);
  opacity: 0.83;
  transition: opacity 0.17s, filter 0.22s;
}
.footer-social a:hover img {
  opacity: 1;
  filter: grayscale(0) brightness(1.1);
}

.newsletter-signup p {
  color: #fff;
  font-size: 1rem;
}
.newsletter-signup a {
  background: #fff;
  color: #2372A3;
  margin-top: 3px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 28px;
  box-shadow: 0 2px 11px rgba(35,114,163,0.08);
}
.newsletter-signup a:hover, .newsletter-signup a:focus {
  background: #31927C;
  color: #fff;
}
/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1150px) {
  .container { max-width: 97vw; }
}
@media (max-width: 900px) {
  .container { max-width: 99vw; }
  footer .container { flex-direction: column; gap: 30px 0; padding: 32px 13px 22px 13px; }
  .footer-contact { flex-direction: column; gap: 11px; }
  .main-nav { gap: 18px; }
}
@media (max-width: 768px) {
  .section { padding: 28px 7px; }
  .container { padding: 0 7px; }
  .footer-contact img { width: 37px; height: 37px; }
  .feature-grid, .benefits-list, .package-highlights, .short-facts { gap: 16px 0; }
  .content-wrapper { gap: 22px; }
  h1, .h1 { font-size: 1.7rem; }
  h2, .h2 { font-size: 1.25rem; }
  h3, .h3 { font-size: 1.03rem; }
  .primary-cta, .newsletter-signup a { padding: 11px 17vw; font-size: 1rem; }
  .feature-item img { width: 40px; height: 40px; }
}
@media (max-width: 600px) {
  .container { max-width: 100vw; }
  .footer-social { gap: 10px; }
}
@media (max-width: 540px) {
  .section { padding: 16px 2vw; margin-bottom: 32px; }
  .container { padding: 0 1vw; }
  .footer-menu { min-width: unset; }
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; }
  .content-grid { flex-direction: column; gap: 20px; }
}
/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -4px 32px rgba(35,114,163,0.11);
  z-index: 1600;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 19px 10vw 14px 25px;
  font-size: 1rem;
  border-radius: 18px 18px 0 0;
  animation: cookieSlideIn 0.58s cubic-bezier(.54,1.6,.19,0.93);
}
@keyframes cookieSlideIn {
  from { transform: translateY(150px); opacity: 0; } to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  margin: 0 10px 0 0;
  min-width: 170px;
}
.cookie-banner .cookie-actions {
  display: flex; flex-direction: row; gap: 14px;
}
.cookie-banner button {
  padding: 9px 20px;
  border-radius: 21px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  margin: 0;
  outline: none;
  transition: background 0.15s, color 0.13s;
}
.cookie-banner .accept {
  background: #2372A3;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #31927C;
}
.cookie-banner .reject {
  background: #fff;
  color: #2372A3;
  border: 1.5px solid #2372A3;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #F6F5EE;
}
.cookie-banner .settings {
  background: #fff;
  color: #126245;
  border: 1.5px solid #31927C;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #F6F5EE;
  color: #31927C;
}

/* --- COOKIE MODAL --- */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(35,114,163,0.17);
  z-index: 1700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.18s;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 40px rgba(35,114,163,0.12), 0 1px 4px rgba(49,146,124,0.04);
  padding: 38px 32px 22px 32px;
  min-width: 300px;
  max-width: 94vw;
  width: 420px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalPopIn 0.28s cubic-bezier(.54,1.4,.19,0.93);
}
@keyframes cookieModalPopIn {
  from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  color: #2372A3;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-category input[type=checkbox]:checked {
  accent-color: #2372A3;
}
.cookie-category .category-label {
  color: #126245;
  flex: 1;
}
.cookie-category .always-on {
  color: #31927C;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-left: 9px;
  font-size: 0.98em;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 15px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #2372A3;
  cursor: pointer;
  transition: color 0.12s;
  border-radius: 5px;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #31927C;
  background: #F6F5EE;
}
@media (max-width: 700px) {
  .cookie-banner {
    padding: 14px 10px 11px 11px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .cookie-banner .cookie-actions { flex-wrap: wrap; gap: 10px; }
  .cookie-modal { max-width: 96vw; min-width: unset; padding: 28px 8vw 18px 8vw; }
}

/* --- MISC: HIDE FOR JS COMPONENTS ---*/
.mobile-menu, .cookie-banner, .cookie-modal-backdrop { display: none; }

/* --- UTILITY CLASSES --- */
.d-none { display: none!important; }
.text-center { text-align: center; }
.mt-4 { margin-top: 24px; }
.mb-2 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 24px; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.gap-2 { gap: 14px; }
.rounded { border-radius: 12px; }
.bg-primary { background: #2372A3; color: #fff; }
.bg-secondary { background: #F6F5EE; color: #126245; }
.bg-accent { background: #31927C; color: #fff; }

/* --- END OF STYLE --- */
