﻿/* =========================================================================
   ANDONE TRANSPORT - MODERNÍ ZAOBLENÝ DESIGN (2026)
   ========================================================================= */

:root {
    --primary-color: #c62828;
    --primary-hover: #a11a1a;
    --dark-bg: #333333;
    --light-gray: #f4f5f7;
    --text-color: #222222;
    --white: #ffffff;
    --border-radius: 20px; /* Moderní velké zaoblení */
    --card-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Moderní stín */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Ochrana proti překrytí nadpisů fixním menu a natažení každé sekce přes celý monitor */
section[id], .map-section, .vision-section { display: flex; flex-direction: column; 
    scroll-margin-top: 100px; 
    min-height: calc(100vh - 100px); /* Každá sekce bude vysoká přesně jako celý monitor */
    
    
    
}

section[id] > .container, .map-section > .container, .vision-section > .container { margin: auto auto; width: 100%; } body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
}

.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-red { color: var(--primary-color); text-decoration: none;}
.bg-dark { background-color: var(--dark-bg); }
.bg-red { background-color: var(--primary-color); }

.container {
    width: 100%;
    max-width: 1440px; /* Rozšířeno z 1200px pro moderní ultrawide monitory */
    margin: 0 auto;
    padding: 0 24px;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius); /* Zaoblení fotek */
    box-shadow: var(--card-shadow);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    border-radius: 50px; /* Kulatá "pilulka" moderní tlačítko */
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

/* =========================================================================
   NAVIGACE
   ========================================================================= */
.navbar {
    background-color: var(--white);
    border-bottom: 1px solid #eaeaea;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container { display: flex; 
    
    justify-content: space-between;
    align-items: center;
    height: 100px;
}
.logo-img {
    height: 60px;
    width: auto;
}
.nav-links {
    
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 700;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
    cursor: pointer;
}
.nav-links a:hover {
    color: var(--primary-color);
}
.separator {
    color: #ccc;
    font-weight: 400;
}

/* =========================================================================
   HERO FULLSCREEN FOTKA
   ========================================================================= */
.hero-fullscreen { display: flex; 
    position: relative;
    width: 100%;
    height: calc(100vh - 100px); 
    background-image: url('img/hero-bg.jpg');
    background-size: cover;
    background-position: center bottom;
    
    align-items: flex-end;
    justify-content: flex-start;
    padding: 60px;
}
.btn-large {
    font-size: 1.5rem;
    padding: 20px 50px;
}

/* =========================================================================
   O SPOLEČNOSTI (S NAKÓDOVANOU VLNKOU)
   ========================================================================= */
