/*
Theme Name: Freudberg Elementor Starter
Theme URI: https://example.com/
Author: Freudberg
Description: Lightweight classic WordPress theme for Elementor Free + ACF Free. Full-height page hero with per-page ACF background image and headline.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: freudberg
*/

@font-face {
    font-family: "Carnac Black";
    font-style: normal;
    font-weight: 700;
    src: url(/wp-content/themes/freudberg-elementor-theme/fonts/Carnac-Black.otf) format("truetype");
}

@font-face {
    font-family: "SohoPro";
    font-style: normal;
    font-weight: 700;
    src: url(/wp-content/themes/freudberg-elementor-theme/fonts/SohoPro-Regular.otf) format("truetype");
}

:root {
    --hero-height: 100vh;
    --content-width: 1200px;
    --side-padding: 32px;
    
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
   
}

body {
    font-family: "SohoPro"!important;
    margin: 0;
    background: #fff;
    color: #111;
}

body * {
    font-family: "SohoPro"!important;
    line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: "Carnac Black"!important;
    font-weight: 700;
    line-height: 1.2;
}

body h1, body h2, body h3,body h4,body h5,body h6,body button, a.e-button-base,
body h1 *, body h2 *, body h3 *,body h4 *,body h5 *,body h6 *,body button * {
    font-family: "Carnac Black"!important;
}

h2 {
    font-size: 32px;
}

.site-content .page-section {
    min-height: 100vH;
}

.site-content .bottom-shadow {
    box-shadow: inset 0 -4px 6px -4px rgba(0, 0, 0, 0.1);
}
.site-content .elementor .e-div-block-base.page-area {
    padding-top: 64px;
    padding-bottom: 64px;
    
}
.site-content .elementor .e-div-block-base.page-area-top {
    padding-top: 64px;
}
.site-content .elementor .e-div-block-base.page-area-bottom {
    padding-bottom: 64px;
    
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.site-header {
    position: relative;
    min-height: var(--hero-height);
    color: #fff;
    background-color: #222;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    /*background-color: rgba(255,255,255,0.25);*/
    /*background-blend-mode: lighten;*/
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.site-header.blog-header {
    min-height: auto;
}
/*.custom-logo {
  //background-color: rgba(255,255,255,0.5);
background: rgba(255,255,255,0.25);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);    
box-shadow: 0 0 20px rgba(255,255,255,0.5);
//filter: drop-shadow(0 0 15px rgba(255,255,255,0.6));    
}*/

/*.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.32);
    pointer-events: none;
}*/

.site-header__top,
.site-header__hero {
    position: relative;
    z-index: 1;
    width: min(100%, var(--content-width));
    margin-inline: auto;
    padding-inline: var(--side-padding);
}

.site-header__top {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.site-branding {
    margin-top:16px;
    max-width: 200px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 24px;
}

.site-logo img {
    display: block;
    max-height: 70px;
    width: auto;
}


/* =========================
   NAVIGATION – DESKTOP
   ========================= */

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;

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

    gap: 0;
}

.main-navigation li {
    display: flex;
    align-items: center;
}

/* separator | między punktami menu */
.main-navigation li:not(:last-child)::after {
    content: "|";
    color: #fff;
    font-size: 32px;
    margin: 0 18px;
    opacity: 0.8;
}

.main-navigation li:nth-last-child(2)::after {
    content: "";
}
.main-navigation li:last-child {
    background-color: #f7a600;
    color: #fff;
    padding: 8px 16px;
    border-radius: 16px;
    margin: 0 18px;
    opacity: 0.8;
}
.main-navigation a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    text-decoration: underline;
    text-underline-offset: 5px;
}


/* =========================
   HAMBURGER
   ========================= */

.menu-toggle {
    display: none;

    background: transparent;
    border: 0;
    padding: 8px 0;

    color: #fff;
    cursor: pointer;

    font-size: 30px;
    line-height: 1;
    

  
}


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

@media (max-width: 767px) {

    .site-header__top {
        min-height: 85px;
        align-items: flex-start;
        padding-top: 22px;
    }

    /* hamburger widoczny */
    .menu-toggle {
        display: block;
    }

    /* menu domyślnie ukryte */
    .main-navigation {
        display: none;
        width: 250px;
    }

    /* menu po kliknięciu */
    .main-navigation.is-open {
        display: block;
    }

    .main-navigation ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;

        width: 100%;
        padding-top: 25px;
    }

    .main-navigation li {
        display: block;
        width: 100%;
        padding: 8px 0;
        text-align: right;
    }

    /* usuwamy separatory | na mobile */
    .main-navigation li:not(:last-child)::after {
        display: none;
    }

    .main-navigation a {
        font-size: 18px;
    }
}


