/*
Theme Name: balcok.de
Author: Travelseller GmbH
Description: Balcok-Theme. CSS-Framework is Bootstrap5.
Version: 1.0
Tags: balcok
*/

/* new site css - stand 16.32 uhr */

#balcok-map {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 1;
    transition: opacity 0.6s ease;
    pointer-events: auto;
}

#balcok-map.is-hidden {
    opacity: 0;
    pointer-events: none;
}

#leaflet-container {
    position: relative;
    z-index: 1;
}

#leaflet-container .container {
    padding-top: 3rem;
}

#leaflet-container .row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    padding-left: 2rem;
}

#leaflet-container .col-12[data-lat] {
    flex: none !important;
    width: 575px !important;
    max-width: calc(100vw - 3rem);
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    padding: 1.5rem;
}

#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: transparent;
  z-index: 2000;
}

#main-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 100%;
  background-color: #212d6b;
  z-index: -1;
}

#main-header .navbar {
  height: 100%;
  display: flex;
  align-items: center;
}

#main-header .navbar-brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

#main-header .navbar-brand img {
  height: 48px;
  width: auto;
}

body.admin-bar #main-header {
  top: 32px;
}

#main-header .primary-nav {
  position: absolute;
  top: 50%;
  left: calc(50% - 550px + 32px);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 28px;
  z-index: 5;
}

#main-header .primary-nav .nav-link {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

#main-header .primary-nav .nav-link:hover,
#main-header .primary-nav .current-menu-item > .nav-link {
  opacity: 0.85;
}

#main-header .primary-nav {
  max-width: calc(50% - 140px);
}

#main-header .top-nav {
  position: absolute;
  top: 50%;
  right: calc(50% - 550px + 32px);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 5;
}

#main-header .top-nav .nav-link {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

#main-header .top-nav .menu-item:last-child .nav-link {
  background: #7bc143;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 600;
  color: #ffffff;
}

#main-header .top-nav .menu-phone > .nav-link {
  display: grid;
  grid-template-columns: 18px auto;
  grid-template-rows: auto auto;
  column-gap: 8px;
  row-gap: 2px;

  align-items: start;
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.2;
}

#main-header .top-nav .menu-phone i {
  grid-row: 1 / 2;
  grid-column: 1 / 2;
  font-size: 15px;
  margin-top: 2px;
}

#main-header .top-nav .menu-phone > .nav-link {
  white-space: nowrap;
}

#main-header .top-nav .menu-phone small {
  grid-column: 2 / 3;
  font-size: 0.75rem;
  opacity: 0.85;
  font-weight: 400;
}

#main-header .navbar > .container {
  height: 100%;
  align-items: center;
}

#main-header .navbar-toggler {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: 44px;
  margin-top: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 6px;

  background: transparent;
}

#main-header .navbar-toggler-icon {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* Weißes Menü auf Umrah-Seite */
body.umrah-theme #main-header::before {
  background-color: #ffffff !important;
}

body.umrah-theme #main-header .primary-nav .nav-link,
body.umrah-theme #main-header .top-nav .nav-link {
  color: #212D6B !important;
}

body.umrah-theme #main-header .primary-nav .nav-link:hover {
  opacity: 0.8;
}
/* Weißes Menü auf Umrah-Seite Ende */

.elementor-widget-html .elementor-widget-container {
  position: relative;
  height: 600px;
}
.hero-video {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 600px;
}

.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 */
  min-height: 100%;
  min-width: 100%;
  transform: translate(-50%, -50%);
}

.footer-main {
  background-color: #212D6B;
}

/* site stuff */

.badge-container {
    width: fit-content !important;
    flex: 0 0 auto !important;
}
.badge-ribbon {
  position: absolute;
  top: 15px;
  left: 0;
  
  background: #6cc04a;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  
  padding: 8px 18px 8px 15px;
  
  display: inline-block;
  white-space: nowrap;
}

.badge-ribbon {
  position: absolute;
  top: 15px;
  left: 0;

  background: #6cc04a;
  color: #fff;

  font-size: 14px;
  font-weight: 600;
  z-index: 24;
  padding: 8px 20px 8px 12px;

  display: inline-block;
  white-space: nowrap;
}
/* Flugplan */

.flight-tabs .nav-tabs {
    border: 0;
    gap: 12px;
}

.flight-tabs .nav-tabs .nav-item {
    margin: 0;
}

.flight-tabs .nav-tabs .nav-link {
    background: #ffffff;
    border: 2px solid #212D6B;
    border-radius: 4px;

    color: #212D6B;
    font-weight: 600;
    font-size: 16px;

    padding: 12px 24px;

    transition: all 0.2s ease;
}

.flight-tabs .nav-tabs .nav-link:hover {
    background: #212D6B;
    color: #ffffff;
}

