* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        html {
        scroll-behavior: smooth;
        }

        body {
            background-color: #f4f4f4;
            color: #1a1a1a;
            line-height: 1.6;
        }

header {
    position: fixed;
    width: 100%;
    height: 80px;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px; 
    z-index: 10000;
    border-bottom: 3px solid #ffcc00;
}

.lang-dropdown {
    position: relative;
    display: inline-block;
    margin-right: 15px;
}

.lang-dropbtn {
    background-color: transparent;
    color: #ffcc00;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #ffcc00;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
}

.lang-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #222;
    min-width: 120px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.5);
    z-index: 10002;
    border-radius: 4px;
    border: 1px solid #444;
}

.lang-content a {
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: 0.3s;
}

.lang-content a:hover {
    background-color: #ffcc00;
    color: black;
}

.lang-dropdown:hover .lang-content {
    display: block;
}

.lang-dropdown:hover .lang-dropbtn {
    background-color: #ffcc00;
    color: black;
}

.logo-container {
            display: flex;
            align-items: center;
            gap: 15px;
        }

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

        .logo-text {
            color: #ffcc00;
            font-size: 1.5rem;
            font-weight: bold;
            text-transform: uppercase;
        }

        .logo-text span {
            color: #0056b3;
        }

        .menu-btn {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 21px;
            cursor: pointer;
        }

        .menu-btn span {
            display: block;
            height: 3px;
            width: 100%;
            background: #ffcc00;
            transition: 0.3s;
        }

        img {
          image-rendering: -webkit-optimize-contrast;
          image-rendering: crisp-edges;
          max-width: 100%;
          height: auto;
          object-fit: cover;
            }

.service-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
}

.nav-menu {
    position: fixed;
    top: 20px;
    right: -300px;
    width: 260px;
    height: auto;
    background: rgba(17, 17, 17, 0.95);
    display: flex;
    flex-direction: column;
    padding: 60px 10px 20px 10px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10001;
    border: 2px solid #ffcc00;
    border-radius: 10px 0 0 10px;
    box-shadow: -5px 5px 15px rgba(0,0,0,0.5);
}

.nav-menu.active {
    right: 0;
}

.nav-contact-info {
    margin-top: 30px;
    padding: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #ccc;
}

.nav-contact-info strong {
    color: #ffcc00;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.nav-contact-info p {
    margin-bottom: 8px;
    font-size: 0.85rem;
    word-break: normal;
    overflow-wrap: anywhere;
    color: #eee;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 35px;
    color: #ffcc00;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover {
    color: #0056b3;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    font-size: 1.1rem;
    text-align: right;
    border-bottom: 1px solid #333;
    transition: 0.3s;
}

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

.nav-menu a:hover {
    color: #ffcc00;
    padding-right: 30px;
}

        .nav-menu a:hover { background: #ffcc00; color: black; }

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 1;
}

.slider-bg.active {
    opacity: 1;
    z-index: 2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    color: white;
    text-align: center;
    padding: 20px;
}

        .hero-content h1 {
            font-size: 2.8rem;
            color: #ffcc00;
            margin-bottom: 20px;
            text-transform: uppercase;
        }

        .main-content {
               padding: 60px 10%;
               background: #f4f4f4;
               text-align: center;
}

        .main-content h2 { margin-bottom: 20px; color: #0056b3; }

        .contact-section {
            padding: 60px 10%;
            background: #1a1a1a;
            color: white;
        }

        .contact-container {
            max-width: 600px;
            margin: 0 auto;
            background: #222;
            padding: 30px;
            border-radius: 8px;
            border-left: 5px solid #ffcc00;
        }

        .contact-container h3 {
            margin-bottom: 20px;
            color: #ffcc00;
            text-align: center;
        }

        .services-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.benefit {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    padding: 20px;
    text-align: center;
}

.benefit-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.benefit h4 {
    color: #0056b3;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.benefit p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .services-benefits {
        gap: 10px;
    }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

.portfolio-item {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    padding: 20px;
    text-align: center;
}

.portfolio-overlay h4 {
    color: #ffcc00;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.portfolio-link {
    padding: 12px 24px;
    background: #ffcc00;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.3s;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-link:hover {
    background: #ffffff;
    color: #000;
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .portfolio-overlay h4 {
        font-size: 1.2rem;
    }
}

/* --- css pre zateplenie --- */
.service-detail {
    padding: 120px 10% 60px;
    background: #f4f4f4;
    min-height: 100vh;
}

.service-detail h1 {
    color: #0056b3;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.lead-text {
    font-size: 1.2rem;
    color: #444;
    max-width: 800px;
    margin-bottom: 40px;
}

.text-block ul {
    list-style: none;
    margin-bottom: 40px;
}

.text-block li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.text-block li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #ffcc00;
    font-weight: bold;
}

.service-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.service-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cta-block {
    text-align: center;
    margin-top: 50px;
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        padding: 20px 5%;
    }
}

        .form-group { margin-bottom: 15px; }

        .form-group label { display: block; margin-bottom: 5px; color: #ccc; }

        .form-group input, .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #444;
            background: #333;
            color: white;
            border-radius: 4px;
        }

        .form-group input:focus, .form-group textarea:focus {
            outline: none;
            border-color: #ffcc00;
        }

        .submit-btn {
            width: 100%;
            padding: 15px;
            background: #ffcc00;
            border: none;
            color: black;
            font-weight: bold;
            cursor: pointer;
            text-transform: uppercase;
            transition: 0.3s;
        }

        .submit-btn:hover { background: #e6b800; }

        footer {
            background: #000;
            color: #888;
            padding: 30px;
            text-align: center;
            font-size: 0.9rem;
        }


 @media (max-width: 768px) {
    header {
        height: 70px;
        padding: 0 15px;
    }

    .logo-img {
        height: 35px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        padding: 0 10px;
    }

   .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }

    .portfolio-item {
        aspect-ratio: 4 / 3; 
        height: auto;
        max-width: 450px;
        margin: 0 auto;
    }

    .portfolio-overlay h4 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        width: 100%;
        right: -100%;
        border-radius: 0;
    }
}

@media (max-width: 768px) {
    .service-detail h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        word-wrap: break-word;
        margin-bottom: 15px;
    }

    .lead-text {
        font-size: 1rem;
        padding: 0 5px;
        line-height: 1.5;
    }

    .submit-btn, .portfolio-link {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 20px auto;
        box-sizing: border-box;
        white-space: normal;
        height: auto;
        padding: 15px 20px;
    }

    .text-block li {
        padding-left: 35px;
        text-align: left;
        font-size: 0.95rem;
    }
}

@media (max-width: 380px) {
    .service-detail h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 40px 5%;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
}

@media (max-width: 600px) {
    .service-gallery {
        grid-template-columns: 1fr; /* Fotky pod sebou */
        gap: 15px;
    }

    .service-gallery img {
        height: auto;       /* Odstránime fixných 250px */
        aspect-ratio: 3 / 2; /* Nastavíme jednotný, pekný formát */
        object-fit: cover;
    }
}