/*
Theme Name: DaskotBus Child
Theme URI: https://example.invalid/
Description: Lightweight site header and footer for the Hello Elementor parent theme.
Author: Ambistiq
Template: hello-elementor
Version: 1.0.2
Text Domain: daskotbus-child
*/

:root {
  --daskotbus-primary: #008fb9;
  --daskotbus-primary-dark: #007da3;
  --daskotbus-text: #54595f;
  --daskotbus-footer: #f2faff;
}

.daskotbus-site-header {
  position: relative;
  z-index: 50;
  background: #fff;
  box-shadow: 0 0 10px rgb(0 0 0 / 10%);
}

.daskotbus-site-header__inner {
  width: min(90%, 1200px);
  min-height: 100px;
  margin: 0 auto;
  padding: 30px 0;
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) minmax(330px, 2fr) auto;
  gap: 32px;
  align-items: center;
}

.daskotbus-site-header__brand,
.daskotbus-site-header__brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.daskotbus-site-header__brand .custom-logo {
  display: block;
  width: auto;
  max-width: 145px;
  max-height: 58px;
}

.daskotbus-site-header__title {
  color: var(--daskotbus-primary);
  font-family: Tahoma, Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.daskotbus-primary-navigation .menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.daskotbus-primary-navigation a {
  color: var(--daskotbus-primary);
  font-family: Tahoma, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.daskotbus-primary-navigation a:hover,
.daskotbus-primary-navigation a:focus-visible {
  color: var(--daskotbus-primary-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.daskotbus-site-header__actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.daskotbus-header-action {
  min-width: 112px;
  min-height: 40px;
  padding: 10px 16px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 2px;
  background: var(--daskotbus-primary);
  color: #fff;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.daskotbus-header-action:hover,
.daskotbus-header-action:focus-visible {
  background: var(--daskotbus-primary-dark);
  color: #fff;
}

.daskotbus-header-action svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.daskotbus-menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 2px;
  background: #f2f2f2;
  color: var(--daskotbus-text);
  cursor: pointer;
}

.daskotbus-menu-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.daskotbus-site-footer {
  padding: 28px 20px;
  background: var(--daskotbus-footer);
  color: var(--daskotbus-text);
  text-align: center;
}

.daskotbus-site-footer p {
  margin: 0;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 14px;
}

.wpcf7-form label {
  width: 100%;
  font-family: Tahoma, Arial, sans-serif;
}

.wpcf7-form-control {
  margin-top: 10px;
}

.wpcf7-form .wpcf7-submit {
  width: 100%;
  border: 0;
  background-color: var(--daskotbus-primary);
  color: #fff;
  font-family: Tahoma, Arial, sans-serif;
  font-weight: 600;
}

.wpcf7-form .wpcf7-submit:hover,
.wpcf7-form .wpcf7-submit:focus-visible {
  background-color: var(--daskotbus-primary-dark);
  color: #fff;
}

.wpcf7-form .wpcf7-response-output {
  width: 100%;
  margin: 0;
  padding: 10px;
}

@media (max-width: 767px) {
  .daskotbus-site-header__inner {
    min-height: 0;
    padding: 24px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 22px 16px;
  }

  .daskotbus-site-header__brand {
    width: 40%;
  }

  .daskotbus-site-header__brand .custom-logo {
    width: 100%;
    max-width: 130px;
    max-height: 50px;
  }

  .daskotbus-menu-toggle {
    display: inline-flex;
    order: 2;
  }

  .daskotbus-primary-navigation {
    width: 100%;
    order: 3;
    display: none;
  }

  .daskotbus-primary-navigation.is-open {
    display: block;
  }

  .daskotbus-primary-navigation .menu {
    padding: 14px 0;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
  }

  .daskotbus-primary-navigation li,
  .daskotbus-primary-navigation a {
    width: 100%;
  }

  .daskotbus-primary-navigation a {
    display: block;
    padding: 12px 6px;
    text-align: center;
  }

  .daskotbus-site-header__actions {
    width: 100%;
    order: 4;
    justify-content: space-between;
  }

  .daskotbus-header-action {
    min-width: 0;
    width: calc(50% - 8px);
  }
}
