/*
Theme Name: AircoTarief
Description: Child-thema van Hello Elementor voor aircotarief.nl
Template: hello-elementor
Version: 1.0.0
*/

/* =========================================
   KLUSTARIEF HEADER, FOOTER, POPUP + ICONS
   Clean version - no Font Awesome needed
   ========================================= */

:root {
  --kt-blue: #1c2c52;
  --kt-orange: #F6940F;
  --kt-white: #ffffff;
  --kt-text: #333333;
  --kt-muted: #595959;
  --kt-shadow: 0 4px 20px rgba(0,0,0,0.08);
  --kt-width: 1200px;

  --ft-bg: #004AAD;
  --ft-orange: #F6940F;
  --ft-white: #ffffff;
  --ft-text: #f4f4f4;
  --ft-width: 1200px;
  --kt-blue-dark: #1c2c52;
}

/* =========================================
   GLOBAL / ACCESSIBILITY
   ========================================= */

body.home {
  background-color: #ffffff;
  color: #333333;
}

#wpadminbar {
  position: fixed !important;
  z-index: 2147483647 !important;
}

.elementor-location-header,
.elementor-location-header .elementor-section,
.elementor-location-header .elementor-container,
.elementor-location-header .elementor-widget-wrap {
  position: relative !important;
  z-index: 2147483000 !important;
  overflow: visible !important;
}

/* =========================================
   PAINTER REQUEST FORM BUTTONS
   Keep these because they are unrelated to header/footer
   but currently exist in your CSS.
   ========================================= */

.prf-secondary-wrap .prf-secondary-btn,
div[id^="prf-btn-contact-"],
button[id^="prf-btn-contact-"],
div[id^="prf-btn-header-"],
button[id^="prf-btn-header-"] {
  background-color: #1c2c52 !important;
  color: #ffffff !important;
  border: 1px solid #1c2c52 !important;
  transition: all 0.3s ease;
}

.prf-secondary-wrap .prf-secondary-btn:hover,
div[id^="prf-btn-contact-"]:hover,
button[id^="prf-btn-contact-"]:hover,
div[id^="prf-btn-header-"]:hover,
button[id^="prf-btn-header-"]:hover {
  background-color: #f3892f !important;
  border-color: #f3892f !important;
  color: #ffffff !important;
  cursor: pointer;
}

/* =========================================
   HEADER
   ========================================= */

.klustarief-header-wrapper {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: var(--kt-white);
  width: 100%;
  position: relative;
  z-index: 2147483000;
  isolation: isolate;
}

.klustarief-header-wrapper *,
.klustarief-header-wrapper *::before,
.klustarief-header-wrapper *::after {
  box-sizing: border-box;
}

.desktop-header-outer {
  width: 100%;
  background: var(--kt-white);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  transition: top 0.3s ease;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  z-index: 2147483000;
  overflow: visible;
}

body.admin-bar .desktop-header-outer {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .desktop-header-outer {
    top: 46px;
  }
}

.header-container {
  max-width: var(--kt-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: visible;
}

/* Correct optimized desktop logo size */
.desktop-logo img {
  width: 250px !important;
  height: auto !important;
  aspect-ratio: 1024 / 384;
  object-fit: contain !important;
  display: block !important;
  transition: transform 0.3s ease;
}

.desktop-logo:hover img {
  transform: scale(1.02);
}

/* Desktop nav */
.desktop-nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  overflow: visible;
}

.desktop-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  overflow: visible;
}

.desktop-nav li {
  position: relative;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--kt-text);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s ease;
  padding: 15px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--kt-orange);
}

.desktop-nav a:focus-visible,
.btn-kt:focus-visible,
.icon-chip:focus-visible,
.close-btn:focus-visible,
.submenu-toggle:focus-visible,
.footer-links a:focus-visible,
.footer-btn:focus-visible,
.newsletter-trigger:focus-visible,
.social-icons a:focus-visible,
.popup-close:focus-visible,
.popup-submit:focus-visible {
  outline: 3px solid rgba(246,148,15,0.35);
  outline-offset: 3px;
}

/* Inline SVG nav icon */
.kt-nav-icon {
  display: inline-block;
  margin-left: 6px;
  vertical-align: -2px;
  transition: transform 0.3s ease, color 0.3s ease, opacity 0.3s ease;
  opacity: 0.7;
}

