/* YonderPath Dogodki – style.css – Warm Friendly Design */

/* --- CSS RESET & BASE --- */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #FFF;
  color: #1D3557;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
}

img,
svg {
  max-width: 100%;
  vertical-align: middle;
}

ul, ol {
  list-style: none;
  margin: 0 0 1em 0;
  padding: 0;
}
a {
  color: #F4A259;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #d98b32;
}
button, .cta {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, border 0.2s;
}

/* --- BASE TYPOGRAPHY --- */
h1, .section-hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: #1D3557;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  color: #1D3557;
  margin-bottom: 24px;
  letter-spacing: -.5px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: #1D3557;
  margin-bottom: 12px;
}
p, .text-section p, li, .footer-contact {
  font-size: 1rem;
  color: #453a28;
  margin-bottom: 12px;
}
strong {
  color: #1D3557;
  font-weight: 700;
}

/* --- CONTAINERS & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}

.section-hero {
  background: #EAE8E0;
  border-bottom-left-radius: 42px;
  border-bottom-right-radius: 42px;
  padding-top: 32px;
  padding-bottom: 32px;
  box-shadow: 0 2px 20px 0 rgba(244,162,89,0.07);
  margin-bottom: 60px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 18px;
}
.text-section {
  gap: 12px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px 0 rgba(29,53,87,0.08);
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 36px 0 rgba(244,162,89,0.16);
  transform: translateY(-2px) scale(1.015);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.features, .feature-item {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  flex-direction: column;
  align-items: flex-start;
}
.feature-item {
  gap: 12px;
}

/* Testimonials Layout */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff8f1;
  border-radius: 24px;
  box-shadow: 0 4px 16px 0 rgba(244,162,89,0.11);
  padding: 24px 26px;
  color: #1D3557;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 100%;
  font-size: 1rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card p {
  color: #1D3557;
  font-size: 1.05rem;
  margin: 0 0 12px 0;
}
.testimonial-card footer {
  color: #7a633c;
  font-style: normal;
  font-size: 0.98rem;
  margin-top: 6px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(244,162,89,0.21);
  transform: translateY(-2px) scale(1.012);
}

/* --- HEADER --- */
header {
  background: #FFF;
  box-shadow: 0 2px 15px 0 rgba(29,53,87,0.07);
  padding: 0;
  margin-bottom: 0;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 18px;
}
.logo img {
  height: 42px;
  border-radius: 12px;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-left: 16px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  color: #1D3557;
  padding: 7px 13px;
  border-radius: 8px;
  transition: background 0.18s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F4A259;
  color: #fff;
}
.cta.primary {
  background: #F4A259;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 32px;
  padding: 11px 34px;
  margin-left: 20px;
  box-shadow: 0 2px 8px 0 rgba(244,162,89,0.18);
  border: none;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
  text-align: center;
  text-decoration: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: #d98b32;
  box-shadow: 0 3px 18px 0 rgba(244,162,89,0.29);
  color: #fff;
  transform: scale(1.03);
}
.cta.secondary {
  background: #1D3557;
  color: #fff;
  border-radius: 32px;
  padding: 10px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  box-shadow: 0 1px 8px 0 rgba(29,53,87,0.08);
  border: none;
  margin-top: 18px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.2s;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #223f63;
  color: #F4A259;
}

/* Hamburger Mobile Button */
.mobile-menu-toggle {
  background: #F4A259;
  border-radius: 50%;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  margin-left: 18px;
  transition: background 0.14s, color 0.18s, box-shadow 0.22s;
  box-shadow: 0 2px 8px 0 rgba(244,162,89,0.13);
  z-index: 1052;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #d98b32;
  color: #fff;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff7ef;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  box-shadow: 0 2px 28px 0 rgba(29,53,87,0.33);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow-y: auto;
  padding: 0 0 50px 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #F4A259;
  color: #fff;
  border: none;
  font-size: 2.1rem;
  margin: 20px 0 22px 18px;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.12s;
  box-shadow: 0 2px 7px 0 rgba(244,162,89,0.09);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #d98b32;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 24px;
}
.mobile-nav a {
  color: #1D3557;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  padding: 10px 0 10px 5px;
  border-radius: 10px;
  transition: background 0.12s, color 0.14s;
  font-weight: 500;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4A259;
  color: #fff;
}