.flight-tabs .nav-tabs .nav-link.active,
.flight-tabs .nav-tabs .nav-link.active:hover {
    background: #212D6B;
    border-color: #212D6B;
    color: #ffffff;
}
.flight-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
}

.flight-table thead th {
    background: #212D6B;
    color: #fff;
    font-weight: 600;
    padding: 18px 16px;
    text-align: left;
}

.flight-table thead th:first-child {
    border-top-left-radius: 10px;
}

.flight-table thead th:last-child {
    border-top-right-radius: 10px;
}

.flight-table tbody td {
    padding: 16px;
    border-bottom: 1px solid #e5e5e5;
}

.flight-table tbody tr:last-child td {
    border-bottom: none;
}
.flight-table tbody tr {
    transition: background-color 0.2s ease;
}

.flight-table tbody tr:hover {
    background-color: rgba(123, 193, 67, 0.08);
}
/* Menü Reiseseite */
#menu-overview,
#menu-itinerary,
#menu-details,
#menu-services,
#menu-hotels,
#menu-faq {
    position: relative;
}

#menu-overview.active::after,
#menu-itinerary.active::after,
#menu-details.active::after,
#menu-services.active::after,
#menu-hotels.active::after,
#menu-faq.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 100%;
    height: 3px;
    background: #212D6B;
}
/* Dreieck */
.badge-ribbon::after {
  content: "";
  position: absolute;
  top: 0;
  right: -16px;

  width: 0;
  height: 0;

  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 16px solid #6cc04a;
}

.image-badge {
  transition: transform 0.2s ease;
}

.image-badge:hover {
  transform: translateY(-3px);
}

.api-generated-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
  color: #212D6B;
  font-weight: 500;
  line-height: 1.7;
}

.balcock-checklist ul {
    list-style: none;
    padding-left: 0;
}

.balcock-checklist ul li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 12px;
}

.balcock-checklist ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;

    width: 20px;
    height: 20px;

    background: #6BB343;
    color: #ffffff;

    border-radius: 50%;

    font-size: 12px;
    font-weight: bold;

    display: flex;
    align-items: center;
    justify-content: center;
}

.vierreisen {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.col-4reise {
  width: calc(25% - 15px);
}

/* Breakpoint bei 1050px */
@media (max-width: 1050px) {
  .col-4reise {
    width: calc(50% - 10px);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .col-4reise {
    width: 100%;
  }
}


/* media stuff */

@media (min-width: 1200px) {
  #main-header .navbar-toggler {
    display: none !important;
  }
}

@media (max-width: 1199.98px) {
  #newsletter-headline h2 {
		font-size: 20px;
  }
  #main-header .top-nav .menu-item:last-child {
    display: none;
  }
  #main-header .top-nav {
    position: static;
    margin-left: auto;
    margin-right: auto;
    transform: none;
    gap: 0;
  }
  #main-header {
    height: 80px;
  }
  #main-header .navbar {
    min-height: 0;
    padding: 0;
  }
  #main-header .navbar-brand {
    top: 50%;
    transform: translate(-50%, -50%);
  }
  #main-header::before {
    height: 100%;
  }
  #main-header .navbar-collapse {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #212d6b;
    padding: 20px 0;
    z-index: 1999;
  }
  body.umrah-theme #main-header .navbar-collapse {
    background-color: #ffffff !important;
  }

  body.umrah-theme #main-header .primary-nav .nav-link {
    color: #212D6B !important;
    border-bottom: 1px solid rgba(33,45,107,0.15);
  }

  body.umrah-theme #main-header .primary-nav .nav-link:hover {
    background: rgba(33,45,107,0.05);
  }
  body.admin-bar #main-header .navbar-collapse {
    top: calc(80px + 32px);
  }
  body.umrah-theme #main-header .navbar-toggler {
    border-color: rgba(33,45,107,0.4);
  }

  body.umrah-theme #main-header .navbar-toggler-icon {
    filter: none !important;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23212D6B' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }	
  #main-header .primary-nav {
    position: static;
    transform: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-width: 100%;
    padding: 0 24px;
  }
  #main-header .primary-nav .nav-link {
    width: 100%;
    padding: 14px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }

  #main-header .primary-nav .nav-link:hover {
    background: rgba(255,255,255,0.08);
  }
}
@media (min-width: 900px) and (max-width: 1199.98px) {

  #main-header .navbar-collapse {
    width: 75%;
    max-width: 75%;
  }
}

@media (max-width: 899.98px) {
  .hero-video {
    height: 450px;
  }
  #newsletter-imagecontainer{
	display:none;
  }
}

@media screen and (max-width: 782px) {
  body.admin-bar #main-header {
    top: 46px;
  }
}
@media (max-width: 767px) {
  .advantages-bar {
    display: none!important;
  }
}
@media (max-width: 599.98px) {
  .hero-video {
    height: 320px;
  }
}