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

        html {
            scroll-behavior: smooth;
        }

        body {
            color: #333;
            line-height: 1.6;
            background-color: #f8fafc;
        }

        /* ----- NAVIGACE ----- */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            padding: 1rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            z-index: 1000;
        }

        /* Nové styly pro logo s obrázkem a podtextem */
        .logo-container {
            display: flex;
            align-items: center;
            text-decoration: none;
            gap: 10px; 
        }

        .logo-img {
            width: 50px; 
            height: 50px; 
            object-fit: cover; 
        }

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

        .logo-title {
            font-size: 1.5rem;
            font-weight: 800;
            color: #d97706; 
            letter-spacing: 1px;
            line-height: 1.1; 
        }

        .logo-subtitle {
            font-size: 0.85rem; 
            font-weight: 600;
            color: #475569; 
            text-transform: uppercase; 
            letter-spacing: 0.5px;
        }

        .nav-links {
            list-style: none;
            display: flex;
            gap: 2rem;
        }

        .nav-links a {
            text-decoration: none;
            color: #333;
            font-weight: 600;
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: #d97706;
        }

        /* Mobilní "Hamburger" Menu - Skryté na velkých obrazovkách */
        .menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 5px;
        }

        .menu-toggle span {
            width: 25px;
            height: 3px;
            background-color: #d97706;
            transition: 0.3s;
        }

        /* ----- HLAVIČKA (HERO) ----- */
        header {
            height: 100vh;
            background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/foto/hero.png') center/cover;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: white;
            padding: 0 20px;
        }

        header h1 {
            font-size: 4rem;
            margin-bottom: 1rem;
            text-transform: uppercase;
        }

        header p {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            max-width: 600px;
        }

        .btn {
            padding: 15px 30px;
            background-color: #d97706;
            color: white;
            text-decoration: none;
            font-size: 1.1rem;
            font-weight: bold;
            border-radius: 5px;
            transition: background 0.3s;
            display: inline-block;
        }

        .btn:hover {
            background-color: #b45309;
        }

        /* ----- SPOLEČNÉ STYLY PRO SEKCE ----- */
        section {
            padding: 5rem 5%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: #1e293b;
        }

        /* ----- O NÁS ----- */
        .about-content {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
            font-size: 1.15rem;
            background: white;
            padding: 3rem;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        }

        .about-content p {
            margin-bottom: 1.5rem;
        }

        .about-divider {
            margin: 2rem auto;
            width: 60px;
            border: 0;
            border-top: 3px solid #d97706;
        }

        /* ----- GRID PRO SLUŽBY A CENÍKY ----- */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .service-card {
            background: white;
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            border-top: 4px solid #d97706;
            display: flex;
            flex-direction: column;
        }

        .service-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: #d97706;
        }

        /* ----- TECHNIKA (AKORDEON A KARTY) ----- */
        .accordion {
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            margin-bottom: 1rem;
            overflow: hidden;
        }

        .accordion-header {
            width: 100%;
            padding: 1.5rem 2rem;
            background: #f1f5f9;
            border: none;
            text-align: left;
            font-size: 1.25rem;
            font-weight: 700;
            color: #1e293b;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background 0.3s;
        }

        .accordion-header:hover, .accordion-header.active {
            background: #e2e8f0;
        }

        .icon {
            font-size: 1.5rem;
            transition: transform 0.3s;
        }

        .active .icon {
            transform: rotate(45deg);
        }

        .accordion-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease-out;
            background: white;
        }

        .machine-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            padding: 2rem;
        }

        .machine-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        .machine-card .image-container {
            width: 100%;
            aspect-ratio: 4 / 3;
            overflow: hidden;
            background-color: #E5EAEA;
            display: flex;
            align-items: center;
            justify-content: center;
            border-bottom: 1px solid #e2e8f0;
            flex-shrink: 0;
        }

        .machine-card img {
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
            object-fit: contain;
            display: block;
        }

        .machine-card .info {
            padding: 1.5rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .machine-card h4 {
            color: #1e293b;
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
        }
        
        .machine-specs {
            margin-top: 1rem;
            font-size: 0.9rem;
            border-top: 1px solid #e2e8f0;
            padding-top: 1rem;
            flex-grow: 1;
        }

        .machine-specs h5 {
            color: #d97706;
            margin: 1rem 0 0.5rem 0;
            font-size: 1rem;
        }

        .machine-specs h5:first-child {
            margin-top: 0;
        }

        .machine-specs ul {
            list-style-type: disc;
            margin-left: 1.5rem;
            margin-bottom: 1rem;
            color: #475569;
        }

        .machine-specs li {
            margin-bottom: 0.3rem;
            line-height: 1.4;
        }

        /* ----- KONTAKT ----- */
        .contact-wrapper {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            background: white;
            padding: 3rem;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        }

        .contact-info {
            flex: 1;
            min-width: 300px;
        }

        .contact-info h3 {
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
        }

        .contact-info p {
            font-size: 1.1rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .contact-form {
            flex: 2;
            min-width: 300px;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .form-group {
            display: flex;
            flex-direction: column;
        }

        .form-group label {
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: #1e293b;
        }

        .form-control {
            padding: 0.8rem;
            border: 1px solid #cbd5e1;
            border-radius: 5px;
            font-size: 1rem;
            transition: border-color 0.3s;
        }

        .form-control:focus {
            outline: none;
            border-color: #d97706;
            box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
        }

        textarea.form-control {
            resize: vertical;
            min-height: 120px;
        }

        .form-status {
            padding: 1rem;
            border-radius: 5px;
            display: none;
            font-weight: bold;
            text-align: center;
        }

        .status-success {
            background-color: #dcfce7;
            color: #166534;
            display: block;
        }

        .status-error {
            background-color: #fee2e2;
            color: #991b1b;
            display: block;
        }

        footer {
            text-align: center;
            padding: 2rem;
            background: #1e293b;
            color: white;
        }

        /* ----- ANIMACE ----- */
        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* ----- RESPONZIVITA PRO MOBILNÍ TELEFONY ----- */
        @media (max-width: 768px) {
            /* Zobrazení ikonky menu (hamburgeru) */
            .menu-toggle {
                display: flex;
            }

            /* Schování a chování navigačních odkazů */
            .nav-links {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: rgba(255, 255, 255, 0.98);
                flex-direction: column;
                align-items: center;
                padding: 0;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.4s ease-in-out;
                box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            }

            /* Když je menu aktivní (po kliknutí na mobilu) */
            .nav-links.active {
                max-height: 500px; /* Zvýšeno, aby se všechny položky s jistotou vešly */
            }

            /* Položky roztažené na celou šířku kvůli klikání */
            .nav-links li {
                width: 100%;
                margin: 0;
                text-align: center;
            }

            /* Samotné odkazy - menší text, ale velká zóna pro dotyk prstem */
            .nav-links a {
                display: block;
                padding: 15px 0; /* Velká neviditelná klikací plocha */
                font-size: 1rem; /* Menší a decentnější písmo */
                font-weight: 600;
                width: 100%;
            }

            /* První položka v menu bude mít trošku místo seshora a poslední zespoda */
            .nav-links li:first-child a {
                padding-top: 25px;
            }
            .nav-links li:last-child a {
                padding-bottom: 25px;
            }

            /* Zmenšení textů na mobilech v hlavní sekci (Hero) */
            header h1 {
                font-size: 2.5rem;
            }

            header p {
                font-size: 1.2rem;
            }

            .section-title {
                font-size: 2rem;
            }

            /* Zmenšení vnitřních okrajů pro mobily */
            section {
                padding: 3rem 5%;
            }

            .about-content, .contact-wrapper {
                padding: 1.5rem;
            }

            .accordion-header {
                padding: 1rem 1.5rem;
                font-size: 1.1rem;
            }

            .machine-grid {
                padding: 1rem;
            }
            
            /* Zmenšení loga na mobilech */
            .logo-img {
                width: 40px;
                height: 40px;
            }
            .logo-title {
                font-size: 1.2rem;
            }
            .logo-subtitle {
                font-size: 0.7rem;
            }
        }