/* ==========================================================
   Header Style 6
   Video / Static Image Header / Content Header / Logo / Contacts / Popout Menu
========================================================== */

/* ------------------------------
   Base Header
------------------------------ */

header#headerStyle6 {
    float: left;
    width: 100%;
    position: relative;
    height: 100vh;
    background: #000;
    overflow: hidden;
}

header#headerStyle6.contentPage {
    height: auto;
    min-height: 110px;
    background: #fff;
    overflow: visible;
}

/* ------------------------------
   Video / Static Image
------------------------------ */

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    z-index: 1;
    opacity: 0.75;
}

.background-video,
.background-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    display: block;
}

/* YouTube iframe cover behaviour */
iframe.background-video {
    width: 100vw;
    height: 56.25vw;
    min-width: 100%;
    min-height: 100%;
    pointer-events: none;
}

/* Portrait / narrow screens */
@media (max-aspect-ratio: 16/9) {
    iframe.background-video {
        width: 177.78vh;
        height: 100vh;
    }
}

.youtube-click-blocker {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent;
}

/* ------------------------------
   Burger Button
------------------------------ */

.header-burger-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 40;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.header-burger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.header-burger-btn:hover {
    background: rgba(0, 0, 0, 0.75);
}

/* Content page: vertically centered burger */
header#headerStyle6.contentPage .header-burger-btn {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

/* ------------------------------
   Logo Overlay - Home Page
------------------------------ */

.header-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 700px;
    pointer-events: none;
}

.header-logo-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-logo {
    display: block;
    max-width: 400px;
    width: 70%;
    height: auto;
    margin: 0 auto;
}

/* Content Page Logo - Top Left, vertically centered */
.header-logo-top-left {
    top: 50%;
    left: 80px;
    right: auto;
    transform: translateY(-50%);
    width: auto;
    max-width: calc(100% - 520px);
    text-align: left;
    z-index: 31;
}

.header-logo-top-left .header-logo-inner {
    align-items: flex-start;
}

.header-logo-top-left .header-logo {
    display: block;
    max-width: 100%;
    width: auto;
    height: 46px;
    margin: 0;
}

/* ------------------------------
   Tagline
------------------------------ */

.header-tagline {
    margin-top: 18px;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

.header-tagline-1,
.header-tagline-2 {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    letter-spacing: 0.5px;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.85),
        0 0 18px rgba(255, 255, 255, 0.25);
}

.header-tagline-1 {
    font-size: 38px;
    font-weight: 700;
    text-transform: uppercase;
    animation: taglineFadeUp 0.8s ease-out both;
}

.header-tagline-2 {
    margin-top: 10px;
    font-size: 24px;
    font-weight: 500;
    opacity: 0.96;
    animation: taglineFadeUp 0.8s ease-out 0.18s both;
}

@keyframes taglineFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ------------------------------
   Contact Overlay - Home Page
   Single row, right aligned
------------------------------ */

.header-contact-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    width: auto;
    z-index: 10;
    display: flex;
    justify-content: flex-end;
}

.header-contact-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 8px;
}

.header-contact-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.header-phone-row,
.header-email-row {
    width: auto;
}

.header-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: 15px;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
}

.header-contact-link:hover {
    color: #ddd;
    text-decoration: none;
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
}

.contact-icon-phone,
.contact-icon-email {
    color: #fff;
}

.contact-icon-whatsapp {
    color: #25D366;
}

.whatsAppIconHeader {
    width: 16px;
    height: 16px;
    display: block;
}

/* ------------------------------
   Contact Overlay - Content Page
------------------------------ */

.header-contact-top-right {
    position: absolute;
    top: 50%;
    right: 20px;
    left: auto;
    z-index: 31;
    max-width: calc(100% - 300px);
    transform: translateY(-50%);
    display: flex;
    justify-content: flex-end;
}

.header-contact-top-right .header-contact-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 6px 12px;
    flex-wrap: wrap;
    padding: 4px 0;
    background: transparent;
    border-radius: 0;
}

.header-contact-top-right .header-contact-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px 12px;
    flex-wrap: wrap;
    width: auto;
}

.header-contact-top-right .header-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #111;
    font-size: 13px;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.header-contact-top-right .header-contact-link:hover {
    text-decoration: underline;
}

.header-contact-top-right .iconH,
.header-contact-top-right .iconHE {
    color: #111;
    font-size: 13px;
}

.header-contact-top-right .whatsAppIconHeader {
    width: 16px;
    height: 16px;
    display: block;
}

/* ------------------------------
   Popout Menu
------------------------------ */

.header-popout-overlay {
    position: fixed;
    inset: 0;
    z-index: 39;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.header-popout-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.header-popout-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 40;
    width: 340px;
    max-width: 88vw;
    height: 100vh;
    transform: translateX(-105%);
    transition: transform 0.3s ease;
}

.header-popout-menu.is-active {
    transform: translateX(0);
}

.header-popout-panel {
    position: relative;
    width: 100%;
    height: 100%;
    background: #111;
    color: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.35);
}

.header-popout-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 30px;
    line-height: 38px;
    cursor: pointer;
}

.header-popout-close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.header-popout-menu-inner {
    padding: 70px 22px 30px;
}

