
    /* --- Základní Reset a Globální Styly --- */
:root {
    --primary-color: #1A237E; /* Tmavě modrá */
    --secondary-color: #007bff; /* Středně modrá */
    --accent-color: #FFA500; /* Oranžová */
    --light-gray-color: #F8F9FA;
    --dark-gray-color: #333;
    --text-color: #333;
    --white-color: #fff;
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
}



    /* Třída pro scrollovaný stav */
    .navbar.scrolled {
        padding: 0.32rem 0; /* Menší padding = nižší výška */
        background: rgba(255, 255, 255, 0.64); /* Průhledné pozadí */
        backdrop-filter: blur(6px); /* Rozmazání pozadí */

        -webkit-backdrop-filter: blur(8px);

    }

    .navbar.scrolled a {

        color: black;
    }

    .navbar.scrolled img {
        max-height: 42px;
        width: auto;
        object-fit: contain;


    }

.navbar {
    transition: padding 0.32s ease, background 0.32s ease;

   
}
    .navbar .navbar-logo img {

        transition: max-height 0.32s ease;

    }



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white-color);
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin-bottom: 0.75em;
}

h1 { font-size: 2.8rem; line-height: 1.2; }
h2 { font-size: 2.2rem; line-height: 1.3; }
h3 { font-size: 1.5rem; line-height: 1.4; }

p {
    margin-bottom: 1em;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}
a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
}
.btn-primary:hover {
    background-color: #e69500; /* Tmavší oranžová */
    color: var(--primary-color);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.btn-secondary:hover {
    background-color: #131a5c; /* Tmavší primární */
    color: var(--white-color);
}

.section {
    padding: 80px 0;
}
.section-bg {
    background-color: var(--light-gray-color);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
}

/* --- Navbar --- */
.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar-logo {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: var(--white-color);
    font-weight: 700;
}
.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
}
.nav-item {
    margin-left: 25px;
}
.nav-link {
    color: var(--white-color);
    font-weight: 600;
    padding: 8px 0;
    position: relative;
}
.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width .3s;
    position: absolute;
    bottom: 0;
    left: 0;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}
.nav-cta .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--white-color);
    background: none;
    border: none;
    cursor: pointer;
}

/* --- Hero Sekce --- */
.hero {
    background: linear-gradient(rgba(26, 35, 126, 0.8), rgba(26, 35, 126, 0.8)), url('../img/hero_bg.jpeg') no-repeat center center/cover;

    color: var(--white-color);
    padding: 120px 0;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero h1 {
    color: var(--white-color);
    margin-bottom: 25px;
    font-size: 3.2rem;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* --- Výhody Sekce --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}
.feature-item {
    background: var(--white-color);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.feature-icon {
    font-size: 3rem; /* Pro textové ikony, upravte pro SVG/FontAwesome */
    color: var(--accent-color);
    margin-bottom: 20px;
    line-height: 1;
}
.feature-item h3 {
    margin-bottom: 15px;
}

/* --- Služby Sekce --- */
.services-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.service-tab {
    padding: 10px 20px;
    margin: 5px;
    background-color: var(--light-gray-color);
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}
.service-tab.active, .service-tab:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    border-color: var(--secondary-color);
}
.service-content {
    display: none;
}
.service-content.active {
    display: block;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.service-item {
    background: var(--white-color);
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}
.service-item h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* --- O Technikovi --- */
.about-technician-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}
.about-technician-img {
    flex: 1 1 300px;
    max-width: 300px;
    text-align: center;
}
.about-technician-img img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
.about-technician-text {
    flex: 2 1 500px;
}

/* --- Jak Předat Zařízení --- */
.delivery-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.delivery-option {
    background: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    text-align: center;
}
.delivery-icon {
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1;
}
.delivery-option ol {
    text-align: left;
    padding-left: 20px;
    margin-top: 15px;
}
.delivery-option li {
    margin-bottom: 8px;
}

/* --- Kontakt --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: flex-start;
}
.contact-info p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}
.contact-info strong {
    color: var(--primary-color);
}
.contact-info a {
    font-weight: 600;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--body-font);
    font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}
.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}
.contact-form .gdpr-label {
    font-weight: normal;
    display: inline;
    margin-left: 5px;
}
.contact-form input[type="checkbox"] {
    vertical-align: middle;
}

/* --- Patička --- */
.footer {
    background-color: var(--dark-gray-color);
    color: #bbb;
    padding: 40px 0;
    text-align: center;
}
.footer p {
    margin-bottom: 8px;
}
.footer a {
    color: var(--accent-color);
}
.footer a:hover {
    color: var(--white-color);
    text-decoration: underline;
}

/* --- Responzivita --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .section-title { font-size: 2rem; }
    .contact-container { grid-template-columns: 1fr; }
    .contact-info { margin-bottom: 30px; text-align: center;}
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%; /* Výška navbaru */
        left: 0;
        background-color: var(--primary-color);
        padding: 10px 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .nav-menu.active { display: flex; }
    .nav-item {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    .nav-cta { margin-top: 10px; }
    .nav-cta .btn { display: block; margin: 10px auto; }

    .hero { min-height: 60vh; padding: 80px 0; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }

    .about-technician-content { flex-direction: column; }
    .about-technician-img { max-width: 200px; margin-bottom: 20px;}
    .about-technician-img img { width: 200px; height: 200px;}
    .about-technician-text { text-align: center; }

    .services-tabs {
        justify-content: flex-start;
        overflow-x: auto; /* Umožní horizontální skrolování tabů na malých obrazovkách */
        white-space: nowrap; /* Zabrání zalamování tabů */
        -webkit-overflow-scrolling: touch; /* Plynulejší skrolování na iOS */
        padding-bottom: 10px; /* Prostor pro scrollbar */
    }
    .service-tab {
        flex: 0 0 auto; /* Zabrání smrskávání tabů */
    }
}
