/* Custom styles for page ID 25 - Informační centrum pro mládež */

:root {
    --icm-primary: #0f172a;
    --icm-secondary: #1e3a8a;
    --icm-accent: #175ee6;
    --icm-text: #1e293b;
    --icm-text-muted: #64748b;
    --icm-border: #e5e7eb;
}

/* Hero */
.icm-hero {
    background: #ffffff;
    padding: 4rem 2rem 3rem;
}

.icm-hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(30, 58, 138, 0.1);
    color: #1e3a8a;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.icm-hero__title {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.02em;
}

.icm-hero__subtitle {
    font-size: 1.25rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.icm-hero__features {
    display: grid;
    gap: 0.75rem;
}

.icm-feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--icm-text);
}

.icm-feature i {
    color: var(--icm-accent);
}

.icm-hero__images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.icm-hero__image {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icm-hero__image:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
}

.icm-hero__image img {
    width: 100%;
    min-height: 260px;
    height: 100%;
    object-fit: cover;
    display: block;
}

.icm-hero__image--2 {
    transform: translateY(1.2rem);
}

/* Kontakt */
.icm-contact-section {
    width: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    padding: 4rem 2rem;
    border-top: 1px solid var(--icm-border);
    border-bottom: 1px solid var(--icm-border);
}

.icm-contact-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
}

.icm-contact-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(30, 58, 138, 0.12);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.08);
}

.icm-card-icon {
    width: 56px;
    height: 56px;
    background: transparent;
    border: 2px solid #1e3a8a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icm-card-icon i {
    color: #1e3a8a;
    font-size: 1.5rem;
}

.icm-contact-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1.5rem 0;
}

.icm-contact-info p,
.icm-quick-info p {
    color: var(--icm-text-muted);
    line-height: 1.65;
}

.icm-info-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.icm-info-row i {
    color: var(--icm-accent);
    width: 16px;
}

.icm-info-row a {
    color: var(--icm-accent);
    text-decoration: none;
}

.icm-info-row a:hover {
    text-decoration: underline;
}

.icm-quick-info {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid #e5e7eb;
}

.icm-quick-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1.5rem 0;
    position: relative;
    padding-bottom: 1rem;
}

.icm-quick-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #1e3a8a;
    border-radius: 2px;
}

.icm-principles {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.icm-principle-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.icm-principle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(30, 58, 138, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.icm-principle:hover {
    background: rgba(30, 58, 138, 0.1);
    transform: translateX(4px);
}

.icm-principle i {
    color: #1e3a8a;
    font-size: 1.25rem;
}

.icm-principle span {
    font-weight: 600;
    color: #1e293b;
}

/* Cílová sekce */
.icm-target-section {
    background: white;
    padding: 5rem 2rem;
}

.icm-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.icm-section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 1rem 0;
    position: relative;
    display: inline-block;
}

.icm-section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #1e3a8a;
    border-radius: 2px;
}

.icm-section-header p {
    font-size: 1.125rem;
    color: #64748b;
    margin-top: 1.5rem;
}

.icm-target-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.icm-target-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.icm-target-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #1e3a8a;
    opacity: 0;
    transition: opacity 0.3s;
}

.icm-target-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(30, 58, 138, 0.15);
    border-color: rgba(30, 58, 138, 0.3);
}

.icm-target-card:hover::before {
    opacity: 1;
}

.icm-target-card i {
    font-size: 3rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.icm-target-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.75rem 0;
}

.icm-target-card p {
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

/* Taby */
.icm-advisory-section {
    width: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 5rem 2rem;
    border-top: 1px solid #e5e7eb;
}

.icm-tabs__nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid #e5e7eb;
    flex-wrap: wrap;
}

.icm-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    bottom: -2px;
}

.icm-tab-btn.active {
    color: #1e3a8a;
    border-bottom-color: #1e3a8a;
    background: rgba(30, 58, 138, 0.05);
}

.icm-tab-btn i {
    font-size: 1.25rem;
}

.icm-tab-btn:hover {
    color: #1e3a8a;
    background: rgba(30, 58, 138, 0.05);
}

.icm-tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.icm-tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.icm-topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.icm-topic-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #1e293b;
    transition: all 0.3s ease;
}

.icm-topic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.1);
    border-color: rgba(30, 58, 138, 0.3);
}

.icm-topic-card i {
    color: #1e3a8a;
    font-size: 1.2rem;
}

.icm-text-block {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.75rem;
}

.icm-text-block p {
    color: #64748b;
    line-height: 1.8;
    margin: 0;
}

/* CTA */
.icm-cta-section {
    background: #ffffff;
    padding: 4rem 2rem;
}

.icm-cta-card {
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.35);
}

.icm-cta-content {
    padding: 4rem;
    color: white;
}

.icm-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    color: white;
}

.icm-cta-content > p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.icm-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.icm-cta-buttons .btn-primary,
.icm-cta-buttons .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.icm-cta-buttons .btn-primary {
    background: white;
    color: #0f172a;
    border: 2px solid white;
}

.icm-cta-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.icm-cta-buttons .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.icm-cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

.icm-cta-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

.icm-cta-note i {
    font-size: 1.125rem;
}

.icm-cta-image {
    position: relative;
    overflow: hidden;
}

.icm-cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .icm-hero__content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .icm-hero__title {
        font-size: 2.5rem;
    }

    .icm-hero__images {
        max-width: 500px;
        margin: 0 auto;
    }

    .icm-contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .icm-target-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .icm-topics-grid {
        grid-template-columns: 1fr;
    }

    .icm-cta-card {
        grid-template-columns: 1fr;
    }

    .icm-cta-image {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .icm-hero {
        padding: 3rem 1.5rem;
    }

    .icm-hero__title {
        font-size: 2rem;
    }

    .icm-hero__subtitle {
        font-size: 1.125rem;
    }

    .icm-hero__images {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .icm-hero__image--1,
    .icm-hero__image--2 {
        margin: 0;
    }

    .icm-section-header h2 {
        font-size: 2rem;
    }

    .icm-target-grid {
        grid-template-columns: 1fr;
    }

    .icm-tabs__nav {
        flex-direction: column;
        gap: 0.5rem;
        border-bottom: none;
    }

    .icm-tab-btn {
        border-bottom: none;
        border-left: 3px solid transparent;
        justify-content: flex-start;
    }

    .icm-tab-btn.active {
        border-left-color: #1e3a8a;
        border-bottom-color: transparent;
    }

    .icm-cta-content {
        padding: 2.5rem 1.5rem;
    }

    .icm-cta-content h2 {
        font-size: 2rem;
    }

    .icm-cta-buttons {
        flex-direction: column;
    }

    .icm-cta-buttons .btn-primary,
    .icm-cta-buttons .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .icm-principle-items {
        grid-template-columns: 1fr;
    }
}
