/* ============================================
   CASE STUDIES PAGE STYLES
   Path: wwwroot/content/css/casestudies.css
   Version: 1
   Last Updated: 2026-04-04
   Signatur/Sign: Lillehest - Team Stallion
   ============================================ */

/* --- Hero Section --- */
.casestudies-hero-section {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: #fff;
    padding: 80px 0 60px;
}

.casestudies-hero-wrapper h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.casestudies-hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Grid Section --- */
.casestudies-grid-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.casestudies-grid-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
}

.casestudies-grid-subtitle {
    font-size: 1.05rem;
    color: #666;
}

.casestudy-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.casestudy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.casestudy-card-image {
    height: 180px;
    background: #e8f0fe;
    display: flex;
    align-items: center;
    justify-content: center;
}

.casestudy-placeholder-img {
    font-size: 3rem;
    color: #1a73e8;
    opacity: 0.6;
}

.casestudy-card-body {
    padding: 24px;
}

.casestudy-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.badge-ecommerce { background: #e8f5e9; color: #2e7d32; }
.badge-saas { background: #e3f2fd; color: #1565c0; }
.badge-agency { background: #fff3e0; color: #e65100; }

.casestudy-card-body h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.casestudy-result {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a73e8;
    margin-bottom: 12px;
}

.casestudy-card-body p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.casestudy-link {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.casestudy-link:hover {
    color: #0d47a1;
}

/* --- Highlights Stats --- */
.casestudies-highlights {
    background: #fff;
    border-radius: 12px;
    padding: 40px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.highlight-stat {
    padding: 16px;
}

.highlight-number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a73e8;
}

.highlight-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 4px;
}

/* --- CTA Section --- */
.casestudies-cta-section {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: #fff;
    padding: 80px 0;
}

.casestudies-cta-wrapper h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.casestudies-cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.casestudies-cta-buttons .btn-primary {
    background: #fff;
    color: #1a73e8;
    border: none;
    font-weight: 600;
}

.casestudies-cta-buttons .btn-primary:hover {
    background: #e8e8e8;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .casestudies-hero-wrapper h1 { font-size: 2.2rem; }
    .highlight-number { font-size: 2rem; }
}

@media (max-width: 767px) {
    .casestudies-hero-section { padding: 60px 0 40px; }
    .casestudies-hero-wrapper h1 { font-size: 1.8rem; }
    .casestudies-grid-section { padding: 60px 0; }
    .casestudies-cta-section { padding: 60px 0; }
    .casestudy-card-image { height: 140px; }
}
