/*
Theme Name: Mazovia motor rent 1.1
Theme URI: 
Author: Mariusz Bargieł
Author URI: 
Description: Mazovia motor rent - strona internetowa
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mazovia-motor-rent
*/

/* Add your CSS styles here */

:root {
    --brand-color: #86AE4A;
    --border-color: #46783B;
    --secondary-color: #A3C1A1;
    --bs-nav-link-hover-color: #000;
}

html,
body {
    margin: 0;
    padding: 0;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: "Lato", serif;
}

section {
    /* padding-top: 80px; */
}

h1,
h2 {}

h3,
p {
    font-size: 1rem;
}

.anchor {
    position: relative;
    top: -65px;
}

.navbar {
    position: fixed;
    top: 0px;
    width: 100vw;
    z-index: 1030;
    padding: 0px 0px !important;
    background: #fff0;
    transition: background 0.3s ease;
    font-family: 'Manrope', sans-serif;
}

.scrolled {
    background: #fff;
}

.navbar-toggler {
    color: #000;
}

.navbar-brand img {
    display: none;
}

@media (max-width: 768px) {
    .navbar-brand img {
        display: block;
        width: 160px;
        height: auto;
        max-height: 70px;
    }
}

.scrolled .navbar-brand img {
    display: block;
    width: 160px;
    height: auto;
    max-height: 70px;
}

#navbarNav {
    padding: 19px 12px !important;
}

.nav-link {
    font-weight: bold;
    color: #000;
    border: 1px solid #000;
    background-color: #FFFFFF33;
    border-radius: 30px;
    padding: 4px 16px !important;
    font-weight: 600;
    line-height: 1.5;
    font-size: 16px;
    margin-left: 32px;
}

.nav-link:hover {
    background-color: #fff;
    color: #000;
}

@media (max-width: 768px) {
    .navbar {
        background: #fff;
    }

    .nav-link {
        margin-left: 0px;
        border: 0px;
        border-radius: 0px;
    }
}

.hero {
    padding: 0px;
    margin: 0px;
}

.hero-background {
    padding: 0px;
    margin: 0px;
    width: 100%;
    height: calc(0.4138 * 100vw);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;

}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    align-items: end;
    padding: 0 20px;
    height: 100%;
}

.hero-container img {
    position: relative;
    left: -40px;
    width: 78%;
    height: auto;
    grid-row: 2;
    justify-self: start;
}

@media (max-width: 768px) {
    .hero-container {
        display: none;
    }

    .hero-container img {
        display: none;
    }
}

.hero-container p {
    font-size: 3rem;
    font-weight: 500;
    color: #fff;
    grid-row: 3;
    margin-top: 20px;
    align-self: start;
    padding: 0;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-background {
        background-image: inherit !important;
        height: 70px;
    }
}


.about-us-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 25px;
    width: 100%;
    padding: 30px 0px;
}

.about-us-container-text {
    grid-column: 1 / span 2;
    grid-row: 1;
    background-color: #F4F4F4;
    padding: 52px 90px 52px 38px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.about-us-container-text .main-text {
    font-family: Lato;
    font-weight: 900;
    font-size: 1.75rem;
    line-height: 150%;
    letter-spacing: 0px;
}

.about-us-container-text p {
    font-family: Lato;
    font-weight: 400;
    font-size: 1rem;
    line-height: 150%;
    letter-spacing: 0px;
}

.about-us-container-text b {
    font-family: Lato;
    font-weight: 700;
    font-size: 1rem;
    line-height: 150%;
    letter-spacing: 0px;
}

.about-us-container-main-image {
    grid-column: 3 / span 2;
    grid-row: 1 / span 2;
    background-position: bottom;
    background-size: cover;
    border-radius: 16px;
}

.about-us-container-thumbnail-one-image {
    grid-column: 1;
    grid-row: 2;
    aspect-ratio: 1 / 1;
    background-position: center;
    background-size: cover;
    border-radius: 16px;
}

.about-us-container-thumbnail-two-image {
    grid-column: 2;
    grid-row: 2;
    aspect-ratio: 1 / 1;
    background-position: top;
    background-size: cover;
    border-radius: 16px;
}

@media (max-width: 768px) {
    .about-us-container {
        display: block;
        padding: 15px 0;
    }

    .about-us-container-text {
        margin-bottom: 20px;
    }

    .about-us-container-thumbnail-two-image {
        aspect-ratio: 1 / 1;
        width: 100%;
    }

    .about-us-container-thumbnail-one-image,
    .about-us-container-main-image {
        display: none;
    }
}

.main-text {
    font-size: 1.5rem;
    font-weight: 600;
}

.brand-color {
    color: var(--brand-color);
}

.offer-section {
    padding: 0px 12px;
    background-color: #353535;
    color: #fff;
}

.offer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 25px;
    padding: 56px 0px;
}

