/* RESET & BASE =================================================== */
html { box-sizing: border-box; font-size: 16px; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
body {
  background: #FFFFFF;
  color: #203040;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img, picture { max-width: 100%; display: block; height: auto; border: none; }
a { color: #145DA0; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #EF7C18; outline: none; }
ul, ol { padding-left: 1.5em; margin-bottom: 1em; }
p + p { margin-top: 1em; }
button, input, select, textarea { font: inherit; outline: none; border: none; background: none; }
button { cursor: pointer; transition: background 0.2s, color 0.2s; }
hr { border: 0; border-top: 1px solid #ECECEC; margin: 30px 0; }
:root {
  --pj-primary: #145DA0;
  --pj-secondary: #F3F3F3;
  --pj-white: #FFFFFF;
  --pj-accent: #EF7C18;
  --pj-dark: #203040;
  --pj-gray: #ECECEC;
  --pj-radius: 10px;
  --pj-shadow: 0 2px 12px 0 rgba(32,48,64,0.05);
}

/* TYPOGRAPHY ======================================================= */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--pj-primary);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  line-height: 1.2;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--pj-dark);
  margin-bottom: 20px;
  line-height: 1.23;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--pj-primary);
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--pj-dark);
}
p, ul, ol { font-size: 1rem; margin-bottom: 16px; }
ul li, ol li { margin-bottom: 7px; }
strong { color: var(--pj-primary); font-weight: 600; }
em { color: var(--pj-accent); }

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--pj-white);
  border-radius: var(--pj-radius);
  box-shadow: var(--pj-shadow);
}

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

/* FLEXBOX LAYOUTS - CARDS & GRID =================================== */
.card-container, .content-grid, .destination-cards, .offers-list, .service-grid, .inspiration-stories {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container { gap: 24px; }
.card {
  background: var(--pj-white);
  border-radius: var(--pj-radius);
  box-shadow: var(--pj-shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 230px;
  padding: 24px;
}
.content-grid { gap: 20px; justify-content: space-between; }
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 16px; }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  min-width: 250px;
  background: var(--pj-secondary);
  border-radius: var(--pj-radius);
  box-shadow: 0 1px 4px 0 rgba(32, 48, 64, 0.07);
  margin-bottom: 20px;
}
.testimonial-card p {
  color: var(--pj-dark);
  font-size: 1.08rem;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #42506b;
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* OFFER & DESTINATION CARDS =================================== */
.destinaton-cards, .offers-list { gap: 24px; }
.destination-card, .offer-tile {
  background: var(--pj-white);
  border: 1px solid var(--pj-gray);
  border-radius: var(--pj-radius);
  box-shadow: var(--pj-shadow);
  padding: 20px 18px;
  flex: 1 1 250px;
  min-width: 200px;
  margin-bottom: 20px;
}
.destination-card h3, .offer-tile strong { margin-bottom: 10px; display: block; color: var(--pj-primary); font-size:1.09rem; }

@media (max-width: 768px) {
  .content-grid, .destination-cards, .offers-list, .service-grid, .inspiration-stories { flex-direction: column; gap: 16px; }
}

/* HERO ================================================ */
.hero {
  background: var(--pj-primary);
  color: var(--pj-white);
  border-radius: 0 0 var(--pj-radius) var(--pj-radius);
  padding: 72px 0 50px 0;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1, .hero h2, .hero p { color: var(--pj-white); }
.hero .cta-btn { background: var(--pj-white); color: var(--pj-primary); }
.hero .cta-btn:hover { background: var(--pj-accent); color: var(--pj-white); }
@media (max-width: 768px) {
  .hero { padding: 54px 0 20px 0; margin-bottom: 32px; border-radius: 0 0 18px 18px; }
}

/* NAVIGATION ========================================== */
header {
  width: 100%;
  background: var(--pj-white);
  box-shadow: 0 2px 14px rgba(20,93,160, 0.05);
  position: relative;
  z-index: 1002;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 72px;
}
.logo img {
  height: 44px; width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--pj-dark);
  font-weight: 400;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--pj-accent);
  background: var(--pj-secondary);
}
.main-nav .cta-btn {
  background: var(--pj-primary);
  color: var(--pj-white);
  padding: 8px 22px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.22s;
  box-shadow: 0 2px 12px 0 rgba(20,93,160, 0.07);
  border: none;
  margin-left: 6px;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: var(--pj-accent);
  color: var(--pj-white);
  box-shadow: 0 4px 20px 0 rgba(171,124,24,0.13);
}

