html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    padding-top: 80px;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #077495;
    color: #fff;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.logo {
    margin-left: 5%;
    max-width: 200px;
}

.logo img {
    max-height: 50px;
    width: auto;
}

nav.main-nav {
    display: flex;
    align-items: center;
    margin: 0 5% 0 auto;
}

nav.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    
}

nav.main-nav li {
    margin: 0 10px;
    
}

nav.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: normal;
    font-size: 18px;
    white-space: nowrap;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    display: inline-block;
    padding: 5px 0;
}

nav.main-nav a:hover {
    color: #d4d4d4;
    text-shadow: 0 0 1px #fff;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    margin-right: 20px;
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-left: 5%;
    margin-right: 5%;
}

.item1 {
    flex: 2 0 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
}

.item1 img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    min-width: 0;
}

.item2 {
    flex: 1 0 30%;
    margin-right: 0;
    padding: 10px;
    box-sizing: border-box;
    text-align: left;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

h1 {
    margin-left: 5%;
    margin-right: 5%;
    font-size: 60px;
    font-weight: bold;
    border-bottom: 5px solid black;
}

h2 {
    margin-left: 5%;
    font-weight: 600;
    font-size: 40px;
}

h3 {
    color: white;
    font-size: 30px;
    font-weight: 500;
}

hli { 
    margin-bottom: 20px;
    text-align: left;
    margin-left: 5%;
    font-size: 20px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 1em;}

li {
    margin-bottom: 20px;
    text-align: left;
    margin-left: 5%;
    font-size: 20px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 1em;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    margin-left: 5%;
    margin-right: 5%;
}

.map-container {
    flex: 0 0 70%;
    height: 500px;
    overflow: hidden;
    box-sizing: border-box;
}

.contact-info {
    flex: 0 0 25%;
    background-color: #077495;
    color: #fff;
    padding: 20px;
  
    height: auto; 
    display: flex;
    flex-direction: column;
    
    justify-content: space-between; 
    align-items: center;
    box-sizing: border-box;
}

.contact-info-box {
    max-width: 400px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  
}

.contact-info-box > img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    width: auto;
    max-height: 100px;
    object-fit: contain;
}

.contact-info-box p {
   
    margin-bottom: 8px;
}


.contact-info-box p:last-of-type {
    margin-bottom: 25px; 
}


.contact-info-box a img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin: 0 5px;
    transition: transform 0.3s ease;
}

.contact-info-box a img:hover {
    transform: scale(1.1);
}

.contact-info-box .social-container-contact {
    display: flex;
    justify-content: center;
    
    padding-bottom: 20px; 
}

.opinions-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-left: 5%;
    margin-right: 5%;
}

