/* Globální nastavení a barvy */
:root {
    --blue: #004A99;
    --dark-blue: #003366;
    --black: #0a0a0a;
    --white: #ffffff;
    --light-grey: #f8f9fa;
    --text-grey: #444;
    --transition: all 0.4s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', 'Segoe UI', Arial, sans-serif; color: var(--text-grey); line-height: 1.7; overflow-x: hidden; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* Typografie */
h1, h2, h3 { color: var(--black); line-height: 1.2; }
.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 40px; position: relative; font-weight: 0; letter-spacing: -1px; }
.section-title::after { content: ''; display: block; width: 200px; height: 5px; background: var(--blue); margin: 15px auto 0; }
.section-title.white { color: white; }

/* Top Bar */
.top-bar { background: var(--black); color: white; padding: 10px 0; font-size: 0.85rem; font-weight: 0; }
.top-info a { color: white; text-decoration: none; margin-right: 20px; }
.top-info i { color: var(--blue); margin-right: 5px; }

/* Navigation */
header { background: white; padding: 10px 0; position: sticky; top: 0; z-index: 9999; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.navbar { display: flex; justify-content: space-between; align-items: center; }
.main-logo { height: 70px; transition: var(--transition); }
.nav-menu { list-style: none; display: flex; }
.nav-menu li a { text-decoration: none; color: var(--black); font-weight: 800; font-size: 0.9rem; padding: 10px 15px; transition: var(--transition); letter-spacing: 0.5px; }
.nav-menu li a:hover { color: var(--blue); }

/* Hero Section */
.hero { height: 90vh; position: relative; background: url('KAM9.jpg') no-repeat center center/cover; display: flex; align-items: center; color: white; }
.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%); }
.hero-content { position: relative; z-index: 10; max-width: 800px; }
.hero h1 { font-size: 4rem; color: white; margin: 20px 0; }
.highlight { color: var(--blue); text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.badge { background: var(--blue); padding: 5px 15px; border-radius: 50px; font-weight: bold; font-size: 0.8rem; letter-spacing: 1px; }

/* Buttons */
.btn { padding: 15px 35px; border-radius: 5px; font-weight: 0; text-decoration: none; display: inline-block; transition: var(--transition); cursor: pointer; border: none; }
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--dark-blue); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.btn-outline { border: 2px solid white; color: white; margin-left: 15px; }
.btn-outline:hover { background: white; color: var(--black); }

/* Motto */
.motto-bar { background: var(--blue); color: white; text-align: center; padding: 80px 0; font-size: 1.5rem; font-style: italic; font-weight: 0; }

/* Cards */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: -50px; position: relative; z-index: 20; }
.feature-card { background: white; padding: 40px; border-radius: 15px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); text-align: center; transition: var(--transition); border-top: 5px solid transparent; }
.feature-card:hover { transform: translateY(-10px); border-top: 5px solid var(--black); }
.icon-circle { width: 80px; height: 80px; background: var(--light-grey); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 25px; font-size: 2rem; color: var(--blue); }

/* About */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 50px; }
.img-stack { position: relative; }
.img-main { width: 100%; border-radius: 20px; box-shadow: 20px 20px 0 var(--blue); }
.experience-badge { position: absolute; bottom: -20px; left: -20px; background: var(--black); color: white; padding: 20px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; }
.experience-badge .num { font-size: 2rem; font-weight: 0; color: var(--blue); }

.styled-list { list-style: none; margin-top: 30px; }
.styled-list li { margin-bottom: 15px; font-weight: 0; display: flex; align-items: center; }
.styled-list i { color: var(--blue); margin-right: 15px; font-size: 1.2rem; }

/* Services Section */
.bg-dark { background: var(--dark-blue); padding: 100px 0; }
.services-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.service-box { background: rgba(255,255,255,0.05); padding: 40px; border-radius: 15px; border: 1px solid rgba(255,255,255,0.1); }
.service-box h3 { color: white; margin-bottom: 25px; border-bottom: 2px solid var(--blue); display: inline-block; padding-bottom: 5px; }
.dot-list { list-style: none; }
.dot-list li { color: white; margin-bottom: 10px; position: relative; padding-left: 20px; }
.dot-list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; background: var(--blue); border-radius: 50%; }

/* Career */
.career-bg { position: relative; padding: 120px 0; background-attachment: fixed; background-size: cover; }
.job-card { background: white; padding: 40px; border-radius: 15px; text-align: left; }
.job-card h3 { margin-bottom: 20px; font-weight: 0; }
.pos-relative { position: relative; z-index: 10; }
.job-footer { margin-top: 30px; }

/* Info Split */
.info-split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 80px 20px; }
.info-block { padding: 40px; background: var(--light-grey); border-radius: 15px; }
.info-block i { font-size: 2.5rem; color: var(--blue); margin-bottom: 20px; display: block; }