.offer-container-text {
    padding: 0 0 28px 0;
    font-weight: 600;
    grid-column: 1;
    grid-row: 1;
    font-weight: 700;
}

.offer-container-subtext {
    padding: 0 0 28px 0;
    grid-column: 2;
    grid-row: 1;
    text-align: justify;
    display: flex;
    align-items: center;
    height: 100%;
}

.offer-container-gallery-chevron-right {
    background-color: var(--brand-color);
    border-radius: 50%;
    padding: 10px;
    width: 56px;
    height: 56px;
    border: 1px solid #D6D6D6;
    color: #fff;
    position: absolute;
    right: -28px;
    z-index: 10;
    top: calc(50% - 28px);
}

.offer-container-gallery-chevron-right:hover {
    background-color: #fff;
    color: var(--brand-color);
    border: 1px solid var(--brand-color);
}

.offer-container-gallery-chevron-left {
    background-color: var(--brand-color);
    border-radius: 50%;
    padding: 10px;
    width: 56px;
    height: 56px;
    border: 1px solid #D6D6D6;
    color: #fff;
    position: absolute;
    left: -28px;
    z-index: 10;
    top: calc(50% - 28px);
}

.offer-container-gallery-chevron-left:hover {
    background-color: #fff;
    color: var(--brand-color);
    border: 1px solid var(--brand-color);
}


.offer-container-gallery-container {
    position: relative;
    gap: 1rem;
    scroll-behavior: smooth;
    scrollbar-width: none;
    max-height: 100%;
    grid-column: 1 / span 2;
    grid-row: 2;

}

.offer-container-gallery-counters {
    grid-column: 1 / span 2;
    grid-row: 3;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(auto, 10%);
    gap: 2%;
    justify-content: center;
    align-items: center;
}

.offer-container-gallery-counter {
    height: 20px;
    background-color: #fff;
    cursor: pointer;
}

@media (max-width: 768px) {
    .offer-container-gallery-counters {
        margin-top: 10px;
        grid-column: 1 / span 2;
        grid-row: 3;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(auto, 25%);
        gap: 2%;
        justify-content: center;
        align-items: center;
    }
    .offer-container-gallery-counter {
        height: 10px;
    }
}


.offer-container-gallery-counter-active {
    background-color: var(--brand-color);
}

.offer-container-gallery {
    display: grid;
    grid-auto-flow: column;
    scroll-behavior: smooth;
    scrollbar-width: none;
    grid-auto-columns: minmax(49%, 1fr);
    gap: 2%;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (max-width: 1920px) {
    .offer-container-gallery {
        grid-auto-columns: minmax(49%, 1fr);
    }
}

@media (max-width: 768px) {
    .offer-container {
        display: inherit;
    }

    .offer-container-gallery {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(100%, 1fr);
        /* adjust item width */
        gap: 5px;
    }
}

.offer-motor-card {
    max-width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 26px;
    background-color: #fff;
    color: #353535;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.offer-motor-card-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.offer-motor-card-content-title {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 150%;
    letter-spacing: 0px;

}

.offer-motor-card-content {
    width: 100%;
}

.offer-motor-card-content-specifications {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 18px;
    font-size: 0.8rem;
}

.offer-motor-card-content-technical {
    color: var(--brand-color);
    font-size: 1.2rem;
    margin: 10px 0px;
    font-weight: 500;
    line-height: 197%;
    letter-spacing: 0px;
}

.offer-motor-card-content-prices {
    display: grid;
    grid-template-columns: auto auto auto auto;
    grid-template-rows: repeat(2, auto);
    justify-content: space-between;
    gap: 10px;
    font-weight: 400;
    font-size: 1rem;
    line-height: 197%;
    letter-spacing: 0px;
}

.offer-motor-card-content-prices b {
    font-weight: 700;
}


.offer-motor-card-content-specifications-item {
    background-color: #F7F7F7;
    padding: 4px 14px;
    border-radius: 8px;
    font-family: Lato;
    font-weight: 900;
    font-size: 1rem;
    line-height: 197%;
    letter-spacing: 0px;
}

.instagram-container {
    padding: 42px 0px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 25px;
}

.instagram-container-header {
    grid-column: 1;
    grid-row: 1;
    font-weight: 700;
}

.instagram-button {
    display: flex;
    margin: 22px 0px;
}

.instagram-button-logo {
    width: 43px;
    height: 43px;
    object-fit: contain;
    padding: 2px;
    margin-right: 10px;
    border-radius: 50%;
    border: 1px solid #D6D6D6;
}

.instagram-button-text-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-right: 1rem;
}

