/* PensionNavigator Vintage Retro CSS - style.css */

/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F6F3EF;
  color: #262015;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #184070;
  text-decoration: none;
  transition: color 0.25s cubic-bezier(.4,0,.2,1);
}
a:focus,
a:hover {
  outline: none;
  color: #E9576c;
}
ul, ol {
  margin: 16px 0 24px 24px;
  padding: 0 0 0 1.5em;
}
li {
  margin-bottom: 8px;
}

/* VINTAGE FONT & HIERARCHY */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@700&family=Roboto+Slab:wght@400&family=Open+Sans:wght@400;600&display=swap');
h1, h2, h3, .btn-primary, .logo, .section-title {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.75rem;
  color: #184070;
  margin-bottom: 20px;
  line-height: 1.09;
  text-shadow: 1px 2px 0 #b4946b1C;
}
h2 {
  font-size: 2rem;
  color: #184070;
  margin-bottom: 18px;
  text-shadow: 1px 1px 0 #EBCA9030;
}
h3 {
  font-size: 1.35rem;
  color: #237E58;
  margin-bottom: 12px;
}
p, ul, ol {
  font-size: 1.05rem;
  color: #4D4035;
}
strong {
  color: #184070;
  font-weight: 600;
}

/* VINTAGE COLOR PALETTE */
:root {
  --primary: #184070;
  --secondary: #E9EEF3;
  --background: #F6F3EF;
  --accent: #237E58;
  --retro-yellow: #FFD979;
  --retro-red: #E9576c;
  --retro-brown: #A98274;
  --retro-teal: #21A7A5;
  --retro-orange: #F2A673;
}

/* CONTAINER & WRAPPERS */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.text-section {
  max-width: 840px;
  margin: 0 auto;
}

/* SECTION SPACING AND PATTERNS */
section,
.section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fffbe7;
  border-radius: 19px;
  box-shadow: 0 3px 22px 0 #53372A08, 0 1.5px 0px #FFD979;  /* Shadow for vintage softness */
  border: 2px solid #FFD979;
  padding: 28px;
  position: relative;
  transition: box-shadow 0.16s linear, transform 0.22s cubic-bezier(.41,0,.44,1);
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 9px 40px -4px #E9576c30, 0 2.5px 0px #FFD979;
  transform: translateY(-3px) scale(1.018);
}
.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;
  background: #FFF1B4;
  margin-top: 28px;
  margin-bottom: 8px;
  padding: 22px 28px;
  border-radius: 16px;
  border: 1.5px dashed #FFD979;
  box-shadow: 0 2px 8px #BCA37122;
  color: #184070;
  font-family: 'Roboto Slab', serif;
  font-size: 1.14rem;
  line-height: 1.6;
  position: relative;
}
.testimonial-card p {
  color: #184070;
  margin: 0;
  font-size: 1.01rem;
  line-height: 1.6;
}
.feature-item {
  background: #FDF8ED;
  border-radius: 14px;
  border: 2px solid #A9827412;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 23px 22px 18px 22px;
  min-width: 220px;
  flex: 1 1 275px;
  margin-bottom: 24px;
  transition: box-shadow 0.2s cubic-bezier(.42,0,.46,1), border-color 0.2s linear;
  box-shadow: 0 1.5px 5.5px #18407008;
}
.feature-item:hover {
  border-color: #FFD979;
  box-shadow: 0 5px 26px -2px #237E5844;
  background: #FFFDE7;
}
.feature-item img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

