/* ================================================================
   PORTAPALMA - INDUSTRIAL MODERN STYLE CSS (Flexbox ONLY)
   Author: PortaPalma Frontend Team
   Theme: Industrial Modern – dark colors, metallic accents
            Urban, trustworthy, robust feel
   FONT: Montserrat (display, medium-bold);
         Open Sans (body)
   COLORS:
      Primary: #174966 (deep industrial blue)
      Secondary: #FFBE59 (warm metallic accent)
      Accent: #F1F7FA (light card/section bg)
      Metal: #31343a, #23272B (dark, industrial grays)
      Body bg: #22252a
      Surface: #292C33
      White: #fff
   ================================================================ */

/* ====== CSS RESET / NORMALIZE ====== */
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: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #22252a;
  color: #F1F7FA;
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  min-height: 100vh;
  background: #22252a;
  color: #F1F7FA;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #FFBE59;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.2em;
  margin: 12px 0;
}
li { margin-bottom: 8px; }

/* ======== TYPOGRAPHY ======== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -.5px;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, blockquote, ul, ol, dl {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #F1F7FA;
  font-size: 1.05rem;
  margin-bottom: 14px;
}
blockquote {
  font-style: italic;
  color: #23272B;
  background: #F1F7FA;
  border-left: 5px solid #FFBE59;
  border-radius: 6px;
  margin: 0 0 10px 0;
  padding: 18px 24px;
}
strong {
  font-weight: bold;
  color: #FFBE59;
}

/* ==================
   LAYOUT CONTAINERS
   ================== */

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0; /* For uniform section/flex wrappers */
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  position: relative;
}
section.accent {
  background: #292C33;
  border-radius: 12px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #292C33;
  border: 1.5px solid #31343a;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(23,73,102,.10), 0 1.5px 7px -2.5px #000;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.15s, box-shadow 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 20px rgba(23,73,102,.18), 0 2px 10px -2px #000;
  transform: translateY(-4px) scale(1.017);
  z-index: 1;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 22px;
  gap: 15px;
  color: #fff;
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F1F7FA;
  color: #23272B;
  border-radius: 9px;
  border-left: 5px solid #FFBE59;
  box-shadow: 0 1.5px 6px 0 rgba(23,73,102,.08), 0 0.5px 2.5px -1.5px #000;
}

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

/* Feature grid for index features-section */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 30px 0 0 0;
  list-style: none;
}
.feature-grid li {
  background: #292C33;
  border: 1.5px solid #31343a;
  border-radius: 10px;
  box-shadow: 0 1.5px 7px -2.5px #000;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 310px;
  padding: 26px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: transform 0.13s, box-shadow 0.18s;
}
.feature-grid li:hover {
  box-shadow: 0 5px 15px rgba(23,73,102,.15), 0 2px 8px -2px #000;
  transform: translateY(-2px) scale(1.012);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
}

/* =====================
   HEADER & NAVIGATION
   ===================== */
header {
  background: #23272B;
  padding: 0 0;
  border-bottom: 2px solid #31343a;
  position: relative;
  z-index: 301;
  min-height: 66px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  gap: 15px;
  min-height: 66px;
}
.logo-link {
  display: flex;
  align-items: center;
  min-width: 124px;
}
.logo-link img {
  height: 44px;
  width: auto;
  filter: grayscale(0.45) contrast(1.2);
  transition: filter 0.2s;
}
.logo-link:focus img, .logo-link:hover img {
  filter: none;
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #F1F7FA;
  letter-spacing: 0.02em;
  padding: 8px 5px;
  position: relative;
  transition: color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #FFBE59;
}

.cta-btn.primary {
  background: #174966;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 1.5px;
  box-shadow: 0 1.5px 8px -2.5px #000;
  transition: background 0.18s, color 0.18s, transform 0.16s, box-shadow 0.18s;
  margin-left: 12px;
  cursor: pointer;
  outline: none;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #FFBE59;
  color: #23272B;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 5px 14px -2px #174966;
}