.header-popout-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-popout-link {
    width: 100%;
    border: 0;
    background: transparent;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1.3;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.header-popout-link:hover,
.header-popout-link.selected {
    color: #ddd;
}

.header-popout-arrow {
    font-size: 13px;
    transition: transform 0.25s ease;
}

.header-popout-toggle.is-open .header-popout-arrow {
    transform: rotate(180deg);
}

.header-popout-submenu-wrap {
    display: none;
    padding-left: 16px;
    padding-bottom: 8px;
}

.header-popout-submenu-wrap.is-open {
    display: block;
}

.header-popout-submenu .header-popout-link {
    font-size: 15px;
    padding: 11px 0;
    color: rgba(255, 255, 255, 0.85);
}

.header-popout-submenu .header-popout-link:hover,
.header-popout-submenu .header-popout-link.selected {
    color: #fff;
}

body.header-menu-open {
    overflow: hidden;
}
.header-contact-link.whatsapp-link img.whatsAppIconHeader{
	margin:5px 0;
	width:22px;
	height:22px;
	}
.header-contact-link i, .header-contact-link span{
	margin:0;
	line-height:34px;
	vertical-align:middle;
	}
/* ------------------------------
   Tablet
------------------------------ */

@media (max-width: 1024px) {
    header#headerStyle6.contentPage {
        min-height: 120px;
    }

    .header-logo-top-left {
        max-width: calc(100% - 420px);
    }

    .header-contact-top-right {
        max-width: calc(100% - 260px);
    }

    .header-contact-top-right .header-contact-link {
        font-size: 12px;
    }
}

/* ------------------------------
   Mobile - Home Page
------------------------------ */

@media (max-width: 767px) {
    .header-tagline-1 {
        font-size: 28px;
        padding: 5px 13px;
    }

    .header-tagline-2 {
        font-size: 18px;
        padding: 5px 12px;
    }

    header#headerStyle6:not(.contentPage) .header-contact-overlay {
        position: absolute;
        top: 12px;
        left: 12px;
        right: 12px;
        display: flex;
        justify-content: flex-end;
    }

    header#headerStyle6:not(.contentPage) .header-contact-inner {
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        padding: 10px 12px;
        gap: 8px 12px;
        flex-wrap: wrap;
        max-width: 100%;
    }

    header#headerStyle6:not(.contentPage) .header-contact-row {
        justify-content: flex-end;
        gap: 8px 12px;
        width: auto;
        flex-wrap: wrap;
    }

    header#headerStyle6:not(.contentPage) .header-contact-link {
        font-size: 13px;
        white-space: normal;
        word-break: break-word;
    }

    .header-popout-menu {
        width: 310px;
        max-width: 90vw;
    }

    .header-popout-menu-inner {
        padding: 64px 18px 26px;
    }

    .header-popout-link {
        font-size: 17px;
        padding: 14px 0;
    }
}

/* ------------------------------
   Mobile - Content Page
   Dynamic height
------------------------------ */

@media (max-width: 767px) {
    header#headerStyle6.contentPage {
        height: auto;
        min-height: 0;
        padding: 12px 12px 14px;
        box-sizing: border-box;
        overflow: visible;
        display: block;
    }

    header#headerStyle6.contentPage .header-burger-btn {
        position: absolute;
        top: 91px;
        left: 12px;
        width: 42px;
        height: 42px;
        transform: none;
        z-index: 40;
    }

    header#headerStyle6.contentPage .header-burger-btn span {
        width: 22px;
    }

    header#headerStyle6.contentPage .header-logo-top-left {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: none;
        min-height: 42px;
        margin-left: 0;
        margin-top: 10px;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 31;
        text-align: center;
    }

    header#headerStyle6.contentPage .header-logo-top-left .header-logo-inner {
        width: 100%;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    header#headerStyle6.contentPage .header-logo-top-left .header-logo {
        height: 42px;
        width: auto;
        max-width: 100%;
        margin: 0 auto;
    }

    header#headerStyle6.contentPage .header-contact-top-right {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: none;
        margin: 0;
        z-index: 31;
        display: flex;
        justify-content: center;
    }

    header#headerStyle6.contentPage .header-contact-top-right .header-contact-inner {
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 5px 9px;
        padding: 0;
        background: transparent;
        border-radius: 0;
        flex-direction: row;
        flex-wrap: wrap;
    }

    header#headerStyle6.contentPage .header-contact-top-right .header-contact-row {
        justify-content: center;
        gap: 5px 9px;
        width: auto;
        flex-wrap: wrap;
    }

    header#headerStyle6.contentPage .header-contact-top-right .header-contact-link {
        font-size: 12px;
        line-height: 1.2;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        max-width: 100%;
    }

    header#headerStyle6.contentPage .header-contact-top-right .whatsAppIconHeader {
        width: 15px;
        height: 15px;
        flex: 0 0 auto;
    }
}

/* ------------------------------
   Very small mobile
------------------------------ */

@media (max-width: 430px) {
    header#headerStyle6.contentPage {
        height: auto;
        min-height: 0;
        padding-bottom: 16px;
    }

    header#headerStyle6.contentPage .header-logo-top-left {
        width: calc(100% - 54px);
        margin-left: 54px;
        margin-bottom: 10px;
    }

    header#headerStyle6.contentPage .header-logo-top-left .header-logo {
        height: 38px;
    }

    header#headerStyle6.contentPage .header-contact-top-right .header-contact-row {
        justify-content: center;
        gap: 5px 8px;
    }

    header#headerStyle6.contentPage .header-contact-top-right .header-contact-link {
        font-size: 11px;
        line-height: 1.2;
    }
}