/* HERO BANNER */
.hero {
  background: linear-gradient(94deg,#E9EEF3 89%, #FFD97922 100%);
  border-bottom: 5px dotted #FFD979;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}
.hero h1 {
  color: #184070;
  font-size: 2.55rem;
  letter-spacing: 1.5px;
}
.hero h2 {
  font-size: 1.35rem;
  color: #237E58;
  margin-bottom: 13px;
}
.hero p {
  font-size: 1.09rem;
}

/* CTA & SUBSCRIPTION FORMS */
.cta {
  background: #FFD97922;
  border-top: 3px dashed #FFD979;
  border-bottom: 3px dashed #237E58;
  padding-top: 48px;
  padding-bottom: 48px;
}
.cta .btn-primary {
  margin-top: 23px;
}
.subscription-form {
  background: #FFF1B4;
  border-radius: 14px;
  padding: 28px 26px 20px 26px;
  margin-top: 25px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px #FFD97916;
  border: 1.5px solid #FFD979;
}

/* FAQ LISTS */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.faq-item {
  background: #FDF8ED;
  border-radius: 11px;
  border: 1.5px solid #A9827433;
  padding: 17px 18px 14px 20px;
  min-width: 210px;
  flex: 1 1 290px;
}

/* NEWSFEED */
.newsfeed ul {
  list-style: disc inside;
  padding-left: 1.35em;
  margin-bottom: 16px;
}

/* NAVIGATION HEADER */
header {
  background: #184070;
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 0;
  box-shadow: 0 2px 22px #11325416;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: 0 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0 16px 0;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'Roboto Slab', serif;
}
.main-nav a {
  color: #FFD979;
  text-shadow: 1px 1px 0 #18407044;
  padding: 8px 16px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 7px;
  background: none;
  position: relative;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:not(.btn-primary):hover,
.main-nav a:not(.btn-primary):focus {
  background: #237E58;
  color: #fffbe7;
}
.btn-primary {
  background: #FFD979;
  color: #184070 !important;
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  border-radius: 20px;
  box-shadow: 0 1.5px 7px -2px #18407044;
  padding: 8.5px 26px 10.5px 26px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.7px;
  display: inline-block;
  transition: background 0.21s cubic-bezier(.41,0,.46,1), color 0.25s, box-shadow 0.2s;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #E9576c;
  color: #fffbe7 !important;
  box-shadow: 0 8px 30px -7px #E9576c44, 0 1.5px 7px -1px #18407021;
  outline: none;
}

/* Burger menu button (for mobile) */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #FFD979;
  font-size: 2.0rem;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 9px;
  display: none;
  transition: background 0.19s, color 0.19s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #FFD97936;
  color: #FFD979;
  outline: none;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #184070EE;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.7,0,.34,1);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  color: #FFD979;
  background: none;
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
  margin: 28px 0 16px 21px;
  align-self: flex-start;
  transition: color 0.16s;
  z-index: 1;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #E9576c;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-left: 24px;
  margin-top: 12px;
}
.mobile-nav a {
  padding: 12px 0 12px 0;
  color: #FFD979;
  font-family: 'Roboto Slab', serif;
  font-size: 1.17rem;
  font-weight: 700;
  border-radius: 10px;
  transition: color 0.16s, background 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #E9576c;
  background: #FFD97933;
}

/* Mobile nav button for finger accessibility */
.mobile-nav a,
.mobile-menu-close {
  touch-action: manipulation;
}

/* Responsive NAVIGATION */
@media (max-width: 1024px) {
  header .container {
    flex-direction: row;
    gap: 0;
  }
  .main-nav {
    gap: 11px;
  }
}
@media (max-width: 820px) {
  .main-nav {
    gap: 5px;
  }
}
@media (max-width: 768px) {
  header .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ------ FOOTER ------ */
footer {
  background: #184070;
  color: #FFD979;
  padding-top: 32px;
  padding-bottom: 28px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0;
}
.footer-logo img {
  height: 46px;
}
.footer-contact {
  font-size: 1em;
  color: #FFFBE5;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.4;
}
.footer-contact img {
  width: 22px;
  height: 22px;
  margin-right: 7px;
  display: inline-block;
  vertical-align: middle;
}
.footer-menu {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 11px;
}
.footer-menu a {
  color: #FFD979;
  font-size: 1rem;
  font-family: 'Roboto Slab', serif;
  text-decoration: underline;
  border-radius: 5px;
  padding: 3px 9px;
  transition: color 0.18s, background 0.14s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: #E9576c;
  background: #FFD97913;
}
.footer-copy {
  font-size: 0.98rem;
  color: #FFD979DD;
  margin-top: 20px;
  font-family: 'Roboto Slab', serif;
  flex-basis: 100%;
  letter-spacing: 0.3px;
}

/* --- CONTACT SECTION --- */
.contact ul,
.footer-contact {
  font-size: 1rem;
  color: #237E58;
  margin-bottom: 16px;
}
.contact ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  color: #184070;
  font-family: 'Open Sans', sans-serif;
}
.contact ul img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* ----- GENERAL ELEMENTS PATTERNS ----- */
.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}

/* ------ FORMS ------ */
input, select, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 12px;
  border: 1.5px solid #A98274;
  border-radius: 8px;
  background: #FFFBE7;
  color: #53372A;
  margin-bottom: 14px;
  width: 100%;
  box-shadow: 0 1px 2px #FFD97911;
  transition: border-color 0.16s;
}
input:focus, select:focus, textarea:focus {
  border-color: #237E58;
  outline: none;
}

button {
  font-family: 'Roboto Slab', serif;
}

/* TABLES (for future extension) */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 20px 0;
}
th, td {
  border: 1.5px solid #FFD979;
  padding: 9px 12px;
  font-size: 1rem;
}
th {
  background: #FFD979;
  color: #184070;
}
td {
  background: #FFFBF0;
}

