/* 
   Případové studie - Custom Styles
   Isolated from global style.css
*/

.case-study-page {
    padding-top: 140px;
}

.case-study-hero {
    text-align: center;
    margin-bottom: 80px;
}

.case-study-hero h1 {
    font-size: 3rem;
    max-width: 900px;
    margin: 0 auto 20px;
}

.cs-container {
    display: flex;
    flex-direction: column;
    gap: 100px;
    margin-bottom: 100px;
}

.cs-article {
    padding: 60px;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.cs-header {
    text-align: center;
    margin-bottom: 40px;
}

.cs-header .badge {
    margin-bottom: 20px;
    display: inline-block;
}

.cs-header h2 {
    font-size: 2.2rem;
    line-height: 1.3;
}

/* Image */
.cs-main-image {
    width: 100%;
    margin-bottom: 50px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
}

.cs-main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.cs-main-image:hover img {
    transform: scale(1.02);
}

/* Content */
.cs-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.cs-block h3 {
    font-size: 1.1rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.cs-block p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-main);
}

/* Results emphasis */
.cs-result {
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 35px;
    border-radius: 16px;
}

.cs-result h3 {
    color: var(--secondary);
}

.cs-result p {
    color: var(--text-main);
    font-weight: 500;
}

/* Testimonial */
.cs-testimonial {
    margin-top: 60px;
    text-align: center;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-muted);
    padding-top: 50px;
    border-top: 1px solid var(--glass-border);
}

.cs-testimonial strong {
    display: block;
    margin-top: 25px;
    font-style: normal;
    color: white;
    font-size: 1.05rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 40px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--primary);
}

/* CTA Box */
.cs-cta-box {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.cs-cta-box h4 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: white;
}

@media (max-width: 992px) {
    .cs-article {
        padding: 40px 30px;
    }
    
    .case-study-hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .case-study-page {
        padding-top: 100px;
    }
}
/* Executive Summary Block */
.cs-quick-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--primary);
    text-align: left;
}

.cs-quick-metrics div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-right: 15px;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.cs-quick-metrics div:last-child {
    border-right: none;
}

.cs-quick-metrics div strong {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
}

.cs-quick-metrics div span {
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 500;
}

.cs-cta-box p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--text-muted);
}