/* Hamburger/menu for mobile */
.mobile-menu-toggle {
  background: var(--pj-white);
  border: 1.5px solid #E7ECF2;
  border-radius: 8px;
  color: var(--pj-primary);
  font-size: 2rem;
  width: 46px; height: 46px;
  display: none;
  align-items: center; justify-content: center;
  transition: border 0.15s, color 0.17s, background 0.2s;
  z-index: 1102;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--pj-secondary);
  color: var(--pj-accent);
  border: 1.5px solid var(--pj-accent);
}
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}

/* MOBILE MENU OVERLAY ========================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(21,93,160, 0.99);
  color: var(--pj-white);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.68,.06,.32,1), opacity 0.25s;
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--pj-white);
  font-size: 2.6rem;
  font-weight: 300;
  margin: 32px 22px 8px 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--pj-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-top: 30px;
  padding-left: 32px;
}
.mobile-nav a {
  color: var(--pj-white);
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 6px 0;
  font-weight: 500;
  border-radius: 6px;
  transition: color 0.22s, background 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--pj-accent);
  background: rgba(239,124,24,0.08);
}
@media (min-width: 1021px) {
  .mobile-menu { display: none !important; }
}

/* FOOTER ======================================================= */
footer {
  background: var(--pj-white);
  box-shadow: 0 -2px 12px 0 rgba(20,93,160, 0.04);
  padding: 36px 0 28px 0;
  font-size: 0.98rem;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-brand img {
  height: 38px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--pj-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.2s;
  font-weight: 400;
  font-size: 1rem;
  padding: 6px 0;
}
.footer-nav a:hover, .footer-nav a:focus { color: var(--pj-accent); }
.footer-contact {
  color: #42506b;
  margin-bottom: 0;
  font-size: 0.97rem;
}
.social-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.social-links img { height: 26px; width: 26px; filter: grayscale(1) brightness(1); opacity: 0.7; transition: opacity 0.22s, filter 0.18s; }
.social-links img:hover, .social-links img:focus { opacity: 1; filter: none; }
/* Responsive Footer */
@media (max-width: 900px) {
  footer .container { flex-direction: column; align-items: flex-start; gap: 22px; }
}

/* BUTTONS & CTAs ================================================ */
.cta-btn, .service-cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 40px;
  padding: 11px 36px;
  background: var(--pj-primary);
  color: var(--pj-white);
  box-shadow: var(--pj-shadow);
  border: none;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  margin-top: 12px;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus, .service-cta:hover, .service-cta:focus {
  background: var(--pj-accent);
  color: var(--pj-white);
  box-shadow: 0 6px 22px 0 rgba(239,124,24,0.10);
}
.service-cta {
  font-size: 0.98rem;
  padding: 8px 26px;
  margin-top: 10px;
  background: var(--pj-white);
  color: var(--pj-primary);
  border: 1.5px solid var(--pj-primary);
  font-weight: 500;
}
.service-cta:hover, .service-cta:focus {
  background: var(--pj-primary);
  color: var(--pj-white);
  border: 1.5px solid var(--pj-accent);
}

/* Thematic tags (Inspiration page) ============================ */
.thematic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 2px 0;
}
.thematic-tags span {
  background: var(--pj-secondary);
  color: var(--pj-primary);
  padding: 5px 18px;
  border-radius: 20px;
  font-size: 0.94rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* CTA Banner (offers page) ==================================== */
.cta-banner {
  background: var(--pj-primary);
  color: var(--pj-white);
  border-radius: var(--pj-radius);
  padding: 38px 24px 28px 24px;
  box-shadow: var(--pj-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
}
.cta-banner .cta-btn {
  background: var(--pj-accent);
  color: var(--pj-white);
  margin-bottom: 8px;
}
.cta-banner .cta-btn:hover { background: var(--pj-white); color: var(--pj-accent); }

/* SERVICE CARDS (services page) ================================ */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-card {
  background: var(--pj-white);
  border: 1.2px solid var(--pj-gray);
  border-radius: var(--pj-radius);
  box-shadow: var(--pj-shadow);
  padding: 26px 20px 22px 20px;
  min-width: 220px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.service-card h3 { margin-bottom: 6px; color: var(--pj-primary); font-size: 1.11rem; }
.service-card .price { font-size: 1rem; color: var(--pj-accent); font-weight: 600; margin-top: 4px; margin-bottom: 7px; }

@media (max-width: 768px) {
  .service-grid { flex-direction: column; gap: 13px; }
  .service-card { min-width: 0; }
}

/* Misc text-section =========================== */
.text-section { margin-bottom: 22px; }
.text-section a { text-decoration: underline; color: var(--pj-accent); transition: color 0.15s; }
.text-section a:hover, .text-section a:focus { color: var(--pj-primary); }

/* MAP SNIPPET (contact) ================= */
.map-snippet {
  margin-top: 10px;
  font-size: 0.98rem;
  color: var(--pj-dark);
  background: var(--pj-secondary);
  padding: 8px 14px;
  border-radius: 7px;
  font-style: italic;
}

/* Animations / micro-interactions ===================== */
.cta-btn, .service-cta, .main-nav a, .mobile-nav a, .mobile-menu-close, .mobile-menu-toggle {
  transition: background 0.17s, color 0.22s, box-shadow 0.22s, border 0.16s;
}
.card, .service-card, .testimonial-card, .offer-tile, .destination-card {
  transition: box-shadow 0.22s, border 0.18s;
}
.card:hover, .service-card:hover, .testimonial-card:hover, .offer-tile:hover, .destination-card:hover {
  box-shadow: 0 6px 22px 0 rgba(20, 93, 160, 0.08);
  border-color: var(--pj-primary);
}

/* Cookie Consent Banner & Modal ======================== */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--pj-secondary);
  color: var(--pj-dark);
  box-shadow: 0 -2px 16px 0 rgba(20, 93, 160, 0.08);
  width: 100%;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 10px 18px 10px;
  gap: 10px;
  opacity: 1;
  transition: opacity 0.28s, transform 0.31s;
}
#cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px);
}
.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 7px;
}
.cookie-btn {
  padding: 8px 26px;
  font-size: 1rem;
  border-radius: 24px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  background: var(--pj-primary);
  color: var(--pj-white);
  margin-right: 0;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-btn.accept {
  background: var(--pj-accent);
  color: var(--pj-white);
}
.cookie-btn.settings {
  background: var(--pj-secondary);
  color: var(--pj-primary);
  border: 1.2px solid var(--pj-primary);
}
.cookie-btn.reject {
  background: var(--pj-white);
  color: var(--pj-primary);
  border: 1.2px solid var(--pj-primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--pj-primary);
  color: var(--pj-white);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--pj-primary); color: var(--pj-accent);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--pj-accent); color: var(--pj-white); border-color: var(--pj-accent);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--pj-accent); color: var(--pj-white); border-color: var(--pj-accent);
}

#cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(32, 48, 64, 0.38);
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: visibility 0.28s, opacity 0.22s;
  visibility: hidden;
  opacity: 0;
}
#cookie-modal.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal-dialog {
  background: var(--pj-white);
  border-radius: var(--pj-radius);
  box-shadow: 0 8px 42px rgba(20, 93, 160, 0.13);
  padding: 36px 32px 28px 32px;
  max-width: 400px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--pj-primary);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--pj-accent);
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 3px;
  font-size: 1rem;
}
.cookie-category-essential {
  color: var(--pj-primary);
  font-weight: 600;
}
.switch {
  position: relative;
  width: 42px;
  height: 24px;
  display: inline-block;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e0e6ef;
  border-radius: 24px;
  transition: background 0.15s;
}
.switch input:checked + .slider {
  background: var(--pj-accent);
}
.slider:before {
  position: absolute;
  content: '';
  height: 18px; width: 18px;
  left: 4px; bottom: 3px;
  background: var(--pj-white);
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px 0 rgba(32,48,64,0.17);
}
.switch input:checked + .slider:before {
  transform: translateX(17px);
}
/* Mobile friendly cookie modal */
@media (max-width: 540px) {
  .cookie-modal-dialog{ padding: 22px 8px 18px 13px; min-width: 0; width: 95vw; }
}

/* MEDIA QUERIES for LAYOUT ======================================== */
@media (max-width: 1020px) {
  header .container { height: auto; flex-direction: row; align-items: center; gap: 14px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.11rem; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.42rem; }
}

/* SCROLLBARS minimal styling ===================== */
::-webkit-scrollbar { width: 7px; background: #F7F9FA; }
::-webkit-scrollbar-thumb { background: #ECECEC; border-radius: 8px; }

/* ACCESSIBILITY: FOCUS VISIBLE =================== */
:focus-visible {
  outline: 2px dashed var(--pj-accent);
  outline-offset: 2px;
}

/* GENERAL SPACING & RHYTHM ======================= */
section { margin-bottom: 64px; }
section:last-child { margin-bottom: 0; }
@media (max-width: 800px) {
  section { margin-bottom: 36px; }
}

/* Ensure all cards, testimonials, tiles have min 20px spacing */
.card, .card-container > *, .testimonial-card, .offer-tile, .destination-card, .service-card {
  margin-bottom: 20px;
}

/* END OF CSS =================================== */