.desktop-nav li:hover .kt-nav-icon {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--kt-orange);
}

/* Dropdown */
.desktop-nav ul ul {
  display: block;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--kt-white);
  min-width: 230px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  border-radius: 6px;
  border-top: 3px solid var(--kt-orange);
  flex-direction: column;
  gap: 0;
  padding: 8px 0;
  transition: all 0.25s ease-in-out;
  z-index: 2147483100 !important;
  overflow: visible;
}

.desktop-nav li:hover > ul,
.desktop-nav li:focus-within > ul {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.desktop-nav ul ul a {
  padding: 12px 20px;
  font-size: 14px;
  color: #555555;
  white-space: nowrap;
  display: block;
  border-bottom: 1px solid #fafafa;
}

.desktop-nav ul ul a:hover,
.desktop-nav ul ul a:focus-visible {
  background: #fdfdfd;
  color: var(--kt-orange);
  padding-left: 25px;
}

/* Header buttons */
.desktop-actions {
  display: flex;
  gap: 12px;
}

.btn-kt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 3px;
  background: var(--kt-blue);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 1px solid var(--kt-blue);
  white-space: nowrap;
  box-shadow: 0 4px 6px rgba(28, 44, 82, 0.2);
}

.btn-kt:hover {
  background: var(--kt-orange);
  border-color: var(--kt-orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(246, 148, 15, 0.3);
}

.btn-kt-outline {
  background: transparent;
  color: var(--kt-blue) !important;
  border: 1px solid var(--kt-blue);
  box-shadow: none;
}

.btn-kt-outline:hover {
  background: var(--kt-blue);
  color: #ffffff !important;
  border-color: var(--kt-blue);
  transform: translateY(-2px);
}

/* Tablet */
@media screen and (min-width: 769px) and (max-width: 1050px) {
  .header-container {
    padding: 10px 15px;
  }

  .desktop-logo img {
    width: 225px !important;
    height: auto !important;
  }

  .desktop-nav ul {
    gap: 15px;
  }

  .desktop-nav a {
    font-size: 13px;
  }

  .btn-kt {
    padding: 8px 15px;
    font-size: 13px;
  }
}

/* Mobile header */
.mobile-app-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 2147483000;
  background: var(--kt-white);
  padding: 0 15px;
  height: 84px;
  border-bottom: 1px solid #f0f0f0;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
}

body.admin-bar .mobile-app-header {
  top: 46px;
}

@media screen and (max-width: 600px) {
  body.admin-bar .mobile-app-header {
    top: 0;
  }
}

.mobile-logo-container {
  position: static;
  z-index: 1;
  flex: 0 1 auto;
  min-width: 0;
}

.mobile-app-header__end {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex: 0 0 auto;
}

.ft-mobile-shop {
  color: #B5946F;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  cursor: default;
  white-space: nowrap;
}

.mobile-app-header #trigger-right-drawer {
  display: none;
}

/* Correct optimized mobile logo size */
.mobile-logo-container img {
  width: 190px !important;
  height: auto !important;
  aspect-ratio: 1024 / 384;
  object-fit: contain !important;
  display: block !important;
}

.icon-chip {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #eeeeee;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--kt-blue);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  padding: 0;
}

.icon-chip:hover {
  color: var(--kt-orange);
  transform: scale(1.05);
}

.icon-chip svg,
.kt-menu-svg,
.btn-kt svg,
.newsletter-trigger svg,
.social-icons svg {
  flex: 0 0 auto;
  display: block;
}

/* =========================================
   MOBILE DRAWERS
   ========================================= */

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 44, 82, 0.6);
  z-index: 2147483200;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  backdrop-filter: blur(2px);
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 2147483300;
  background: var(--kt-white);
  width: 85%;
  max-width: 320px;
  box-shadow: 0 0 30px rgba(0,0,0,0.3);
  transition: transform 0.3s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
}

.drawer.left {
  left: 0;
  transform: translateX(-100%);
}

.drawer.left.active {
  transform: translateX(0);
}

.drawer.right {
  right: 0;
  transform: translateX(100%);
}

.drawer.right.active {
  transform: translateX(0);
}

.drawer-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eeeeee;
  background: #fafafa;
}

