/* --- Základní proměnné a reset --- */
:root {
    --primary-color: #455a64;
    --accent-color: #8cc63f;
    --text-color: #333333;
    --bg-light: #f5f7f8;
    --bg-white: #ffffff;
    --font-heading: 'Josefin Sans', sans-serif;
    --font-body: 'Proxima Nova', Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-color); color: var(--bg-white); }
.bg-dark p { color: #d1d9dd; }

.section-padding {
    padding: 80px 0;
}

/* --- Typografie a Grid systémy --- */
.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* --- Navigace --- */
.navbar {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.lang-item {
    border-left: 2px solid #eee;
    padding-left: 15px;
}

.lang-btn {
    color: var(--accent-color) !important;
}

/* --- Hamburger Ikonka --- */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* --- Hero Sekce --- */
.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('image-crop-200000026-0.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* OPRAVENO: Odstraněna chyba mizení obrázku v prohlížeči */
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.85);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero .subtitle {
    font-size: 2rem;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.hero .tagline {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero .title {
    font-size: 5rem;
    letter-spacing: 5px;
}

/* --- Galerie / Highlights pod úvodem --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    background-color: var(--primary-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gallery-title {
    color: var(--bg-white);
    text-align: center;
    padding: 15px 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* --- O nás & Flotila --- */
.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about p {
    margin-bottom: 15px;
    color: #555;
}

/* --- Co umíme (Služby) --- */
.services h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--accent-color);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* --- Práce --- */
.jobs h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.jobs-subtitle {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.jobs-intro {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
}

.jobs-details {
    text-align: left;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
}

.jobs-box h4 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.jobs-box ul {
    list-style-type: none;
}

.jobs-box ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
}

.jobs-box ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.cta-contact {
    margin-top: 40px;
}

.cta-contact .phone {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 10px;
}

/* --- Footer --- */
.footer {
    padding: 40px 0;
    font-size: 0.9rem;
}

/* --- Responzivita & Mobilní styly --- */
@media (max-width: 768px) {
    .grid-2-cols, .grid-3-cols, .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero .title {
        font-size: 3rem;
    }
    
    .footer .text-right {
        text-align: left;
        margin-top: 20px;
    }

    /* Aktivace hamburgeru */
    .hamburger {
        display: flex;
    }

    /* Transformace menu na mobilní výsuvný panel */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 25px;
        text-align: center;
        gap: 20px;
    }

    /* Třída přidávaná Javascriptem pro otevření menu */
    .nav-links.active {
        display: flex;
    }

    .lang-item {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid #eee;
        width: 100%;
        padding-top: 15px;
    }

    /* Animace hamburger ikonky na křížek při aktivaci */
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
