/* =====================================================================
   CSS RESET & BASE TYPOGRAPHY - Minimalist, Modern, Mobile-first
   ===================================================================== */
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-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 16px;
  background: #F8FAF5;
  color: #18416A;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F8FAF5;
  color: #18416A;
}
a {
  color: #18416A;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #6CB646;
  outline-offset: 2px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
strong {
  font-weight: 700;
}

/* =====================================================================
   BRAND TYPOGRAPHY SCALE
   ===================================================================== */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
}

p {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: #18416A;
}

blockquote {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.7;
  color: #18416A;
  margin-bottom: 8px;
}

/* =====================================================================
   MAIN LAYOUT CONTAINERS
   ===================================================================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

@media (max-width: 768px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 40px;
  }
  .container {
    padding: 0 10px;
  }
}

/* =====================================================================
   HEADER & NAVIGATION
   ===================================================================== */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(24,65,106, 0.05);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 72px;
}
.logo img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-left: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 4px;
  color: #18416A;
  opacity: 0.85;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F8FAF5;
  color: #6CB646;
  opacity: 1;
}
.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #6CB646;
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 26px;
  box-shadow: 0 2px 16px 0 rgba(108,182,70,0.08);
  transition: background 0.22s, box-shadow 0.22s, color 0.22s;
  cursor: pointer;
  margin-left: 32px;
  margin-right: 0;
  display: inline-block;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #18416A;
  color: #fff;
  box-shadow: 0 6px 28px rgba(24,65,106,0.08);
}
@media (max-width: 1050px) {
  .main-nav {
    gap: 16px;
    margin-left: 12px;
  }
  .btn-primary {
    margin-left: 16px;
    padding: 10px 22px;
  }
}

/* MOBILE NAVIGATION - Burger Menu */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 18px;
  z-index: 35;
  padding: 10px 14px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #18416A;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F8FAF5;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 50;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.38,0.9,0.44,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 28px 16px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #18416A;
  font-size: 2.4rem;
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 56;
  cursor: pointer;
  border-radius: 6px;
  padding: 8px 10px;
  transition: background 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F8FAF5;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 56px;
  margin-bottom: 26px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  padding: 10px 2px;
  color: #18416A;
  opacity: 1;
  text-align: left;
  border-bottom: 1px solid #F4F4F4;
  transition: color 0.14s;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #6CB646;
}