.opinion {
    flex: 0 0 30%;
    margin-bottom: 20px;
    background-color: #f2f2f2;
    border-radius: 10px;
    padding: 20px;
    width: 27%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

.opinion-img {
    border-radius: 50%;
    display: inline-block;
    height: 50px;
    overflow: hidden;
    width: 50px;
}

.opinion-img img {
    display: block;
    height: 100%;
    width: auto;
    object-fit: cover;
}

.opinion-author {
    font-weight: bold;
}

.opinion-stars {
    color: #ffc107;
    font-size: 30px;
    margin: 5px 0;
}

.opinion-content {
    font-size: 16px;
}

.download-btn {
    background-color: #077495;
    color: white;
    border: none;
    width: 200px;
    height: 100px;
    text-align: center;
    text-decoration: none;
    font-size: 30px;
    border-radius: 10px;
}

.faq-container {
    margin-left: 5%;
    margin-right: 5%;
    padding: 0px;
}

.faq-item {
    margin-bottom: 30px;
    border-radius: 5px;
    background-color: #F2F2F2;
}

.faq-question {
    padding: 20px;
    background-color: #077495;
}

.faq-question h3 {
    color: #fff;
    margin: 0;
}

.faq-answer {
    padding: 20px;
}

footer {
    background-color: #077495;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 5%;
}

.footer-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.logo-container img {
    max-width: 100%;
    max-height: 10%;
    width: auto;
}

.address-container {
    text-align: center;
    color: white;
}

.address-container p {
    margin: 0;
    font-size: 16px;
}

.social-container {
    display: flex;
}

.social-container a {
    margin-left: 30px;
    color: #000;
    text-decoration: none;
    font-size: 24px;
}

.footer-text {
    margin: 20px 0 0;
    text-align: center;
    font-size: 14px;
}

@media only screen and (max-width: 756px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        height: auto;
        min-height: 60px;
    }

    .logo {
        margin: 0;
        max-width: 120px;
    }

    .hamburger-menu {
        display: flex;
        margin: 0;
    }

    nav.main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #077495;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        padding: 10px 0;
        z-index: 999;
        padding-top: 20px;
    }

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

    nav.main-nav ul {
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    nav.main-nav li {
        text-align: center;
        margin: 0;
    }

    nav.main-nav a {
        font-size: 16px;
        padding: 12px 20px;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: color 0.3s ease, text-shadow 0.3s ease;
    }

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

    body {
        padding-top: 60px;
    }
    .image {
        padding-top: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .image img {
        width: 100%;
        height: auto;
        display: block;
    }

    .contact-container {
        flex-direction: column;
        align-items: center;
        margin-left: 5%;
        margin-right: 5%;
    }

    .map-container {
        margin-bottom: 20px;
        height: 250px;
        width: 100%;
    }

    .contact-info {
        height: auto;
        width: 100%;
        padding: 10px;
    }

    .contact-info-box {
        width: 100%;
        text-align: center;
        flex-grow: 1; 
        padding-bottom: 10px; 
    }

    .contact-info-box > img {
        width: auto;
        max-width: 100px;
        height: auto;
    }

    .contact-info-box a img {
        width: 35px;
        height: 35px;
        margin: 0 3px;
    }

    .contact-info-box .social-container-contact {
        margin-top: 15px; 
    }

    .opinion {
        flex: 0 0 100%;
        margin-bottom: 10px;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .item1 {
        flex: 1 0 100%;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .item1 img {
        width: 100%;
        height: auto;
        max-height: 250px;
        object-fit: contain;
    }

    .item2 {
        flex: 1 0 100%;
        margin-right: 0;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 24px;
    }

    li {
        font-size: 16px;
        text-align: left;
    }
}

@media only screen and (max-width: 1200px) {
    .item1,
    .item2 {
        flex: 1 0 100%;
    }
}

.partnerzy-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 30px !important;
    flex-wrap: wrap !important;
    margin-left: 5%;
    margin-right: 5%;
}

.partner img {
    max-width: 100% !important;
    height: auto !important;
    max-height: 150px !important;
    object-fit: contain !important;
    transition: transform 0.3s ease !important;
}

.partner img:hover {
    transform: scale(1.2) !important;
}

.motomin-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 25px !important;
    flex-wrap: wrap !important;
    margin-left: 5%;
    margin-right: 5%;
}
.motomin img {
    max-width: 80% !important;
    height: auto !important;
    max-height: 140px !important;
    object-fit: contain !important;
    transition: transform 0.5s ease !important;
}

.motomin img:hover {
    transform: scale(1.2) !important;
}

.akcesoria-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 30px;
}

.akcesoria-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.akcesoria-image {
    flex: 0 0 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.akcesoria-image img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    border-radius: 5px;
}

.akcesoria-text {
    flex: 1;
    padding-right: 10px;
}

.akcesoria-text h3 {
    margin: 0 0 10px 0;
    color: #077495;
    font-size: 18px;
}

.akcesoria-text p {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}


@media (max-width: 768px) {
  
    .akcesoria-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-left: 5%;
        margin-right: 5%;
    }

    
    .akcesoria-item {
        flex-direction: column;
        text-align: center;
        padding: 12px;
        align-items: center;
        min-height: 180px;
    }

    .akcesoria-image {
        flex: 0 0 40%;
        max-width: 40%;
    }

    .akcesoria-image img {
        max-height: 140px;
        width: 100%;
        height: auto;
    }

    .akcesoria-text {
        flex: 1;
        padding-right: 0;
    }

    .akcesoria-text h3 {
        font-size: 14px;
    }

    .akcesoria-text p {
        font-size: 13px;
    }

    @media (max-width: 420px) {
        .akcesoria-container {
            grid-template-columns: 1fr;
        }
        .akcesoria-item {
            flex-direction: column;
            text-align: center;
            min-height: 220px;
        }
        .akcesoria-image {
            flex: 0 0 100%;
            max-width: 100%;
            margin-bottom: 8px;
            width: 90%;
        }
        .akcesoria-text h3 {
            font-size: 13px;
        }
    }

    
    .motomin-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px !important;
        margin-left: 5%;
        margin-right: 5%;
        align-items: start;
    }

    .motomin {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        text-align: center;
        margin: 0;
        padding: 6px;
    }

    .motomin img {
        width: 100% !important;
        height: auto !important;
        max-height: 140px !important;
        display: block;
        margin: 0 auto;
    }
}