/* =============================================================================
   Avalonia.sk — Nabor & Long Content Styles (AI SEO v10.5)
   ============================================================================= */

/* -----------------------------------------------------------------------------
   HERO — Nabor
   ----------------------------------------------------------------------------- */
.page-nabor .hero-nabor {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.08) 0%, rgba(75, 0, 130, 0.04) 100%);
    border-bottom: 1px solid rgba(138, 43, 226, 0.15);
}

.page-nabor .hero-nabor h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #c7b8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.15;
}

.page-nabor .hero-nabor .lead {
    font-size: 1.15rem;
    line-height: 1.75;
    max-width: 900px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
}

.page-nabor .hero-nabor .btn-primary.btn-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #8a2be2 0%, #5b1ba8 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(138, 43, 226, 0.3);
}

.page-nabor .hero-nabor .btn-primary.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(138, 43, 226, 0.5);
}

.page-nabor .hero-nabor .btn-primary.btn-large::before {
    content: "💬";
    font-size: 1.1rem;
}

/* -----------------------------------------------------------------------------
   SECTION CONTENT — Nabor (hlavný obsah)
   ----------------------------------------------------------------------------- */
.page-nabor .section-content {
    padding: 60px 0;
}

.page-nabor .section-content h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    margin: 48px 0 20px;
    padding-left: 16px;
    border-left: 4px solid #8a2be2;
    color: #fff;
    line-height: 1.3;
}

.page-nabor .section-content h2:first-of-type {
    margin-top: 0;
}

.page-nabor .section-content p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 18px;
}

/* Requirements & Responsibilities — stylized lists */
.page-nabor .nabor-requirements,
.page-nabor .nabor-responsibilities {
    list-style: none;
    padding: 0;
    margin: 24px 0 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.page-nabor .nabor-requirements li,
.page-nabor .nabor-responsibilities li {
    position: relative;
    padding: 16px 18px 16px 48px;
    background: rgba(138, 43, 226, 0.05);
    border: 1px solid rgba(138, 43, 226, 0.15);
    border-radius: 8px;
    font-size: 0.98rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.page-nabor .nabor-requirements li:hover,
.page-nabor .nabor-responsibilities li:hover {
    background: rgba(138, 43, 226, 0.1);
    border-color: rgba(138, 43, 226, 0.35);
    transform: translateY(-2px);
}

.page-nabor .nabor-requirements li::before {
    content: "✓";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: #8a2be2;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
}

.page-nabor .nabor-responsibilities li::before {
    content: "★";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: rgba(138, 43, 226, 0.2);
    color: #c7b8ff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Positions grid */
.page-nabor .positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin: 24px 0 40px;
}

.page-nabor .position-card {
    padding: 24px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.08) 0%, rgba(75, 0, 130, 0.04) 100%);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 10px;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.page-nabor .position-card:hover {
    transform: translateY(-4px);
    border-color: rgba(138, 43, 226, 0.5);
    box-shadow: 0 8px 24px rgba(138, 43, 226, 0.2);
}

.page-nabor .position-card h3 {
    font-size: 1.25rem;
    margin: 0 0 12px;
    color: #c7b8ff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-nabor .position-card h3::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #8a2be2;
    border-radius: 50%;
    flex-shrink: 0;
}

.page-nabor .position-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* Ordered list for "Ako sa prihlásiť" */
.page-nabor .nabor-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 24px 0 40px;
}