.close-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: #777777;
  cursor: pointer;
  transition: 0.3s;
  padding: 0;
  line-height: 1;
}

.close-btn:hover {
  color: var(--kt-orange);
  transform: rotate(90deg);
}

.drawer-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.drawer-body .btn-kt {
  display: inline-flex;
  width: 100%;
  text-align: center;
  margin-bottom: 12px;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-list li {
  border-bottom: 1px solid #f5f5f5;
}

.mobile-menu-list a,
.mobile-menu-list button.submenu-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  text-decoration: none;
  color: var(--kt-blue);
  font-weight: 600;
  font-size: 16px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

.mobile-menu-list svg,
.kt-menu-svg {
  color: var(--kt-orange);
  width: 24px;
  min-width: 24px;
}

.submenu-toggle {
  justify-content: space-between;
}

.submenu-toggle > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.mobile-submenu {
  background: #f8f9fa;
  padding-left: 45px;
  display: none;
  margin-bottom: 10px;
  border-radius: 8px;
}

.mobile-submenu a {
  font-size: 14px;
  padding: 12px 0;
  color: #555555;
  font-weight: 500;
}

.mobile-has-sub.open .mobile-submenu {
  display: block;
  animation: ktFadeIn 0.3s;
}

@keyframes ktFadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.caret {
  margin-left: auto;
  font-size: 12px;
  transition: 0.3s;
  opacity: 0.5;
  display: inline-flex;
}

.mobile-has-sub.open .caret {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--kt-orange);
}

@media screen and (max-width: 768px) {
  .desktop-header-outer {
    display: none;
  }

  .mobile-app-header {
    display: flex;
  }
}

/* =========================================
   FOOTER
   ========================================= */

.custom-footer-wrapper {
  background-color: var(--ft-bg);
  color: var(--ft-white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  padding: 32px 24px 16px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.custom-footer-wrapper *,
.custom-footer-wrapper *::before,
.custom-footer-wrapper *::after {
  box-sizing: border-box;
}

.footer-container {
  max-width: var(--ft-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, 1fr);
  gap: 20px 32px;
  margin-bottom: 20px;
  text-align: left;
  align-items: start;
}

/* Footer logo: same file, smaller display so the four columns stay on one line */
.footer-logo {
  width: 200px !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 1024 / 342;
  object-fit: contain !important;
  display: block !important;
  margin-bottom: 8px;
  filter: drop-shadow(0 1px 1px rgba(255,255,255,0.5));
}

/* Het logobestand heeft zwarte ruimte boven het woordmerk. Alleen de
   linkerkolom schuift omhoog, zodat het zichtbare logo op lijn komt
   met de koppen. De andere kolommen blijven staan. */
.footer-grid > .footer-col:first-child {
  margin-top: -21px;
}

.footer-col h4 {
  color: var(--ft-white);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
  border-bottom: 2px solid var(--ft-orange);
  display: inline-block;
  padding-bottom: 4px;
}

.footer-col p,
.address-block {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ft-text);
  margin-bottom: 8px;
  font-weight: 500;
}

.address-block:empty {
  display: none;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: var(--ft-text);
  text-decoration: none;
  font-size: 15px;
  transition: 0.3s;
  display: inline-block;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--ft-orange);
  transform: translateX(5px);
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.social-icons a {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: var(--ft-white);
  text-decoration: none;
  transition: 0.3s;
}

.social-icons a:hover {
  background: var(--ft-orange);
}

.newsletter-trigger {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-weight: 600;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-family: inherit;
}

.newsletter-trigger:hover {
  text-decoration: underline;
}

.footer-btn {
  display: inline-block;
  background: var(--ft-orange);
  color: var(--kt-blue-dark) !important;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  text-decoration: none;
  margin-top: 15px;
  border: 1px solid var(--ft-orange);
  transition: 0.3s;
}

.footer-btn:hover {
  background: transparent;
  color: var(--ft-orange) !important;
  border-color: var(--ft-orange);
}

.recent-post-item {
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 8px;
}

.recent-post-item:last-child {
  border: none;
}

.rp-title {
  color: var(--ft-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  display: block;
}

.rp-title:hover {
  color: var(--ft-orange);
}

.copyright-bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 14px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 28px;
  }
}