.instagram-button-text-container-name {
    font-weight: 700;
}

.instagram-button-text-container-subtext {
    font-size: 0.8rem;
    font-weight: 400;
}

.instagram-button-pole {
    width: 1px;
    background-color: #B1B6C6;
    border: 1px solid #B1B6C6;
    margin-right: 1rem;
}

.instagram-button-button {
    background-color: var(--brand-color);
    border: 1px solid var(--brand-color);
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #fff;
}

.instagram-button-button:hover {
    background-color: #fff;
    color: var(--brand-color);
}

.instagram-container-extra-text {
    grid-column: 2/span 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.instagram-container-extra-text p {
    width: 70%;
}

.instagram-container-posts-container {
    grid-column: 1 / span 3;
    grid-row: 3;
}

.instagram-container-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2%;
}

.instagram-container-post img {
    width: 100%;
    max-height: 100%;
    border-radius: 16px;
    object-fit: fill;
}

@media (max-width: 768px) {
    .instagram-container-header {
        grid-column: 1 / span 3;
    }

    .instagram-container-extra-text {
        grid-column: 1 / span 3;
        grid-row: 2;
    }

    .instagram-container-posts {
        grid-column: 1 / span 3;
        grid-row: 3;
        overflow-x: auto;
        grid-auto-flow: column;
        grid-auto-columns: minmax(100%, 1fr);
        grid-template-columns: initial;
        gap: 2%;
    }

    .mobile{
        display: none;
    }

    .instagram-container-extra-text p {
        width: 100%;
    }
}

.btn-brand {
    border-color: var(--brand-color);
    color: var(--brand-color);
    border: 1px solid var(--brand-color);
    width: 100%;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-brand:hover {
    background-color: var(--brand-color);
    text-decoration: none;
    color: #fff;
}

#instagram {
    padding: 0px 12px;
    background-color: #fff;
}

.contact-section {
    background-color: #F4F4F4;
}

.contact-container {
    display: grid;
    grid-template-rows: auto auto auto;
    grid-template-columns: 1fr 2fr;
    gap: 25px;
    padding: 56px 0px;
}

.contact-info-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: start;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: 0px;

}

.contact-info-title {
    grid-column: 1 / span2;
    grid-row: 1;
    font-weight: 700;
    font-size: 2rem;
    line-height: 150%;
    letter-spacing: 0px;
}

.contact-info {
    padding: 0 0 28px 0;
    grid-column: 1;
    grid-row: 2;
}

.map-text {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px;
}

.map {
    grid-column: 2 / span 2;
    grid-row: 2;
    padding: 0 0 28px 0;
    display: flex;
    flex-direction: column;
    justify-self: center;
    width: 85%;
    gap: 10px;
}

#map {
    flex-grow: 1;
}

@media (max-width: 768px) {
    .contact-container {
        display: inherit;
    }

    .map {
        width: 100%;
    }
}

.site-footer {
    background-color: #F4F4F4;
    color: #353535;
    font-weight: 400;
    font-size: 0.7rem;
    line-height: 150%;
    letter-spacing: 0px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    direction: row;
    padding: 20px 0px;
}