/* =========================
   HERO
   ========================= */

.site-header__hero {
    flex: 1;
    display: flex;
    align-items: flex-end;
    padding-bottom: clamp(45px, 7vw, 100px);
    padding-left: 0;
}

.hero-headline {
    margin: 0;
    max-width: 1100px;
    font-size: clamp(48px, 7vw, 110px);
    line-height: 0.95;
    letter-spacing: -0.035em;
    font-weight: 700;
    color: #fff;
    text-wrap: balance;
    text-transform: uppercase;
}

.site-content {
    width: 100%;
}

.site-main {
    width: 100%;
}

/*** =========================================
   ABOUT US
   ========================================= */

#aboutustext {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}
#aboutustext.show {
    max-height: 500px;
    opacity: 1;
}   

#aboutus_less {
    display: none;
}

.flip-box {
    transition: transform .6s ease;
}

.flip-box:hover {
    transform: translateY(-5px) rotateY(10deg);
}

.hidden-element {
    display: none!important;
}

/*** FOOTER***/
.site-footer {
    padding: 60px 32px;
    background: #4cb6b0; /* #2596be;*/ /*#00978f;*/
    color: #fff;
}

.site-footer__inner {
    width: min(100%, var(--content-width));
    margin-inline: auto;

    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 48px;
}

.site-footer__block {
    font-size: 14px;    
}

.site-footer__block h3 {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 600;
}

.site-footer__block p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
}

.site-footer__block a {
    color: #fff;
    text-decoration: none;
}

.site-footer__block a:hover {
    text-decoration: underline;
}


/* Logo */
.site-footer__logo .custom-logo {
    display: block;
    max-width: 180px;
    width: auto;
    height: auto;
}


/* Service Menu */
.footer-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-navigation li {
    margin-bottom: 10px;
}

.footer-navigation a {
    color: #fff;
    text-decoration: none;
}

.footer-navigation a:hover {
    text-decoration: underline;
}


/* Mobile */
@media (max-width: 768px) {

    .site-footer {
        padding: 48px 24px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px 24px;
    }

}


/* Small mobile */
@media (max-width: 480px) {

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

}



@media (max-width: 767px) {

    :root {
        --side-padding: 20px;
        --hero-height: 72vh;
    }

    .hero-headline {
        font-size: clamp(42px, 13vw, 72px);
    }
}


/* =========================================================
   BOTTOM SECTION
   ========================================================= */

.bottom_section {
    width: 100%;
    background:  #00978f;
    border-bottom: 1px solid #fff;
    padding-bottom: 32px;
    padding-top: 32px;
    padding-left: 32px;
    padding-right: 32px;

}


.site-footer__bottom {
    width: 100%;
    max-width: var(--content-width);
    margin-right: auto;
    margin-left: auto;    
}


/* =========================================================
   HEADLINE
   ========================================================= */

.site-footer__headline {
    margin-bottom: 40px;
    text-align: center;
    color: #fff;        
}


/* =========================================================
   SLIDER
   ========================================================= */

.site-footer__slider {
    position: relative;
    width: 100%;
}


/*
 * The visible window.
 */