@media (max-width: 768px) {
  .custom-footer-wrapper {
    padding: 28px 16px 12px;
  }

  .footer-btn {
    display: block;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* =========================================
   NEWSLETTER POPUP + SHOP POPUP
   ========================================= */

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 27, 28, 0.62);
  z-index: 2147483600;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 16px;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  position: relative;
  background: #F7F4EF;
  width: min(980px, 100%);
  max-height: calc(100dvh - 32px);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(24, 27, 28, 0.28);
  color: #181B1C;
}

.popup-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(280px, 1.08fr);
  min-height: 0;
  overflow: auto;
}

.shop-soon-popup .popup-layout {
  grid-template-columns: minmax(280px, 1.08fr) minmax(240px, 0.92fr);
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #181B1C;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(24, 27, 28, 0.12);
}

.popup-close:hover,
.popup-close:focus-visible {
  background: #F7F4EF;
}

.popup-close:focus-visible,
.popup-input:focus-visible,
.popup-submit:focus-visible {
  outline: 3px solid #B5946F;
  outline-offset: 2px;
}

.popup-image {
  min-height: 320px;
  background: #EDE0CF;
  overflow: hidden;
}

.popup-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.popup-form-wrapper {
  padding: 42px 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.popup-kicker {
  margin: 0 0 10px;
  color: #B5946F;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.popup-form-wrapper h2,
.popup-form-wrapper h3 {
  margin: 0;
  color: #181B1C;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
  font-weight: 700;
}

.shop-soon-popup h2 em {
  color: #B5946F;
  font-style: italic;
  font-weight: 650;
}

.popup-lead {
  margin: 14px 0 22px;
  color: #3d4144;
  font-size: 16px;
  line-height: 1.5;
}

.popup-field {
  position: relative;
  display: block;
  flex: 1;
  min-width: 0;
}

.popup-field__icon {
  position: absolute;
  left: 14px;
  top: 24px;
  transform: translateY(-50%);
  color: #B5946F;
  display: flex;
  pointer-events: none;
}

.popup-field .popup-input {
  width: 100%;
  height: 48px;
  padding: 0 14px 0 44px;
  border: 1px solid #E5E1DC;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #fff;
  color: #181B1C;
  font-family: inherit;
  font-size: 15px;
  box-sizing: border-box;
}

.popup-input::placeholder {
  color: #8a8a8a;
}

.popup-row {
  display: flex;
  gap: 12px;
}

.popup-row .popup-input {
  width: 100%;
}

.popup-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  background: #B5946F;
  color: #fff;
  border: 0;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  font-family: inherit;
}

.popup-submit:hover,
.popup-submit:focus-visible {
  background: #a3835f;
  color: #fff;
}

.popup-submit:disabled {
  background: #CFB49B;
  cursor: wait;
}

.popup-privacy {
  margin: 12px 0 0;
  color: #6B6B6B;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.popup-perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.popup-perks li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: #181B1C;
  font-size: 12px;
  line-height: 1.3;
}

.popup-perks li span {
  width: 46px;
  height: 46px;
  border: 1.5px solid #B5946F;
  border-radius: 50%;
  color: #B5946F;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-message {
  display: none;
  text-align: center;
  color: #181B1C;
  padding: 12px 0 8px;
}

.popup-message svg {
  margin-bottom: 12px;
  color: #B5946F;
}

.popup-message h3 {
  font-size: 28px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 800px) {
  .popup-overlay {
    padding: 10px;
    align-items: flex-start;
  }

  .popup-content {
    max-height: calc(100dvh - 20px);
    border-radius: 22px;
  }

  .popup-layout,
  .shop-soon-popup .popup-layout {
    display: flex;
    flex-direction: column;
  }

  .popup-image {
    width: 100%;
    height: 180px;
    min-height: 180px;
    flex: 0 0 180px;
  }

  #shopSoonPopup .popup-image {
    order: 2;
    height: 200px;
    min-height: 200px;
    flex-basis: 200px;
  }

  .popup-form-wrapper {
    width: 100%;
    padding: 56px 18px 20px;
  }

  .popup-row {
    flex-direction: column;
    gap: 0;
  }

  .popup-perks {
    gap: 8px;
  }

  .popup-perks li {
    font-size: 11px;
  }
}


@media (max-width: 767px) {
  .elementor-element-56ed2e3 {
    margin-left: 0 !important;
  }
}