/* Only show mobile menu button on small screens */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 1020px) {
  header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* --- HERO --- */
.section-hero .content-wrapper {
  align-items: flex-start;
}
.section-hero h1 {
  color: #1D3557;
  font-size: 2.6rem;
  line-height: 1.15;
}
.section-hero p {
  color: #52381c;
  font-size: 1.12rem;
  margin-bottom: 18px;
}
@media (max-width:768px) {
  .section-hero {
    border-radius: 0 0 28px 28px;
    padding: 22px 0 22px 0;
  }
  .section-hero h1 {
    font-size: 2rem;
  }
  .container {
    padding: 0 12px;
  }
}

/* --- CARDS --- */
.card, .testimonial-card {
  margin-bottom: 20px;
}

.card-container, .content-grid {
  gap: 24px;
}

/* --- LISTS & FEATURES --- */
ul {
  padding-left: 0;
}
li {
  margin: 0 0 10px 0;
  padding-left: 0;
  position: relative;
}
li strong {
  color: #1D3557;
  font-weight: 700;
}
ul > li:before {
  content: ''; /* We use warm dot as icon */
  display: inline-block;
  margin-right: 10px;
  width: 9px; height: 9px;
  vertical-align: middle;
  border-radius: 50%;
  background: #F4A259;
}

.section > .container > h2 {
  margin-bottom: 24px;
}

/* --- FOOTER --- */
footer {
  background: #1D3557;
  color: #fff;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -2px 8px 0 rgba(29,53,87,0.10);
  margin-top: 60px;
  padding: 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 24px 18px 24px;
}
footer .logo img {
  height: 38px;
  border-radius: 9px;
  margin-bottom: 14px;
  background: #F4A259;
  padding: 4px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 3px;
}
.footer-nav a {
  color: #F4A259;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-contact {
  font-size: 0.98rem;
  color: #fff;
  line-height: 1.62;
  margin-top: 3px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  footer {
    border-radius: 24px 24px 0 0;
  }
}

/* --- RESPONSIVE RULES --- */
@media (max-width: 900px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 768px) {
  section, .section {
    padding: 28px 0 0 0;
    margin-bottom: 36px;
  }
  .card, .testimonial-card {
    padding: 17px 11px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 15px;
  }
}
@media (max-width: 640px) {
  h1, .section-hero h1 {
    font-size: 1.55rem;
    margin-bottom: 10px;
  }
  h2 {
    font-size: 1.14rem;
    margin-bottom: 14px;
  }
  .section-hero, section {
    padding: 13px 0 0 0;
  }
}

/* --- MISC & GENERAL STYLES --- */
::-webkit-input-placeholder { color: #9a7e54; }
::-moz-placeholder { color: #9a7e54; }
:-ms-input-placeholder { color: #9a7e54; }
::placeholder { color: #9a7e54; }

hr {
  border: none;
  border-top: 2.5px solid #F4A259;
  margin: 32px 0;
}

/* Visual Hierarchy and Spacing */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container,
.content-grid {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1400;
  background: #FFF8F1;
  border-top: 3px solid #F4A259;
  box-shadow: 0 -4px 22px 0 rgba(244,162,89,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 38px 18px 16px;
  gap: 18px;
  font-size: 1rem;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  animation: cookie-slideup 0.7s cubic-bezier(0.42, 0, 0.58, 1);
}
@keyframes cookie-slideup {
  from { transform: translateY(100%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner__text {
  color: #1D3557;
  line-height: 1.44;
  flex: 1 1 250px;
  margin-right: 24px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  border: none;
  border-radius: 20px;
  padding: 9px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.2s, color 0.17s, box-shadow 0.19s;
  cursor: pointer;
  margin: 0 2px;
  box-shadow: 0 1px 6px 0 rgba(244,162,89,0.14);
}
.cookie-btn.primary {
  background: #F4A259;
  color: #fff;
}
.cookie-btn.primary:hover {
  background: #d98b32;
}
.cookie-btn.secondary {
  background: #fff;
  color: #1D3557;
  border: 2px solid #F4A259;
}
.cookie-btn.secondary:hover {
  background: #F4A259;
  color: #fff;
}
.cookie-btn.outline {
  background: transparent;
  color: #1D3557;
  border: 2px solid #EAE8E0;
}
.cookie-btn.outline:hover {
  background: #EAE8E0;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 10px;
    gap: 12px;
  }
  .cookie-banner__text {
    margin-right: 0;
  }
  .cookie-banner__actions {
    width: 100%;
    gap: 10px;
  }
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(29,53,87,.42);
  z-index: 2000;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: fadeinback 0.35s;
}
.cookie-modal.active {
  display: flex;
}
@keyframes fadeinback {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal__dialog {
  background: #fff8f1;
  border-radius: 24px;
  box-shadow: 0 6px 30px 0 rgba(244,162,89,0.22);
  padding: 38px 32px 22px 32px;
  max-width: 400px;
  width: 96%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 4px solid #F4A259;
  color: #1D3557;
  animation: modalfadein 0.29s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
@keyframes modalfadein {
  from { transform: scale(0.93); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
}
.cookie-modal__close {
  background: #F4A259;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #d98b32;
}
.cookie-preferences {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: #F4A259;
  width: 20px;
  height: 20px;
}
.cookie-category-essential input {
  accent-color: #ccc;
}
.cookie-category-essential label {
  color: #8a7b64;
}
.cookie-category label {
  cursor: pointer;
}

/* --- MISC BUTTON & LINK STYLES --- */
button:focus, .cta:focus, .cookie-btn:focus {
  outline: 2px solid #F4A259;
  outline-offset: 2px;
}

a.cta, button.cta {
  text-decoration: none;
}

input, textarea, select {
  border-radius: 12px;
  border: 2px solid #EAE8E0;
  padding: 9px 14px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #1D3557;
  box-shadow: 0 2px 6px 0 rgba(244,162,89,0.07);
  transition: border 0.18s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid #F4A259;
  outline: none;
}

/* --- UTILITIES & OVERRIDES --- */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-24 { margin-top: 24px !important; }
.pb-0 { padding-bottom: 0 !important; }
.text-center { text-align: center !important; }
.flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.space-between { justify-content: space-between !important; }
.align-center { align-items: center !important; }

/* --- END OF STYLES --- */
