/* Case Studies Landing Page Styles */
.case-studies-hero {
    padding: 8rem 2rem 0.5rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.case-studies-hero .hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.case-studies-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.case-studies-hero p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

.case-studies-grid {
    padding: 0.5rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.case-study-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.case-study-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.case-study-media {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.case-study-media video,
.case-study-media iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-study-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-study-card:hover .case-study-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.case-study-card:hover .play-button {
    transform: scale(1);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #1a1a1a;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.case-study-info {
    padding: 1.5rem;
    position: relative;
}

.case-study-category {
    color: #666;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}

.case-study-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.case-study-info p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.case-study-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #f5f1eb;
    color: #1a1a1a;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.case-study-card.placeholder {
    border: 2px dashed #ddd;
    background: #fafafa;
    grid-column: 2 / 4;
    margin-top: 2rem;
    justify-self: center;
    max-width: 400px;
}

.placeholder-media {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
    color: #999;
}

.placeholder-icon {
    margin-bottom: 1rem;
}

.placeholder-thumbnail {
    width: 100%;
    height: 100%;
    background: #d0d0d0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.placeholder-thumbnail::after {
    content: '';
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-study-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-studies-cta {
    padding: 4rem 2rem;
    text-align: center;
    background: white;
    margin: 2rem auto;
    border-radius: 24px;
    max-width: 1200px;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.cta-content p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
