/* Case Study Detail Styles */
.case-study-header {
    padding: 8rem 2rem 4rem;
    background-color: var(--bg-primary);
}

.case-study-intro {
    max-width: 800px;
    margin: 0 auto;
}

.case-study-intro h1 {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.case-study-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #718096;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.meta-value {
    font-size: 1.1rem;
    color: #2d3748;
    font-weight: 500;
}

.company-link {
    color: #4299e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.company-link:hover {
    color: #2b6cb0;
}

/* Feature Image */
.feature-image {
    width: 100%;
    height: 400px;
    margin-bottom: 2rem;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
}

/* Content Sections */
.case-study-content-wrapper {
    width: 100%;
    background-color: var(--bg-secondary);
    padding: 4rem 0;
}

.case-study-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-section {
    margin-bottom: 4rem;
}

.content-section h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.content-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Phase Sections */
.phase-section {
    margin-bottom: 6rem;
}

.phase-section h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-tertiary);
}

.phase-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.phase-text {
    color: #4a5568;
    line-height: 1.8;
}

.phase-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.phase-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Outcomes Section */
.outcomes-section {
    background-color: #f7fafc;
    padding: 4rem 2rem;
    margin-top: 4rem;
}

.outcomes-content {
    max-width: 800px;
    margin: 0 auto;
}

.outcomes-image {
    width: 100%;
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.outcomes-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive iframe styling */
.phase-content iframe {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .case-study-header {
        padding: 6rem 1rem 3rem;
    }

    .case-study-intro h1 {
        font-size: 2.5rem;
    }

    .case-study-meta {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .content-section {
        margin-bottom: 3rem;
    }

    .phase-section {
        margin-bottom: 4rem;
    }

    .phase-content iframe {
        min-height: 300px;
    }
} 