.about-section {
    padding: 100px 0 150px 0; /* Větší spodní padding pro vlnku */
    background-color: var(--white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f4f5f7' fill-opacity='1' d='M0,192L80,186.7C160,181,320,171,480,176C640,181,800,203,960,208C1120,213,1280,203,1360,197.3L1440,192L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100% 200px; /* Vlnka bude dole přes celou šířku */
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text p {
    margin-bottom: 20px;
    font-size: 1.15rem;
    color: #555;
}
.about-text h2 {
    font-size: 3rem;
}

/* =========================================================================
   CERTIFIKÁTY
   ========================================================================= */
.certificates-section { padding: 100px 0; background-color: var(--light-gray);
}
.certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.cert-box {
    text-align: center;
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}
.cert-box:hover {
    transform: translateY(-5px);
}
.cert-img {
    height: 350px;
    width: auto;
    margin: 0 auto 20px auto;
    object-fit: contain;
    border: 1px solid #eee;
}
.cert-box h4 {
    font-size: 1.2rem;
    color: var(--text-color);
}

/* =========================================================================
   SLUŽBY A OBORY
   ========================================================================= */
.services-section {
    padding: 80px 0;
    background-color: var(--light-gray); /* Lehké šedé pozadí pro vyniknutí dlaždic */
}
.services-image { position: sticky; top: 120px; align-self: start; } .services-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}
.services-content h3 {
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 30px;
}
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}
/* Čisté dlaždice s vodoznaky piktogramů */
.service-box {
    background-color: var(--white);
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
.service-box h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(0,0,0,0.05);
    padding-bottom: 10px;
    color: var(--text-color);
    position: relative;
    z-index: 2;
}
.service-box ul {
    list-style-type: none;
    position: relative;
    z-index: 2;
}
.service-box > ul > li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}
.service-box > ul > li::before { content: "\25A0"; position: absolute; left: 0; font-size: 0.8rem; top: 3px; opacity: 0.5; }
.service-box ul ul { margin-top: 12px; margin-bottom: 15px; padding-left: 0; display: flex; flex-wrap: wrap; gap: 8px; } .service-box ul ul li { padding: 4px 12px; font-size: 0.85rem; font-weight: 600; background-color: var(--light-gray); color: #555; border-radius: 20px; list-style: none; } .service-box ul ul li::before { display: none; } /* Piktogramy jako decentní vodoznaky v rohu */
.service-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 10rem;
    opacity: 0.04;
    z-index: 1;
    pointer-events: none;
    transform: rotate(-15deg);
    color: var(--text-color);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.service-box:hover .service-icon {
    transform: rotate(0deg) scale(1.1);
    filter: brightness(0) opacity(0.06);
}

/* Jemné barevné odlišení vodoznaků (pokud bys chtěl zachovat barvy, jinak můžeme nechat šedé) */
.box-other { grid-column: 1 / -1; } .box-feed .service-icon { color: #1abc9c; }
.box-tech .service-icon { color: #3498db; }
.box-adr .service-icon { color: #e74c3c; }
.box-food .service-icon { color: #9b59b6; }
.box-other { grid-column: 1 / -1; } .box-other .service-icon { color: #7f8c8d; }

/* =========================================================================
   MAPA EVROPY
   ========================================================================= */
.map-section {
    padding: 100px 0;
}
.map-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}
.map-logo {
    max-width: 250px;
    margin-bottom: 40px;
}
.map-text h3 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 20px;
}
.map-text p {
    font-size: 1.15rem;
    margin-bottom: 20px;
    color: #ddd;
}
.map-image img {
    border-radius: 0; /* Mapa je hezčí bez zaoblení nebo s malým */
    box-shadow: none;
}

/* =========================================================================
   VIZE A CÍLE
   ========================================================================= */
.vision-section {
    padding: 60px 0 0 0;
}
.vision-red-box { position: relative; overflow: hidden; background-color: var(--primary-color); background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%); color: var(--white); padding: 80px 60px; margin-top: 40px; border-radius: var(--border-radius); max-width: 1200px; margin-left: auto; margin-right: auto; box-shadow: 0 10px 40px rgba(198, 40, 40, 0.25); border: none; } .vision-red-box h2 { color: var(--white); font-size: 2.5rem; margin-bottom: 40px; } .vision-list { list-style: none; padding: 0; } .vision-list li { font-size: 1.25rem; margin-bottom: 25px; padding-left: 45px; position: relative; color: var(--white); line-height: 1.6; } .vision-list li::before { content: "\2713"; position: absolute; left: 0; font-weight: bold; color: var(--white); opacity: 0.8; font-size: 1.4rem; top: 0px; }

/* =========================================================================
   KARIÉRA (S VODOZNAKEM LODI)
   ========================================================================= */
.career-section {
    padding: 120px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden; /* Aby loď nepřečuhovala */
}

/* Zde je vodoznak té lodě (nebo černobílého loga) zespodu */
.career-section::after {
    content: "\25A0";
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 600px;
    height: 600px;
    background-image: url('img/watermark.png');
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: contain;
    filter: brightness(0) opacity(0.06); /* Zvýšena viditelnost vodoznaku */
    pointer-events: none;
    z-index: 1;
}

.career-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; text-align: left; margin-top: 40px; } .career-layout img { max-height: 500px; object-fit: cover; } .career-box { text-align: left; 
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.9;
    color: #444;
    position: relative;
    z-index: 2; /* Text musí být nad vodoznakem */
    background: rgba(255,255,255,0.8);
    padding: 40px;
    border-radius: var(--border-radius);
}
.career-box p {
    margin-bottom: 25px;
}

/* =========================================================================
   KONTAKT
   ========================================================================= */
.contact-section {
    padding: 100px 0;
    background-color: var(--light-gray);
}
.contact-grid { position: relative; overflow: hidden; 
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background-color: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}
.contact-logo {
    max-width: 250px;
    margin-bottom: 40px;
}
.contact-info address {
    font-style: normal;
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #555;
}
.contact-info strong {
    font-size: 1.6rem;
    color: var(--text-color);
}
.contact-direct p {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
}
.map-placeholder {
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.main-footer {
    padding: 30px 0;
    font-size: 1rem;
    background-color: var(--dark-bg); /* Tmavší moderní patička */
}

/* =========================================================================
   RESPONZIVITA
   ========================================================================= */
@media (max-width: 992px) {
    .about-grid, .services-layout, .career-layout, .map-grid, .contact-grid { position: relative; overflow: hidden; 
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .hero-fullscreen { display: flex; 
        height: 60vh;
        padding: 30px;
    }
    .vision-red-box { position: relative; overflow: hidden; 
        border-radius: 0;
    }
}











.vision-watermark { position: absolute; top: -50px; right: -50px; font-size: 25rem; color: #000; opacity: 0.08; z-index: 0; pointer-events: none; transform: rotate(-15deg); } .vision-red-box .container { position: relative; z-index: 1; }


.about-watermark { position: absolute; bottom: -50px; right: -50px; font-size: 25rem; color: #000; opacity: 0.03; z-index: 0; pointer-events: none; transform: rotate(15deg); } .about-text h2, .about-text p, .about-text a { position: relative; z-index: 1; }





.contact-watermark { position: absolute; top: -20px; left: -40px; font-size: 28rem; color: #000; opacity: 0.02; z-index: 0; pointer-events: none; transform: rotate(-10deg); } .contact-info, .map-container { position: relative; z-index: 1; }








/* =========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================= */
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px; background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; font-size: 35px; box-shadow: 0 4px 15px rgba(37,211,102,0.4); z-index: 100; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; align-items: center; justify-content: center; text-decoration: none; } .whatsapp-float:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(37,211,102,0.6); color: white; } @media (max-width: 768px) { .whatsapp-float { width: 55px; height: 55px; bottom: 20px; right: 20px; font-size: 30px; } }


@media (max-width: 768px) {
    .nav-container { flex-direction: column; height: auto; padding: 15px 0; gap: 12px; }
    .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px; font-size: 0.95rem; }
    .logo-img { height: 45px; }
    .section-title { font-size: 2rem; margin-bottom: 25px; }
    .about-text h2 { font-size: 2rem; }
    .about-section { padding: 40px 0 80px 0; }
    .certificates-section, .services-section, .map-section, .career-section, .contact-section { padding: 50px 0; }
    .vision-section { padding: 40px 0 0 0; }
    .certs-grid { grid-template-columns: 1fr; }
    .cert-img { height: auto; max-height: 300px; }
    .vision-red-box { padding: 40px 20px; }
    .contact-grid { padding: 30px 20px; }
    .hero-fullscreen { height: 50vh; background-position: center center; }
    .services-image { position: relative; top: 0; margin-bottom: 30px; }
    .services-image img { max-width: 100%; height: auto; display: block; }
    .box-other > div { flex-direction: column; align-items: flex-start !important; }
    .box-other img { max-width: 100% !important; margin-top: 20px; }
}


@media (max-width: 992px) {
    .certs-grid { grid-template-columns: repeat(2, 1fr); }
    .services-image { position: relative; top: 0; margin-bottom: 30px; }
}

