/*
Theme Name: Turbogrant
Theme URI: https://example.com/
Author: Dariusz Kluz
Description: Turbogrant Theme.
Version: 1.0
*/

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #222;
    background: #fff;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}


/* Header */

.site-header {
    background: #101820;
    color: #fff;
}

.site-navbar {
    padding: 20px 0;
}

.site-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.site-logo span {
    color: #c94b4b;
}

.site-navigation {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: 40px;
}

.site-navigation ul {
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.site-navigation a:hover {
    color: #c94b4b;
}

.language-link {
    font-weight: 700;
}

/* Mobile menu button */

.menu-toggle {
    display: none;
}

/* Hero */

.hero {
    position: relative;
    background: url('images/hero.jpg') center center / cover no-repeat;
    color: #fff;
    padding: 100px 0;
    border-bottom: 3px solid #c94b4b;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.hero-label {
    display: inline-block;
    margin-bottom: 20px;
    color: #c94b4b;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero h1 {
    margin: 0 0 25px;
    font-size: 46px;
    line-height: 1.15;
}

.hero p {
    max-width: 700px;
    margin: 0;
    font-size: 20px;
    line-height: 1.6;
    color: #d6dde3;
}

/* Main */

.site-main {
    position: relative;
    z-index: 0;
    min-height: 400px;
    background: #f4f7f9 url('images/bg4.png') center center / cover no-repeat fixed;

}

.site-main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: -1;
}

.site-main .container {
    background: rgba(244, 247, 249, 0.7);
    padding: 50px 100px;
    max-width: 1200px;
}


.site-main a {
    color: #c94b4b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-main a:hover {
    color: #101820;
    text-decoration: underline;
}

.site-main ul li::marker {
    color: #c94b4b;
}


/* Main page */

.main-page-content .main-page-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
    color: #5f6b75;
    margin: 0 0 35px;
}


.main-page-content .main-page-intro {
    margin: 0 0 20px;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #5f6b75;
}

.main-page-content .main-page-contract {
    margin: 0 0 40px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #5f6b75;
}

.main-page-content .main-page-lead {
    margin: 0 0 45px;
    font-size: 1.4rem;
    line-height: 1.6;
    color: #101820;
}

.main-page-content p {
    margin: 0 0 10px;
    font-size: 1.2rem;
    line-height: 1.75;
    color: #394650;
    text-align: justify;
}

.main-page-logos {
    display: flex;
    align-items: center;
    gap: 50px;
    margin: 0 0 60px;
    padding: 30px 40px;
    background: #f1f4f6;
    border: 1px solid #dfe5e9;
}

.main-page-logos .wp-block-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-page-logos .wp-block-image {
    margin: 0;
}

.main-page-logos img {
    height: 120px;
    width: auto;
    object-fit: contain;
}

/* Page */

.site-main .page-title{
    margin: 0 0 45px;
    font-size: 1.7rem;
    color: #38454f;
    border-bottom: 2px solid #c94b4b;
    padding-bottom:8px;

}

.site-main .page-content {
    font-size: 1.2rem;
    line-height: 1.75;
    color: #394650;

}

.site-main .page-content h2 {
    font-size: 1.3rem;
    line-height: 1.5;
    color: #38454f;
    font-weight: 400;
}

.site-main .page-content p {
    margin: 0 0 10px;
    text-align: justify;
}

/* Footer */

.site-footer {
    background: #101820;
    color: #cbd3d9;
    padding: 60px 0 25px;

}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.footer-logo {
    margin-bottom: 20px;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.site-footer p {
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #c94b4b;
    font-size: 14px;

}

.footer-logos {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 30px;
}

.footer-logos img {
    width: auto !important;
    height: 60px !important;
}
.footer-logo-turbo {
    color: #fff;
}

.footer-logo-grant {
    color: #c94b4b;
}

.error-404 {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-404 .container {
    width: auto;
    max-width: none;
    border: 1px solid #c94b4b;
}

/* Mobile */

@media (max-width: 768px) {
    .site-main .container {
        padding-top:25px;
    }
    .site-navbar .container {
        flex-wrap: wrap;
    }
    .site-navigation {
        display: none;
    }

    .site-navigation.is-open {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 20px;
    }

    .site-navigation.is-open ul {
        flex-direction: column;
        gap: 15px;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: 0;
        padding: 5px;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        margin: 5px 0;
        background: #fff;
    }

    .hero {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 18px;
    }

    .main-page-content .main-page-title {
        font-size: 1.5rem;
    }

    .main-page-content .main-page-lead {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    .main-page-content .main-page-intro {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .site-main .page-content {
        font-size: 1rem;
        line-height: 1.4;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}