.cta-btn.secondary {
  background: #fff;
  color: #174966;
  border: 1.5px solid #FFBE59;
  border-radius: 22px;
  padding: 12px 27px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.03rem;
  margin-left: 12px;
  box-shadow: 0 1.5px 8px -2.5px #000;
  transition: background 0.18s, color 0.18s, border 0.15s, transform 0.13s, box-shadow 0.14s;
  cursor: pointer;
  outline: none;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #174966;
  color: #fff;
  border-color: #174966;
  box-shadow: 0 6px 12px -2.5px #FFBE59;
  transform: translateY(-1px) scale(1.020);
}

.cta-btn {
  display: inline-block;
  margin-bottom: 12px;
  text-align: center;
  min-width: 120px;
  line-height: 1.2;
  user-select: none;
  text-shadow: none !important;
}
.cta-btn:active { filter: brightness(0.96); }

/* ============ MOBILE MENU (burger) ============= */
.mobile-menu-toggle {
  background: #31343a;
  color: #FFBE59;
  border: none;
  font-size: 2.05rem;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 12px;
  display: none;
  z-index: 500;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #174966;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,28,32,0.97);
  z-index: 9999;
  transform: translateX(100vw);
  transition: transform 0.32s cubic-bezier(.8,.01,.21,1.13);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  width: 100vw;
  height: 100vh;
  box-sizing: border-box;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  color: #fff;
  background: #23272B;
  font-size: 2rem;
  border: none;
  margin: 18px 18px 4px 12px;
  align-self: flex-end;
  cursor: pointer;
  border-radius: 8px;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.13s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFBE59;
  color: #23272B;
}
.mobile-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-left: 44px;
  margin-top: 26px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.26rem;
  font-weight: 700;
  padding: 10px 0px;
  min-width: 220px;
  letter-spacing: 0.02em;
  transition: color .15s, background .15s, padding-left .2s;
  border-radius: 8px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FFBE59;
  background: #23272B;
  padding-left: 12px;
}