/* Footer */
footer { background: var(--black); color: white; padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 60px; margin-bottom: 50px; }
.footer-col h3 { color: white; margin-bottom: 30px; font-size: 1.4rem; border-left: 4px solid var(--blue); padding-left: 15px; }
.contact-person { margin-bottom: 20px; }
.contact-person a { color: var(--blue); text-decoration: none; font-weight: 0; font-size: 1.1rem; }
.copyright { background: #000; padding: 30px 0; text-align: center; border-top: 1px solid #222; font-size: 0.9rem; color: #666; }

/* Responsivita */
@media (max-width: 992px) {
    .grid-2, .services-columns, .info-split { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
    .nav-menu { display: none; } /* Zde by mohl být mobilní burger, pro zjednodušení skryto */
} 

    
    
/* Styly pro sekci Reference s šedým pozadím */
.reference-section {
    padding: 100px 0;
    background-color: #f8f9fa; /* Požadovaná barva pozadí */
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    text-align: center; padding: 80px 0; font-size: 1.5rem; font-style: italic; 
}

.ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.ref-item {
    height: 120px;
    background: #ffffff; /* Bílé karty na šedém pozadí */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
}

.ref-item:hover {
    background: var(--blue);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 74, 153, 0.25);
}

.ref-name {
    font-weight: 0;
    color: var(--dark-blue);
    font-size: 1rem;
    text-align: center;
    transition: color 0.3s ease;
}

.ref-item:hover .ref-name {
    color: #ffffff;
}

/* Responzivní doladění */
@media (max-width: 768px) {
    .reference-section { padding: 60px 0; }
    .ref-item { height: 100px; }
}   

    
    
    
/* Sekce KONTAKT - Nový design */
.contact-section {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-top-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid #eee;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--blue);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--blue);
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark-blue);
    font-weight: 0;
}

.card-details {
    margin-top: 15px;
    font-size: 0.95rem;
    text-align: left;
    display: inline-block;
}

.card-details a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 0;
}

/* Spodní mřížka: Mapa + Lidé */
.contact-bottom-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: start;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.personal-contacts {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.person {
    background: white;
    padding: 10px;
    border-left: 5px solid var(--blue);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 0 10px 10px 0;
}

.person h4 {
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 10px;
    font-weight: 0;
}

.person p {
    margin-bottom: 5px;
    font-size: 1rem;
}

.person i {
    color: var(--blue);
    width: 20px;
    margin-right: 10px;
}

.person a {
    color: var(--text-grey);
    text-decoration: none;
    transition: color 0.3s;
}

.person a:hover {
    color: var(--blue);
}

.copyright-bar {
    background: var(--black);
    color: #888;
    padding: 25px 0;
    font-size: 0.9rem;
    text-align: center;
}

/* Responsivita */
@media (max-width: 992px) {
    .contact-top-grid, .contact-bottom-grid {
        grid-template-columns: 1fr;
    }
}    
    

    
/* Vertikální uspořádání formuláře */
.vertical-form {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Jednotné odsazení mezi políčky */
    max-width: 600px; /* Užší formulář působí úhledněji */
    margin: 0 auto;
}

.vertical-form .form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.vertical-form label {
    font-weight: 0;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--dark-blue);
    display: flex;
    align-items: center;
}

.vertical-form label i {
    margin-right: 10px;
    width: 15px;
    text-align: center;
    color: var(--blue);
}

.vertical-form input, 
.vertical-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #edf0f2;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #fcfcfc;
    transition: all 0.3s ease;
}

/* Efekt při kliknutí do políčka */
.vertical-form input:focus, 
.vertical-form textarea:focus {
    outline: none;
    border-color: var(--blue);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 74, 153, 0.1);
}

.full-width-btn {
    width: 100%;
    margin-top: 10px;
    padding: 18px;
    justify-content: center;
}

/* Animace úspěchu */
.success-content {
    text-align: center;
    padding: 30px;
}

.success-content i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}    
    
    
 /* Styl Modálního okna */
.modal {
    display: none; /* Skryté ve výchozím stavu */
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 51, 102, 0.85); /* Tmavě modré poloprůhledné pozadí */
    backdrop-filter: blur(5px); /* Rozmazání pozadí webu */
    overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 15px;
    color: #aaa;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--blue);
}

/* Úprava formuláře uvnitř okna */
#form-response {
    text-align: center;
    padding: 40px 0;
}

.hidden { display: none; }

/* Animace pro otevření */
@keyframes modalFade {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}   



/* --- Statická Fotogalerie s efekty --- */
.gallery-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.gallery-item-static {
    background-color: #ffffff;
    padding: 10px;
    border: 2px solid rgba(0, 74, 153, 0.1); /* Jemný modrý okraj */
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    overflow: hidden;
    cursor: default; /* Odstraněn ukazatel ruky */
}

.gallery-item-static:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 74, 153, 0.4); /* Zvýraznění okraje při hoveru */
    box-shadow: 0 12px 25px rgba(0, 74, 153, 0.1);
}

.img-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f8f9fa; /* Podklad pro fotky, které nevyplní celý prostor */
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Celá fotka bez ořezu */
    transition: transform 0.6s ease;
}

/* Jemný zoom efekt zůstává */
.gallery-item-static:hover img {
    transform: scale(1.07);
}

/* Mobilní responzivita */
@media (max-width: 992px) {
    .gallery-grid-three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .gallery-grid-three { grid-template-columns: 1fr; }
    .img-container { height: 220px; }
}  



/* Velikost obrázku NAŠI PARTNEŘI */
.img-part {
    width: 100px;
    height: 100%;
}