.page-nabor .nabor-steps li {
    counter-increment: step;
    position: relative;
    padding: 18px 20px 18px 72px;
    margin-bottom: 12px;
    background: rgba(138, 43, 226, 0.05);
    border: 1px solid rgba(138, 43, 226, 0.15);
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.page-nabor .nabor-steps li::before {
    content: counter(step);
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: linear-gradient(135deg, #8a2be2 0%, #5b1ba8 100%);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 2px 8px rgba(138, 43, 226, 0.4);
}

/* Note box */
.page-nabor .nabor-note {
    padding: 20px 24px;
    margin: 32px 0;
    background: rgba(255, 193, 7, 0.08);
    border-left: 4px solid #ffc107;
    border-radius: 4px;
    font-size: 0.98rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.page-nabor .nabor-note strong {
    color: #ffc107;
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

/* -----------------------------------------------------------------------------
   INTERNAL LINKS SECTION
   ----------------------------------------------------------------------------- */
.section-internal-links {
    padding: 60px 0;
    background: rgba(10, 10, 20, 0.4);
    border-top: 1px solid rgba(138, 43, 226, 0.1);
}

.section-internal-links h2 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    margin-bottom: 24px;
    color: #fff;
}

.internal-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.internal-link {
    display: block;
    padding: 20px;
    background: rgba(138, 43, 226, 0.05);
    border: 1px solid rgba(138, 43, 226, 0.15);
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.internal-link:hover {
    transform: translateY(-2px);
    background: rgba(138, 43, 226, 0.1);
    border-color: rgba(138, 43, 226, 0.4);
}

.internal-link strong {
    display: block;
    font-size: 1.1rem;
    color: #c7b8ff;
    margin-bottom: 6px;
}

.internal-link span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

/* -----------------------------------------------------------------------------
   LONG CONTENT — Homepage, Servery, Pravidlá, Tím, O nás
   ----------------------------------------------------------------------------- */
.long-content-section {
    padding: 40px 0;
}

.long-content {
    max-width: 980px;
    margin: 0 auto;
}

.long-content h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin: 48px 0 18px;
    padding-left: 16px;
    border-left: 4px solid #8a2be2;
    color: #fff;
    line-height: 1.3;
    font-weight: 700;
}

.long-content h2:first-child {
    margin-top: 0;
}

.long-content p {
    font-size: 1.02rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 18px;
}

.long-content p strong {
    color: #c7b8ff;
    font-weight: 600;
}

.long-content a {
    color: #b39bff;
    text-decoration: none;
    border-bottom: 1px dashed rgba(179, 155, 255, 0.4);
    transition: color 0.2s, border-color 0.2s;
}

.long-content a:hover {
    color: #d4c3ff;
    border-bottom-color: #d4c3ff;
}

.long-content code {
    padding: 2px 8px;
    background: rgba(138, 43, 226, 0.15);
    border: 1px solid rgba(138, 43, 226, 0.25);
    border-radius: 4px;
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace;
    font-size: 0.9em;
    color: #e0d0ff;
}

.long-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 28px;
}

.long-content ul li {
    position: relative;
    padding: 10px 16px 10px 36px;
    margin-bottom: 8px;
    background: rgba(138, 43, 226, 0.04);
    border-left: 3px solid rgba(138, 43, 226, 0.3);
    border-radius: 0 4px 4px 0;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

.long-content ul li::before {
    content: "▸";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a2be2;
    font-size: 1.1rem;
    font-weight: 700;
}

.long-content ul li strong {
    color: #c7b8ff;
}

/* Blockquote / poznámky v long content */
.long-content blockquote {
    margin: 24px 0;
    padding: 18px 24px;
    background: rgba(138, 43, 226, 0.06);
    border-left: 4px solid #8a2be2;
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
}

/* -----------------------------------------------------------------------------
   Responsive tweaks
   ----------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .page-nabor .hero-nabor {
        padding: 60px 0 40px;
    }

    .page-nabor .section-content {
        padding: 40px 0;
    }

    .page-nabor .section-content h2,
    .long-content h2 {
        margin-top: 32px;
    }

    .page-nabor .positions-grid,
    .page-nabor .nabor-requirements,
    .page-nabor .nabor-responsibilities,
    .internal-links-grid {
        grid-template-columns: 1fr;
    }

    .page-nabor .nabor-steps li {
        padding-left: 64px;
    }
}
