/*
Theme Name: Hello Biz Child
Author: Iwan Stoliar
Author URI: https://stiwan.de
Description: Designed for NC Reinigung 
Version: 0.1
Requires at least: 6.0
Tested up to: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hello-biz-child
Template: hello-biz
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* ==========================================================================
   Header (and some Footer)
   ========================================================================== */
header#masthead.site-header .site-branding,
footer#colophon .site-branding {
    flex-direction: row;
}

header#masthead.site-header a {
    color: var(--e-global-color-secondary);
}

header#masthead.site-header .site-branding .site-logo,
footer#colophon .site-logo {
    height: 100px;
    padding-right: 1em;
}

header#masthead.site-header .site-branding .site-logo img,
footer#colophon .site-logo img {
    height: 100%;
}

header#masthead .header-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-left: 2rem;
    padding-right: 2rem;
}

header#masthead .site-branding {
    align-items: center;
}

header#masthead .site-title {
    font-size: 2.1em;
    font-weight: 800;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    border-bottom-color: var(--e-global-color-accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--e-global-color-secondary);
}

.menu-toggle-icon {
    width: 24px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-toggle-icon span {
    width: 100%;
    height: 2px;
    background-color: var(--e-global-color-secondary);
    transition: all 0.3s ease;
}

.menu-toggle:hover .menu-toggle-icon span,
.menu-toggle:focus .menu-toggle-icon span {
    background-color: white;
}

@media (max-width: 968px) {
    header#masthead .site-title {
        font-size: 1.5rem;
    }

    header#masthead.site-header .site-branding .site-logo {
        height: 80px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        z-index: 10;
        top: 100%;
        left: 0;
        right: 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid #eee;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 0;
        border-bottom: none;
    }
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    background-color: var(--e-global-color-764183d);
    padding: 4rem 0;
    overflow: hidden;
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    opacity: 0.3;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1;
}

.hero-shape-1 {
    width: 420px;
    height: 420px;
    top: 50%;
    right: -20%;
    animation-name: fade-in-opac-1;
}

.hero-shape-2 {
    width: 460px;
    height: 460px;
    top: 60%;
    left: -20%;
    animation-name: fade-in-opac-2;
}

.hero-shape-3 {
    width: 400px;
    height: 400px;
    top: 0%;
    left: 20%;
    animation-name: fade-in-opac-3;
}

@keyframes fade-in-opac-1 {
    0% {
        transform: translateY(-20px) rotate(7deg);
        opacity: 0;
    }

    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
}

@keyframes fade-in-opac-2 {
    0% {
        transform: translateY(10px) rotate(-3deg);
        opacity: 0;
    }

    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
}

@keyframes fade-in-opac-3 {
    0% {
        transform: translateY(-10px) rotate(-7deg);
        opacity: 0;
    }

    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 500px;
    z-index: 2;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    font-size: var(--e-global-typography-primary-font-size);
    font-weight: var(--e-global-typography-primary-font-weight);
    line-height: 1.1;
    color: var(--e-global-color-secondary);
    margin: 0;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--e-global-color-secondary);
    margin: 0;
    line-height: 1.3;
}

.hero-subtitle a {
    color: var(--e-global-color-secondary);
    font-weight: 600;
}

.hero-text p {
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
}

.hero-button,
#contact button.forminator-button {
    background-color: var(--e-global-color-accent);
    color: white !important;
    font-size: 1.1em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 200px;
    text-align: center;
}

.hero-button:hover {
    background-color: var(--e-global-color-a79f5aa);
    color: white !important;
    text-decoration: none;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-button {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
        min-height: 500px;
    }

    .hero-container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-image img {
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .hero-image img {
        max-width: 280px;
    }
}


/* ==========================================================================
   Service Section
   ========================================================================== */
#service .elementor-widget-html {
    margin: 0 auto;
}

#service svg {
    width: 200px;
    filter: drop-shadow(5px 5px 4px rgba(40, 40, 40, 0.3));
}

#service svg path {
    fill: var(--e-global-color-primary);
}

@media (max-width: 1400px) {
    #service h4 {
        font-size: 32px;
    }
}

@media (max-width: 1200px) {
    #service #services-list {
        flex-direction: column;
        padding-left: 6%;
        padding-right: 6%;
    }

    #service #services-list>* {
        width: 100%;
    }
}