.site-footer__slider-window {
    width: 100%;
    overflow: hidden;
}


/*
 * Box track.
 */

.site-footer__boxes {
    display: flex;
    gap: 32px;

    width: 100%;

    transition:
        transform 0.45s ease;
}


/* =========================================================
   BOX
   ========================================================= */

.site-footer__box {
    position: relative;

    flex: 0 0 calc(
        (100% - 64px) / 3
    );

    aspect-ratio: 3 / 4;

    overflow: hidden;

    border-radius: 24px;

    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00978f;
    border: 2px solid #000;    
}


/* =========================================================
   IMAGE
   ========================================================= */

.site-footer__box-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: auto;

    object-fit: cover;

    display: block;

    z-index: 0;
}


/* =========================================================
   IMAGE OVERLAY
   ========================================================= */
/*
.site-footer__box::after {
    content: "";

    position: absolute;

    inset: 0;

    background: rgba(
        0,
        0,
        0,
        0.20
    );

    z-index: 1;

    pointer-events: none;
}
*/

/* =========================================================
   TEXT
   ========================================================= */

.site-footer__box-text {
    position: absolute;
    bottom: 0;
    min-height: 30%;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    z-index: 2;
    width: 100%;
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    color: #000;
    white-space: normal;
    background: rgba(255,255,255,0.8);
}


/*
 * Paragraphs created by WordPress editor.
 */

.site-footer__box-text p {
    margin: 0;
}


.site-footer__box-text p + p {
    margin-top: 8px;
}


/* =========================================================
   SLIDER BUTTONS
   ========================================================= */

.site-footer__slider-button {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 10;

    width: 44px;
    height: 44px;

    border: 0;

    border-radius: 50%;

    background: rgba(
        255,
        255,
        255,
        0.9
    );

    color: #000;

    cursor: pointer;

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

    font-size: 20px;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


.site-footer__slider-button:hover {
    transform:
        translateY(-50%)
        scale(1.05);
}


.site-footer__slider-button--prev {
    left: -22px;
}


.site-footer__slider-button--next {
    right: -22px;
}

/* =========================================================
   VIDEO BOX
   ========================================================= */

.site-footer__box-video {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    z-index: 0;
}


/*
 * Video should not have the dark overlay
 * used for image/text boxes.
 */

.site-footer__box--video::after {
    display: none;
}

/* =========================================================
   NO SLIDER
   ========================================================= */

/*
 * If there are 1-3 boxes, make them fill
 * the available width normally.
 */

.site-footer__slider.no-slider
.site-footer__boxes {
    width: 100%;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .site-footer__box {
        flex-basis: calc(
            (100% - 32px) / 2
        );
    }

}


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

@media (max-width: 700px) {

    .site-footer__boxes {
        gap: 20px;
    }


    .site-footer__box {
        flex: 0 0 100%;

        aspect-ratio: 1 / 1;

        border-radius: 20px;
    }


    .site-footer__box-text {
        width: 85%;
    }


    .site-footer__slider-button {
        width: 38px;
        height: 38px;

        font-size: 18px;
    }


    .site-footer__slider-button--prev {
        left: 10px;
    }


    .site-footer__slider-button--next {
        right: 10px;
    }

}

/* =========================================
   OPTIONAL DARK OVERLAY
   Makes white text easier to read
   ========================================= */

/*.site-footer__box::after {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.20);

    z-index: 1;
}*/


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

@media (max-width: 768px) {
    .elementor .e-con.e-div-block-base {
        width: 100% !important;
        max-width: 100% !important;
        flex-direction: column;
    }

    .site-footer__bottom {
        width: 80%;
    }

    .site-footer__boxes {
        grid-template-columns: 1fr;
        gap: 24px;
        
    }

    .site-footer__box {
        aspect-ratio: 3 / 4;
        border-radius: 20px;
    }

    .site-footer__box-text {
        width: 85%;
    }

}