@media (max-width:1200px){
  .container{max-width: 96vw;padding-left: 12px;padding-right:12px;}
}
/* ======= Responsive nav (burger @ max-900px) ======= */
@media (max-width: 900px) {
  .main-nav,
  .cta-btn.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ================ FOOTER ================ */
footer {
  background: #23272B;
  border-top: 2px solid #31343a;
  padding: 0;
  position: relative;
  z-index: 301;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 18px;
  padding: 16px 22px 9px 22px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #666e76;
  font-size: .97rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-brand img {
  height: 32px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.footer-nav a {
  font-family: inherit;
  color: #FFBE59;
  font-size: .98rem;
  font-weight: 600;
  transition: color .15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}

/* ================= Pages =================== */

/* --- HERO --- */
.hero-section {
  background: linear-gradient(98deg, #22252a 65%, rgba(23,73,102,0.9));
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 0 0 20px 20px;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.hero-section .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 0;
  max-width: 540px;
}
.hero-section h1 {
  color: #FFBE59;
  font-size: 2.35rem;
  letter-spacing: -1px;
}
.hero-section p {
  color: #fff;
  font-size: 1.18rem;
  margin-bottom: 8px;
}

/* --- About Short Section (index) + Blok --- */
.about-short-section ul {
  margin: 16px 0 0 15px;
  list-style-type: disc;
}
.about-short-section li {
  margin-bottom: 8px;
}

/* --- Services Overview (index) --- */
.services-overview-section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 10px 0 34px 0;
}
.services-overview-section ul li {
  background: #292C33;
  border-radius: 9px;
  padding: 18px 22px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 315px;
  margin-bottom: 20px;
  border-left: 5px solid #174966;
  box-shadow: 0 1.5px 7px -2.5px #000;
}
.services-overview-section ul li h3 {
  color: #FFBE59;
  margin-bottom: 8px;
}
.services-overview-section .cta-btn.secondary {
  margin-left: 0!important;
}

/* --- Testimonials --- */
.testimonials-preview-section .testimonial-card,
.testimonials-section .testimonial-card {
  max-width: 520px;
}
.testimonials-section .star-rating {
  font-size: 1.32rem;
  margin-bottom: 7px;
  color: #FFBE59;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 1px;
}

/* --- CTA Banner --- */
.cta-banner-section {
  background: #174966;
  border-radius: 12px;
  color: #fff;
  text-align: center;
  align-items: center;
}
.cta-banner-section.accent {
  background: #174966;
}
.cta-banner-section .content-wrapper {
  align-items: center;
}
.cta-banner-section h2 {
  color: #FFBE59;
}
.cta-banner-section p {
  color: #fff;
}

/* --- About Us Page --- */
.about-section .text-section h2 {
  color: #FFBE59;
  font-size: 1.4rem;
}
.values-section ul {
  margin-top: 12px;
}
.values-section ul li {
  margin-bottom: 10px;
}

/* --- Process Section (diensten/werkwijze) --- */
.process-section ol {
  margin-left: 20px;
  padding-left: 12px;
  margin-bottom: 18px;
}
.process-section ol li {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

/* FAQ dl-style */
.faq-section dl {
  background: #F1F7FA;
  border-radius: 8px;
  padding: 18px 22px;
}
.faq-section dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #174966;
  margin-top: 12px;
  margin-bottom: 3px;
}
.faq-section dd {
  color: #23272B;
  margin-bottom: 8px;
  margin-left: 0;
}

/* --- Projects --- */
.projects-section ul {
  margin-bottom: 24px;
}
.projects-section li {
  margin-bottom: 13px;
  font-size: 1.05rem;
}
.projects-section h2 {
  color: #FFBE59;
}

/* --- Contact section --- */
.contact-section .cta-banner-section {
  margin: 28px 0 0 0;
  padding: 24px 12px 22px 12px;
}
.contact-section h2 {
  color: #FFBE59;
  font-size: 1.14rem;
}
.contact-section a {
  color: #174966;
  font-weight: 600;
}
.contact-section img {
  height: 1.2em;
  width: auto;
  display: inline-block;
  margin-right: 5px;
  vertical-align: middle;
}

/* --- Cookie Policy --- */
.cookie-policy-section a,
.privacy-policy-section a,
.terms-section a,
.gdpr-section a {
  color: #174966;
  font-weight: 600;
  text-decoration: underline;
}
.cookie-policy-section a:hover,
.privacy-policy-section a:hover,
.terms-section a:hover,
.gdpr-section a:hover {
  color: #FFBE59;
}

/* ===== Spacing for generic text-section blocks ===== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

/* ========================
   FLEXBOX RESPONSIVE RULES
   ======================== */
@media (max-width: 768px) {
  .section, section {
    padding: 26px 7px;
    margin-bottom: 38px;
  }
  .content-wrapper, .card-container, .feature-grid, .content-grid, .text-image-section {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: stretch !important;
  }
  .main-nav, .footer-nav {
    flex-direction: column !important;
    gap: 12px;
    align-items: flex-start !important;
  }
  .footer-brand span {
    font-size: .93rem;
  }
  .services-overview-section ul,
  .feature-grid {
    flex-direction: column; gap:16px;
    align-items: stretch;
  }
  .services-overview-section ul li,
  .feature-grid li {
    max-width: unset;
    min-width: 0;
    width: 100%;
  }
  .card,
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
    padding: 18px 10px !important;
  }
}

/* ================== Cookie Consent Banner ================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #23272B;
  color: #fff;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10001;
  box-shadow: 0 -6px 32px rgba(0,0,0,.12);
  gap: 14px;
  animation: fadeInUp 0.40s;
}
@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(48px);} to {opacity: 1; transform: translateY(0);}
}
.cookie-consent-banner p {
  margin-bottom: 0;
  color: #fff;
}
.cookie-btn-row {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  background: #174966;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.15s, color 0.13s, box-shadow 0.13s, transform 0.11s;
  cursor: pointer;
  outline: none;
  margin-top: 0;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #FFBE59;
  color: #23272B;
  transform: scale(1.05);
  box-shadow: 0 3px 9px rgba(23,73,102,.20);
}
.cookie-btn.secondary {
  background: #fff;
  color: #174966;
  border: 1.5px solid #FFBE59;
}
.cookie-btn.tertiary {
  background: none;
  border: 1.5px solid #174966;
  color: #FFBE59;
}
.cookie-btn.tertiary:hover {
  background: #292C33;
  color: #fff;
  border-color: #292C33;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,37,42,0.90);
  z-index: 12010;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity .28s;
}
.cookie-modal {
  background: #292C33;
  color: #F1F7FA;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(23,73,102,0.17), 0 1.5px 7px -2.5px #000;
  padding: 38px 28px 24px 28px;
  min-width: 300px; max-width: 92vw;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  animation: fadeInUp 0.30s ease-out;
}
.cookie-modal h2 {
  color: #FFBE59;
  font-size: 1.35rem;
  margin-bottom: 11px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 1.07rem;
  margin-bottom: 12px;
}
.cookie-modal .cookie-switch {
  appearance: none;
  width: 36px;
  height: 20px;
  border-radius: 10px;
  background: #31343a;
  position: relative;
  outline: none;
  transition: background 0.19s;
  cursor: pointer;
}
.cookie-modal .cookie-switch:checked {
  background: #FFBE59;
}
.cookie-modal .cookie-switch:before {
  content: "";
  position: absolute;
  left: 2.5px; top: 2.5px;
  width: 15px; height:15px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.19s;
}
.cookie-modal .cookie-switch:checked:before {
  left: 18px;
}
.cookie-modal .cookie-category.disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.cookie-modal .cookie-category.disabled .cookie-switch {
  opacity: 0.6;
  pointer-events: none;
}

/* =============== MICRO-INTERACTIONS & TRANSITIONS =============== */
.card,
.card-content,
.cta-btn,
.cta-banner-section,
.feature-grid li,
.testimonial-card,
.cookie-consent-banner,
.cookie-modal {
  transition: box-shadow .22s, background .14s, color .14s, border-color .13s, transform .16s;
}

/* =============== SCROLLBAR & SELECTION =============== */
html::-webkit-scrollbar {
  width: 12px;
  background: #23272B;
}
html::-webkit-scrollbar-thumb {
  background: #31343a;
  border-radius: 12px;
}
::selection {
  background: #FFBE59;
  color: #22252a;
}

/* ================= VISUAL + URBAN/METALLIC DETAILS ================= */
.section::after, section.accent::after {
  content: '';
  display: block;
  height: 2px;
  width: 54px;
  background: linear-gradient(90deg, #FFBE59 40%, #31343a 100%);
  border-radius: 3px;
  margin: 20px 0 0 0;
}
section.accent::after {
  background: linear-gradient(90deg,#31343a 0%, #FFBE59 90%);
}
@media (max-width: 768px) {
  .section::after, section.accent::after {
    margin: 14px 0 0 0;
    width: 32px;
  }
}
/* Remove surface metallic line on .hero-section and .cta-banner-section */
.hero-section::after, .cta-banner-section::after {
  display: none;
}

/* ============= UTILITIES ============== */
.d-flex { display: flex; }
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.align-center {align-items: center;}
.justify-center {justify-content: center;}
.gap-12 { gap: 12px; }
.gap-20 { gap: 20px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.rounded { border-radius: 15px; }
.text-center { text-align: center; }

/* ===== ACCESSIBILITY ===== */
:focus {
  outline: 2px solid #FFBE59 !important;
  outline-offset: 2px;
}
@media (max-width: 480px) {
  html { font-size: 95%; }
  h1 { font-size: 2rem; }
  h2 { font-size:1.35rem;}
}

/* ========== END OF PORTAPALMA INDUSTRIAL MODERN CSS ========== */