@media (max-width: 900px) {
  .main-nav,
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =====================================================================
   MAIN & FLEXBOX CONTENT LAYOUTS
   ===================================================================== */
.feature-grid, .guide-grid, .content-grid, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.feature-grid > div, .guide-grid > div, .card {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(24,65,106,0.07);
  padding: 24px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.16s;
  margin-bottom: 20px;
  min-width: 210px;
}
.feature-grid > div:hover, .guide-grid > div:hover, .card:hover {
  box-shadow: 0 8px 32px rgba(24,65,106,0.13);
  transform: translateY(-2px) scale(1.025);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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;
}
@media (max-width: 768px) {
  .feature-grid, .guide-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid > div, .guide-grid > div, .card {
    min-width: 0;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

ul {
  margin-bottom: 18px;
}
ul li {
  padding-left: 0;
  margin-bottom: 10px;
  line-height: 1.7;
  font-size: 1rem;
  color: #18416A;
  display: flex;
  align-items: center;
  gap: 12px;
}
ul li img {
  height: 24px;
  width: 24px;
}

/* =====================================================================
   TESTIMONIALS (OPINIE, HISTORIE)
   ===================================================================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(24,65,106,0.10);
  max-width: 650px;
}
.testimonial-card blockquote {
  color: #18416A;
  font-size: 1.08rem;
  margin-bottom: 6px;
  quotes: '\201C''\201D''\2018''\2019';
}
.testimonial-card p {
  margin-bottom: 0;
  color: #18416A;
  font-size: 0.98rem;
  font-style: normal;
  font-family: 'Montserrat', Arial, sans-serif;
}

@media (max-width: 768px) {
  .testimonial-card {
    max-width: 100%;
    padding: 16px 10px;
  }
}

/* =====================================================================
   FOOTER
   ===================================================================== */
footer {
  background: #fff;
  border-top: 1px solid #F0F3F7;
  margin-top: 40px;
  padding: 36px 0 16px 0;
}
footer .container {
  flex-direction: row;
  gap: 56px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-logo img {
  height: 36px;
  margin-bottom: 6px;
}
.footer-nav {
  flex: 1 1 170px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 38px;
}
.footer-nav a {
  font-size: 1rem;
  color: #18416A;
  opacity: 0.82;
  border-radius: 6px;
  padding: 4px 0;
  transition: color 0.18s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #6CB646;
  opacity: 1;
}
.footer-contact {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  font-size: 0.94rem;
}
.footer-contact p {
  margin-bottom: 0;
  color: #18416A;
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer-contact img {
  height: 18px;
  width: 18px;
}
@media (max-width: 1000px) {
  footer .container {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
  .footer-nav {
    margin-left: 0;
    margin-top: 8px;
    flex-direction: row;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  footer {
    padding: 24px 0 12px 0;
  }
  .footer-logo img {
    height: 26px;
  }
}

/* =====================================================================
   SPECIAL FLEXBOX CLASSES (MANDATORY LAYOUTS)
   ===================================================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  min-width: 230px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .feature-item,
  .testimonial-card {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =====================================================================
   FILTERS (ROUTE & CATEGORY FILTERS)
   ===================================================================== */
.route-filters,
.category-filters {
  margin: 15px 0 0 0;
  padding: 0;
}
.route-filters h3, .category-filters h3 {
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 9px;
  color: #18416A;
}
.route-filters ul, .category-filters ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.route-filters li, .category-filters li {
  background: #F8FAF5;
  font-size: 0.98rem;
  color: #18416A;
  border-radius: 18px;
  padding: 7px 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 6px rgba(24,65,106, 0.03);
}

/* =====================================================================
   BUTTONS & INTERACTIONS
   ===================================================================== */
.btn-primary,
.button,
button {
  cursor: pointer;
  outline: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s;
}
.button {
  background: #6CB646;
  color: #fff;
  border: none;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 22px;
  font-size: 1rem;
  margin: 12px 0 0 0;
}
.button:hover, .button:focus {
  background: #18416A;
  color: #fff;
}

/* Minor interactive micro-interaction */
a, button, .btn-primary, .button {
  transition: background 0.16s, color 0.16s, box-shadow 0.18s, border 0.14s;
}

/* =====================================================================
   FORM STYLES & TEXT SECTIONS
   ===================================================================== */
.text-section {
  margin-top: 12px;
  margin-bottom: 16px;
}
.text-section h2, .text-section h3, .text-section h4 {
  margin-bottom: 6px;
}

/* =====================================================================
   COOKIE CONSENT BANNER & MODAL
   ===================================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -8px 32px rgba(24,65,106, 0.09), 0 -1px 0 #F0F3F7;
  z-index: 1001;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 22px 16px;
  min-height: 70px;
  gap: 36px;
  animation: cookieSlideUp 0.7s cubic-bezier(0.36,1,0.37,1);
}
@keyframes cookieSlideUp {
  from { transform: translateY(100px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 0;
  font-size: 0.99rem;
  color: #18416A;
  flex: 1 0 180px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-button {
  background: #6CB646;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 22px;
  padding: 9px 22px;
  font-size: 0.98rem;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
}
.cookie-button.settings {
  background: #fff;
  color: #18416A;
  border: 1px solid #E4E9EF;
}
.cookie-button.reject {
  background: #F8FAF5;
  color: #18416A;
  border: 1px solid #E4E9EF;
}
.cookie-button:hover, .cookie-button:focus {
  background: #18416A;
  color: #fff;
}
.cookie-button.settings:hover, .cookie-button.settings:focus {
  background: #F8FAF5;
  color: #6CB646;
  border-color: #6CB646;
}

@media (max-width: 730px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 8px;
  }
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(24,65,106,0.22);
  z-index: 1040;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInBg 0.33s;
}
@keyframes fadeInBg {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 48px rgba(24,65,106,0.17);
  padding: 34px 26px 28px 26px;
  max-width: 95vw;
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalBounce 0.33s cubic-bezier(0.45,1.5,0.5,1);
  position: relative;
}
@keyframes modalBounce {
  from { transform: translateY(48px) scale(0.95); opacity: 0; } 
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #18416A;
}
.cookie-modal-content ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 7px;
}
.cookie-modal-content li {
  display: flex;
  align-items: center;
  font-size: 0.98rem;
  gap: 9px;
}
.cookie-modal-content .cookie-toggle {
  margin-left: auto;
  border-radius: 13px;
  background: #F8FAF5;
  width: 36px; height: 22px;
  position: relative;
  border: 1px solid #E4E9EF;
  display: flex;
  align-items: center;
  transition: border-color 0.16s;
}
.cookie-modal-content .cookie-toggle input {
  display: none;
}
.cookie-modal-content .toggle-slider {
  position: absolute;
  left: 2px;
  top: 2px;
  bottom: 2px;
  width: 18px;
  background: #6CB646;
  border-radius: 12px;
  transition: left 0.16s, background 0.16s;
}
.cookie-modal-content .cookie-toggle input:checked + .toggle-slider {
  left: 16px;
  background: #18416A;
}
.cookie-modal-content .cookie-toggle.disabled {
  opacity: 0.54;
  pointer-events: none;
}
.cookie-modal-content .cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 12px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #18416A;
  cursor: pointer;
}
.cookie-modal-content .cookie-modal-close:hover {
  color: #6CB646;
}
@media (max-width: 480px) {
  .cookie-modal-content {
    padding: 18px 5px 18px 16px;
    width: 96vw;
  }
}

/* =====================================================================
   ANIMATIONS & MICRO-INTERACTIONS
   ===================================================================== */
.card, .feature-grid > div, .guide-grid > div, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.16s;
  will-change: box-shadow, transform;
}
.card:hover, .feature-grid > div:hover, .guide-grid > div:hover {
  box-shadow: 0 10px 44px rgba(24,65,106,0.12);
  transform: translateY(-4px) scale(1.04);
}
.btn-primary:active, .cookie-button:active {
  transform: scale(0.99);
}

/* =====================================================================
   UTILITY CLASSES
   ===================================================================== */
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 16px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-primary { color: #18416A !important; }
.text-secondary { color: #6CB646 !important; }
.bg-accent { background: #F8FAF5 !important; }

/* Hide visually, keep accessible */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

/* =====================================================================
   RESPONSIVE MEDIA QUERIES
   ===================================================================== */
@media (max-width: 750px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.43rem; }
}
@media (max-width: 450px) {
  h1, .h1 { font-size: 1.38rem; }
  h2, .h2 { font-size: 1.13rem; }
  h3, .h3 { font-size: 0.99rem; }
  .btn-primary, .cookie-button, .button {
    font-size: 0.97rem;
    padding: 9px 14px;
  }
}

/* =====================================================================
   SCROLLBARS STYLING (Subtle, Minimal)
   ===================================================================== */
::-webkit-scrollbar {
  width: 8px;
  background: #F8FAF5;
}
::-webkit-scrollbar-thumb {
  background: #E4E9EF;
  border-radius: 12px;
}

/* =====================================================================
   END - MINIMALIST BRAND STYLES
   ===================================================================== */