/* ---- COOKIE BANNER ---- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: #FFD979;
  color: #184070;
  font-family: 'Roboto Slab', serif;
  font-size: 1.02rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 24px 19px 24px;
  box-shadow: 0 -2.5px 15px #18407033;
  min-height: 48px;
  gap: 24px;
  transition: transform 0.27s cubic-bezier(.52,0,.59,1), opacity 0.19s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-banner button,
.cookie-banner .btn-settings {
  border: none;
  font-family: 'Roboto Slab', serif;
  padding: 9px 22px;
  border-radius: 14px;
  font-size: 1.02rem;
  cursor: pointer;
  margin-right: 5px;
  transition: background 0.18s, color 0.18s, outline 0.08s;
  background: #E9576c;
  color: #fffbe7;
  box-shadow: 0 0.5px 4px #18407015;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #184070;
  color: #FFD979;
  outline: 2.5px solid #FFD97999;
}
.cookie-banner .cookie-settings-btn {
  background: #237E58;
  color: #FFFBF0;
}
.cookie-banner .cookie-settings-btn:hover,
.cookie-banner .cookie-settings-btn:focus {
  background: #184070;
  color: #FFD979;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 2100;
  width: 95vw;
  max-width: 420px;
  background: #FFFBE7;
  box-shadow: 0 14px 60px #18407080;
  border-radius: 17px;
  border: 2px solid #FFD979;
  padding: 41px 32px 28px 32px;
  transform: translate(-50%,-50%) scale(0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.19s cubic-bezier(.22,0,.48,1),transform 0.26s cubic-bezier(.48,0,.52,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.46rem;
  color: #184070;
  margin-bottom: 9px;
}
.cookie-modal .cookie-categories {
  margin: 17px 0 17px 0;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.07rem;
  gap: 14px;
}
.cookie-modal .cookie-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #53372A;
  font-weight: 600;
  user-select:none;
  cursor: pointer;
}
.cookie-modal .cookie-category input[type=checkbox] {
  accent-color: #237E58;
  width: 19px;
  height: 19px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}
.cookie-modal button {
  font-family: 'Roboto Slab', serif;
  font-size: 1.03rem;
  border-radius: 13px;
  background: #FFD979;
  color: #184070;
  border: none;
  padding: 9px 20px;
  transition: background 0.19s, color 0.16s;
}
.cookie-modal button:hover,
.cookie-modal button:focus {
  background: #E9576c;
  color: #FFFBE7;
}
.cookie-modal .cookie-close-modal {
  position: absolute;
  top: 18px;
  right: 21px;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: #237E58;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal .cookie-close-modal:hover,
.cookie-modal .cookie-close-modal:focus {
  color: #E9576c;
}

/* ------ ANIMATIONS ------ */
@media (prefers-reduced-motion: no-preference) {
  .btn-primary,
  .card,
  .feature-item,
  .mobile-menu,
  .mobile-menu-toggle,
  .cookie-banner,
  .cookie-modal {
    transition: all 0.2s cubic-bezier(.46,0,.5,1);
  }
}

/* SHADOWS, BORDERS, PATTERN EFFECTS */
section, .section,
.hero, .cta, .services, .features, .security {
  box-shadow: 0 1.5px 19px #BCA37114;
  border-radius: 13px;
}

/* VINTAGE PATTERNS */
.features, .feature-grid {
  background: repeating-linear-gradient(135deg, #FFD97911 0 19px, #FFD97900 21px 35px);
  border-radius: 12px;
}
.security {
  background: repeating-linear-gradient(45deg, #FFD97905 0 35px, #FFD97920 37px 70px);
  border-radius: 12px;
}

/* ICON STYLES (vintage look) */
.feature-item img, .contact ul img, .footer-contact img {
  filter: sepia(0.6) hue-rotate(-15deg) saturate(0.7) brightness(1.1);
  opacity: 0.92;
}

/* ---- RESPONSIVE DESIGN ---- */
@media (max-width: 1130px) {
  .container {
    max-width: 98vw;
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 920px) {
  .feature-grid, .faq-list {
    flex-direction: column;
    gap: 16px;
  }
  .footer-content-wrapper {
    flex-direction: column;
    gap: 19px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  section, .section {
    margin-bottom: 38px;
    padding: 22px 7px;
  }
  .content-wrapper {
    gap: 11px;
  }
  .hero .content-wrapper, .cta .content-wrapper {
    gap: 11px;
  }
  .feature-grid, .faq-list, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 11px;
    padding: 18px 14px;
  }
  .footer .content-wrapper {
    flex-direction: column;
    gap: 19px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
}
@media (max-width: 576px) {
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.4rem; }
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .card,
  .feature-item { padding-left: 11px; padding-right: 11px; }
  .cookie-modal { padding: 19px 7px 14px 7px; min-width: 0; }
  .cookie-banner { flex-direction: column; gap: 9px; padding: 17px 4vw 14px 4vw; font-size: 0.97rem; }
}

/* --------- END VINTAGE RETRO CSS --------- */
