:root {
    --red: #ff0000;
    --black: #000000;
    --bg-color: #ffffff;
    --text-color: #333333;
    --shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
}

.container {
    /* max-width: 1000px; */
    margin: 0 auto;
    padding: 0 20px;
}

.obrSekce .gallery-container{
    margin-top: 20px;
    width: 100%;
    /* height: 400px; */
    padding: 0 40px 20px;
    overflow-x: hidden;
    overflow-y: hidden;
    
    cursor: grab;
}

.obrSekce .service-gallery{
    margin-top: 20px;
    width: 100%;
    /* height: 300px; */
    padding: 0 10px;
    overflow-x: hidden;
    overflow-y: hidden;
    
    cursor: grab;
}

.service-gallery {
    width: 40%;
    /* height: 250px;  */
    overflow-x: hidden;
    overflow-y: hidden;
    cursor: grab;
    border-radius: 4px;
}

.service-gallery:active {
    cursor: grabbing;
}

.service-gallery .wrapper {
    height: 150px;
    display: grid;
    grid-auto-flow: column;
    gap: 10px;
    width: max-content; 
    max-width: 500px;
}

.service-gallery .wrapper img {
    height: 40%;
    width: auto; 
    border-radius: 4px;
    pointer-events: none; 
    user-select: none;
}

.obrSekce .gallery-container:active {
    cursor: grabbing;
}

.obrSekce .gallery-container .wrapper{
    width: 100%;
    height: 100%;
    display: grid;
    grid-auto-flow: column;
    gap: 1rem;
}

.obrSekce .wrapper img{
    max-height: 350px;
    border-radius: 10px;
    pointer-events: none; 
    user-select: none;
}

::-webkit-scrollbar {
    display: none !important;
}

html, body, * {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.text-red {
    color: var(--red);
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 4px solid var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo-icon::before {
    content: 'V';
    color: var(--red);
    font-size: 48px;
    font-weight: bold;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text span:first-child {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--black);
}

.logo-text span:last-child {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--red);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--black);
    font-weight: bold;
    font-size: 0.9rem;
}

nav a:hover {
    color: var(--red);
}

.hero {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.hero-img {
    flex: 1;
    height: 150px;
    background-color: #ddd;
    object-fit: cover;
    width: 100%;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 10px 0 30px 0;
}

.dot {
    width: 6px;
    height: 6px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: var(--black);
}

.shadow-box {
    background-color: white;
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
}

.about-section {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.about-text {
    flex: 1;
    font-size: 0.85rem;
}

.about-text p {
    margin-bottom: 15px;
}

.about-img {
    flex: 1;
    border-radius: 10px;
    max-width: 400px;
    background-color: #ddd;
    object-fit: cover;
    width: 100%;
}

.services-wrapper {
    margin-bottom: 50px;
}

.service-row {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
    position: relative;
    z-index: 10;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-media {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

.service-img {
    width: 100%;
    height: 220px;
    background-color: #ddd;
    object-fit: cover;
    margin-bottom: 10px;
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.service-content ul {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 0.85rem;
    line-height: 1.6;
}

.more-link {
    display: block;
    margin-top: 10px;
    font-size: 0.75rem;
    color: #666;
    text-decoration: none;
}

.more-link:hover {
    text-decoration: underline;
}

.contact-section {
    margin-bottom: 50px;
}

.contact-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.85rem;
    max-width: 500px;
}

.contact-row {
    display: flex;
}

.contact-label {
    font-weight: bold;
    width: 150px;
}

footer {
    background-color: var(--black);
    color: white;
    padding: 15px 0;
    font-size: 0.85rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
    }
    .hero {
        flex-direction: column;
    }
    .about-section, .service-row, .service-row.reverse {
        flex-direction: column;
    }
    .gallery-container, .service-gallery {
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch; 
    }
    .service-gallery .wrapper {
        height: 150px;
        max-width: 84vw;
    }
    .gallery-container img{
        max-height: 30vw !important;
    }

}

.image-gallery{
    margin-top: 2rem;
    text-align: center;
}

.image-gallery > div{
    columns: 3;
    gap: 1.25rem;
    padding-top: 1.25rem;
}

.image-gallery img{
    display: block;
    width: 100%;
    border-radius: 5px;
    margin-bottom: 1.25rem;
}

@media (max-width: 48rem){
    .image-gallery > div{
        columns: 2;
    }
}

@media (max-width: 32rem){
    .image-gallery > div{
        columns: 1;
    }
}