/* ==========================================================================
   13. Stránka Nábor (Recruitment) - Kompletní
   ========================================================================== */

/* Hero sekce */
.join-hero { padding: 80px 0 40px 0; text-align: center; background-color: var(--color-white); }
.join-hero-container { max-width: 800px; margin: 0 auto; }
.join-title { font-family: var(--font-heading); font-size: 3.5rem; color: var(--color-secondary); margin-top: 20px; margin-bottom: 25px; line-height: 1.1; }
.join-description { font-size: 1.15rem; color: var(--color-text); line-height: 1.6; }

/* ==========================================================================
   Koho hledáme (Nový prémiový design)
   ========================================================================== */
.join-target { 
    padding: 80px 0; 
    background-color: var(--color-white); 
}

.join-target .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-size: 2.5rem;
}

.target-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
}

.target-card { 
    background-color: var(--color-white);
    border: 1px solid #eaeaea; 
    padding: 40px 30px; 
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Skrytá horní linka, která se plynule ukáže při přejetí myší */
.target-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}

.target-card:hover::before {
    transform: scaleX(1);
}

.target-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    transform: translateY(-5px);
    border-color: transparent;
}

/* Obal pro emoji ikonku, aby vypadala jako profi ilustrace */
.target-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: #f8fafc;
    border-radius: 50%;
    font-size: 2.5rem;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.target-card:hover .target-icon-wrap {
    transform: scale(1.1);
}

.target-card h3 { 
    font-family: var(--font-heading); 
    color: var(--color-secondary); 
    font-size: 1.5rem; 
    margin-bottom: 15px; 
}

.target-card p { 
    color: #717d91; 
    line-height: 1.6; 
    font-size: 0.95rem; 
    margin: 0; 
}

/* ==========================================================================
   Textová vložka s fotkou (Filozofie / Tmavá sekce)
   ========================================================================== */
.join-philosophy {
    padding: 100px 0;
    background-color: var(--color-secondary); /* Tmavě modré pozadí */
    position: relative;
    overflow: hidden;
}

.philosophy-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center; /* Vycentruje text a fotku vertikálně k sobě */
}

/* Levá část (Text) */
.philosophy-text {
    position: relative;
    z-index: 2;
}

.philosophy-quote-icon {
    display: block;
    font-family: var(--font-heading);
    font-size: 6rem;
    line-height: 1;
    color: var(--color-primary); /* Červená akcentní barva */
    margin-bottom: -20px;
    opacity: 0.9;
}

.philosophy-text h2 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    color: var(--color-white);
    margin-bottom: 25px;
    line-height: 1.15;
}

.philosophy-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85); /* Jemně tlumená bílá pro lepší čtení */
    margin: 0;
}

/* Pravá část (Fotka) */
.philosophy-image {
    position: relative;
    z-index: 2;
}

.philosophy-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3); /* Výraznější stín pro tmavé pozadí */
    display: block;
    transform: rotate(2deg); /* Lehké natočení fotky pro dynamiku */
    transition: transform 0.4s ease;
}

.philosophy-image:hover img {
    transform: rotate(0deg) scale(1.02); /* Při najetí se srovná a mírně zvětší */
}

/* Odladění na mobily a tablety */
@media (max-width: 992px) {
    .philosophy-split {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .philosophy-text h2 {
        font-size: 2.2rem;
    }
    .philosophy-quote-icon {
        margin-bottom: -10px;
    }
    .philosophy-image img {
        transform: rotate(0deg); /* Na mobilu fotku raději nenatáčíme */
    }
}

/* Benefity */
.join-benefits { padding: 60px 0 80px 0; background-color: var(--color-bg); }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.benefit-card { background-color: var(--color-white); padding: 40px 30px; border-radius: 16px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.benefit-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.benefit-icon { display: inline-flex; align-items: center; justify-content: center; width: 70px; height: 70px; background-color: #f8fafc; color: var(--color-secondary); border-radius: 50%; margin-bottom: 25px; }
.benefit-icon svg { width: 32px; height: 32px; }
.benefit-card h3 { font-family: var(--font-heading); color: var(--color-secondary); font-size: 1.5rem; margin-bottom: 15px; }
.benefit-card p { color: #717d91; font-size: 0.95rem; line-height: 1.6; }

/* Spodní info a kontakt (Split layout) */
.join-contact-section { padding: 40px 0 100px 0; background-color: var(--color-bg); }
.contact-split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

.contact-info-box, .contact-form-box { background-color: var(--color-white); padding: 50px; border-radius: 20px; box-shadow: 0 15px 40px rgba(0,0,0,0.05); }
.contact-info-box h2, .contact-form-box h2 { font-family: var(--font-heading); color: var(--color-secondary); font-size: 2rem; margin-bottom: 20px; }
.contact-info-box p, .contact-form-box p { color: var(--color-text); margin-bottom: 30px; line-height: 1.6; }

/* Seznam zkoušek */
.rehearsal-list { list-style: none; padding: 0; margin: 0; }
.rehearsal-list li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #eaeaea; }
.rehearsal-list li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.rehearsal-list .icon { font-size: 1.5rem; }
.rehearsal-list strong { display: block; color: var(--color-secondary); font-size: 1.1rem; margin-bottom: 4px; }
.rehearsal-list span { color: #717d91; font-size: 0.95rem; }

/* Obsah z editoru ve formulářovém boxu */
/* ==========================================================================
   Kontaktní formulář (Nábor)
   ========================================================================== */
.custom-contact-form {
    margin-top: 20px;
}

.custom-contact-form .form-group {
    margin-bottom: 20px;
}

/* Popisky polí (Labels) */
.custom-contact-form label {
    display: block;
    font-size: 1.05rem;
    color: #334155; /* Tmavá šedomodrá z návrhu */
    margin-bottom: 8px;
    font-weight: 500;
}

/* Samotná textová pole */
.custom-contact-form input[type="text"],
.custom-contact-form input[type="email"],
.custom-contact-form textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #cbd5e1; /* Jemný šedý rámeček */
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text);
    background-color: var(--color-white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Efekt při kliknutí do pole (psaní) */
.custom-contact-form input:focus,
.custom-contact-form textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.08);
}

.custom-contact-form textarea {
    resize: vertical; /* Umožní tahání za pravý dolní roh jen na výšku */
    min-height: 120px;
}

/* Zakulacené tlačítko Odeslat */
.custom-contact-form .btn-submit {
    background-color: #233142; /* Specifická tmavě modrá z tvého obrázku */
    color: #ffffff;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 14px 35px;
    border: none;
    border-radius: 30px; /* Tvar pilulky */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    margin-top: 10px;
}



/* Odladění na mobily a menší tablety */
@media (max-width: 992px) {
    .contact-split-layout { grid-template-columns: 1fr; }
    .join-title { font-size: 2.5rem; }
    .contact-info-box, .contact-form-box { padding: 30px 20px; }
}