/* Globální styly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f3f4f6;
    color: #000000;
    line-height: 1.6;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Výška těla stránky pokryje celou výšku okna */
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2 {
    color: #e63946;
}

/* Hlavička a navigace */
.header {
    background-color: #000000;
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #e63946;
}

.nav-links {
    list-style-type: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    transition: transform 0.3s ease-in-out;
}

.nav-links li:hover {
    transform: translateY(-5px);
}

.nav-links a {
    color: white;
    font-size: 18px;
    font-weight: 500;
    padding: 5px 10px;
    transition: color 0.3s ease-in-out;
}

.nav-links a:hover {
    color: #e63946;
}

/* Sekce Motocykly */
.motorcycles {
    padding: 80px 20px;
    text-align: center;
    background-color: #f8f9fa;
}

.motorcycles h1 {
    font-size: 50px;
    margin-bottom: 20px;
}

.motorcycles p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.motorcycle-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.motorcycle {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.motorcycle img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.motorcycle h2 {
    font-size: 24px;
    margin: 15px 0;
}

.motorcycle-link {
    display: inline-block;
    margin-bottom: 15px;
    color: #e63946;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid transparent;
    transition: background-color 0.3s, color 0.3s, border 0.3s;
}

.motorcycle-link:hover {
    background-color: #e63946;
    color: white;
    border: 2px solid #e63946;
}

/* Efekty hover */
.motorcycle:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.motorcycle:hover img {
    transform: scale(1.05);
}

/* Patička */
.footer {
    background-color: #000000;
    color: white;
    padding: 40px 80px;
    text-align: center;
    margin-top: auto; /* Posune footer dolů, pokud je obsah krátký */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    margin: 10px 0;
    font-size: 16px;
}

.social-links {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-links a {
    color: white;
    font-size: 18px;
    transition: color 0.3s ease-in-out;
}

.social-links a:hover {
    color: #e63946;
}

/* Obrázky v patičce */
.footer-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.footer-images img {
    width: 100px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.footer-images img:hover {
    transform: scale(1.1);
}

/* Responzivní design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }

    .motorcycle-types {
        grid-template-columns: 1fr;
    }
}
