body {
    margin: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    background-color: #fff;
    color: #585857;
}

.site-header {
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    padding: 20px 0;
    position: relative;
    z-index: 1000;
}

.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #585857;
}

.cssmenu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2em;
    align-items: center;
}

.cssmenu li {
    display: inline-block;
    position: relative;
}

.cssmenu li a {
    text-decoration: none;
    color: #585857;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 0.5em 0;
}

.cssmenu li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 3px;
    background-color: rgb(0, 107, 183);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.cssmenu li a:hover::after {
    transform: scaleX(1);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .cssmenu {
        display: none;
        flex-direction: column;
        background-color: #fff;
        position: absolute;
        top: 100%;
        right: 0;
        width: 200px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        margin: 0;
        padding: 10px 0;
        z-index: 1000;
    }

    .cssmenu.show {
        display: flex;
    }

    .cssmenu li {
        margin: 0;
        padding: 10px;
        text-align: left;
    }
}

.carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10%;
    box-sizing: border-box;
}

.caption-content {
    max-width: 600px;
    text-align: left;
    color: #ffffff;
}

.caption-content h1 {
    font-size: 4rem;
    margin: 0.5em 0 0.2em;
    font-weight: 800;
}

.caption-content h2 {
    font-size: 2rem;
    margin: 0.2em 0;
    font-weight: 600;
}

.caption-content h2.highlight {
    color: rgb(0, 107, 183);
    font-weight: 700;
}

.caption-content p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-top: 1em;
    font-weight: 400;
}

.carousel-controls {
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: 15px;
}

.carousel-controls .dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.carousel-controls .dot.active {
    background-color: rgb(0, 107, 183);
}

.content {
    padding: 60px 20px;
}

#about {
    background-color: #d4e9f4;
}

.section-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: #585857;
}

.columns {
    display: flex;
    justify-content: center;
    max-width: 1000px;
    margin: 20px auto;
    gap: 40px;
    flex-wrap: wrap;
}

.columns > div {
    flex: 1;
    color: #585857;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
}

.customers {
    text-align: center;
    padding: 50px 20px;
}

.customer-carousel {
    overflow: hidden;
    max-width: 1000px;
    margin: 30px auto;
}

.customer-track {
    display: flex;
    transition: transform 0.5s ease;
}

.customer-slide {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.customer-slide img {
    max-width: 80%;
    height: auto;
    object-fit: contain;
}

.customer-controls {
    margin-top: 10px;
}

.customer-arrow {
    cursor: pointer;
    font-size: 2rem;
    margin: 0 10px;
    color: #777;
    user-select: none;
    transition: color 0.3s ease;
}

.customer-arrow:hover {
    color: rgb(0, 107, 183);
}

.contact {
    background-color: rgb(0, 40, 60);
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-header h2 {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.contact-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    text-align: left;
}

.contact-column {
    flex: 1 1 300px;
}

.contact-column h3 {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-column p {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    margin: 8px 0;
}

.contact-column a {
    color: rgb(0, 107, 183);
    text-decoration: none;
}

.contact-column a:hover {
    text-decoration: underline;
}

.contact-footer p {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 20px;
}

/* Mobilní oprava pro customer carousel */
@media (max-width: 768px) {
    .customer-slide {
        flex: 0 0 80%;
    }
}

@media (max-width: 768px) {
    .caption {
        padding: 0 20px;
        justify-content: center;
        text-align: center;
    }

    .caption-content {
        max-width: 90%;
    }

    .caption-content h1 {
        font-size: 2rem;
    }

    .caption-content h2 {
        font-size: 1.2rem;
    }

    .caption-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .slide img {
        object-position: left center;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.customer-slide img {
    max-width: 80%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.customer-slide img:hover {
    transform: scale(1.05);
}