@media (max-width: 576px) {
    #service #services-list {
        padding-left: 0%;
        padding-right: 0%;
    }
}

/* ==========================================================================
   Toggle Overlay Containers
   ========================================================================== */

#sustainability a.elementor-button:hover,
#service a.elementor-button:hover {
    cursor: pointer;
}

#sustainability .toggle-overlay-container,
#service .toggle-overlay-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 12px 12px 48px rgba(0, 0, 0, 0.4);
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 10;
}

#sustainability .toggle-overlay-container.toggle-overlay-visible,
#service .toggle-overlay-container.toggle-overlay-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

#sustainability .toggle-overlay-container.toggle-overlay-hidden,
#service .toggle-overlay-container.toggle-overlay-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(0.9);
}

/* Responsive adjustments for toggle containers */
@media (max-width: 768px) {

    #sustainability .toggle-overlay-container,
    #service .toggle-overlay-container {
        max-width: 95vw;
        max-height: 85vh;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {

    #sustainability .toggle-overlay-container,
    #service .toggle-overlay-container {
        max-width: 98vw;
        max-height: 80vh;
        padding: 1rem;
    }
}

/* ==========================================================================
   Benefits Section
   ========================================================================== */
@media (max-width: 1300px) {
    #benefits #benefits-list {
        --justify-content: center;
        --gap: 25px 25px;
        --row-gap: 25px;
        --column-gap: 25px;
        --flex-wrap: wrap;
        --container-max-width: 1024px;
    }

    #benefits #benefits-list>* {
        --width: 48%;
    }
}

/* ==========================================================================
    Contact section
   ========================================================================== */

#contact .forminator-field {
    width: 100%;
}

#contact .forminator-field button.forminator-button-submit {
    width: 100%;
    max-width: 100%;
}

#contact .forminator-field button.forminator-button-submit:hover {
    background-color: var(--e-global-color-a79f5aa);
}

#contact .e-con-full {
    width: 100%;
}

#contact input,
#contact textarea {
    background-color: color-mix(in srgb, var(--e-global-color-accent) 20%, transparent);
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

footer#colophon.site-footer {
    background-color: var(--e-global-color-secondary);
}

footer#colophon .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-right: 40px;
    padding-left: 40px;
}

footer#colophon .site-branding {
    display: flex;
    align-items: center;
}

footer#colophon .site-branding .site-logo {
    filter: brightness(0) invert(1);
    width: 100px;
}

footer#colophon .site-branding .site-logo img {
    width: 100%;
    height: auto;
}

footer#colophon .site-title a {
    color: var(--e-global-color-764183d);
    text-decoration: none;
}

footer#colophon .footer-navigation {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: var(--e-global-color-764183d);
}

footer#colophon .footer-menu {
    list-style: none;
    margin: auto;
    display: flex;
}

footer#colophon .footer-menu-item {
    margin-right: 2em;
}

footer#colophon .footer-link {
    color: var(--e-global-color-764183d);
    font-weight: 500;
    display: block;
}

footer#colophon .footer-link:hover {
    text-decoration: underline;
}

footer#colophon .footer-copyright {
    text-align: right;
    display: flex;
    flex-direction: column;
    margin-top: auto;
    margin-bottom: auto;
}

footer#colophon .footer-copyright p {
    margin: 0;
    font-size: 0.9rem;
    color: #d1e0ef;
}

footer#colophon .footer-credits {
    font-style: italic;
    font-size: 0.85rem !important;
}

footer#colophon .footer-credits a {
    font-weight: 800;
}

@media (max-width: 968px) {
    footer#colophon .footer-container {
        grid-template-columns: 2fr 1fr 1fr;
        gap: .5rem;
        text-align: center;
    }

    footer#colophon .footer-navigation {
        justify-content: center;
    }

    footer#colophon .footer-menu {
        flex-direction: row;
        gap: 2rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    footer#colophon .footer-copyright {
        text-align: center;
        margin: auto;
    }
}

@media (max-width: 654px) {
    footer#colophon .footer-container>* {
        margin: auto;
    }
}

@media (max-width: 480px) {
    footer#colophon .footer-container {
        gap: 2rem;
    }
}