/* Import existing blog styles */
@import url('blog-styles.css');

/* Case Study Specific Styles */

/* Ensure the cursor is visible on case pages (override any global cursor:none) */
html, body, body * { cursor: auto !important; }
.custom-cursor { display: none !important; }

/* Key Results Section */
.key-results-section {
    background: var(--light-bg);
    padding: 60px 0;
    border-bottom: 1px solid var(--border-light);
}

.key-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.key-results-grid .metric-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.key-results-grid .metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--dark-teal));
}

.key-results-grid .metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.key-results-grid .metric-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 10px;
    line-height: 1;
}

.key-results-grid .metric-label {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 15px;
    font-weight: 500;
}

.key-results-grid .metric-change {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
}

.key-results-grid .metric-change.positive {
    background: #d4edda;
    color: #155724;
}

.key-results-grid .metric-change.negative {
    background: #f8d7da;
    color: #721c24;
}

/* Challenge Visual */
.challenge-visual {
    margin: 30px 0;
}

.visual-card {
    background: var(--peach-card);
    border-radius: 12px;
    padding: 30px;
    border-left: 4px solid var(--orange);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visual-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.visual-icon {
    background: var(--orange);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.visual-card h4 {
    color: var(--dark-teal);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.visual-card ul {
    list-style: none;
    padding: 0;
}

.visual-card li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    color: var(--text-dark);
}

.visual-card li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
    font-size: 1rem;
}

/* Strategy Visual */
.strategy-visual {
    margin: 40px 0;
    background: var(--cyan-card);
    border-radius: 12px;
    padding: 30px;
}

.strategy-visual h4 {
    color: var(--dark-teal);
    font-size: 1.3rem;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.strategy-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.flow-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    background: white;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-5px);
}

.flow-step .step-number {
    background: var(--orange);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 15px;
}

.flow-step h5 {
    color: var(--dark-teal);
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.flow-step p {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin: 0;
}

.flow-arrow {
    color: var(--orange);
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Enhanced Testimonial Box */
.testimonial-box {
    background: linear-gradient(135deg, var(--cyan-card) 0%, var(--peach-card) 100%);
    border-radius: 12px;
    padding: 40px;
    margin: 30px 0;
    position: relative;
    border: 1px solid var(--border-light);
}

.testimonial-icon {
    position: absolute;
    top: -15px;
    left: 30px;
    background: var(--orange);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.testimonial-box blockquote {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0 0 25px 0;
    border: none;
    padding: 0;
    position: relative;
}

.testimonial-box blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--orange);
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.3;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author .author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--orange);
}

.testimonial-author cite {
    font-weight: 600;
    color: var(--dark-teal);
    font-style: normal;
    display: block;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Enhanced Pro Tip Box */
.pro-tip-box {
    background: linear-gradient(135deg, var(--cyan-card) 0%, var(--peach-card) 100%);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    display: flex;
    gap: 25px;
    align-items: flex-start;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.pro-tip-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--dark-teal));
}

.pro-tip-icon {
    background: var(--orange);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(251, 77, 23, 0.3);
}

.pro-tip-content h4 {
    color: var(--dark-teal);
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.pro-tip-content p {
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--dark-teal) 0%, #0a3d35 100%);
    border-radius: 16px;
    padding: 50px;
    margin: 40px 20px; /* outer spacing so the block "floats" */
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.cta-content h2::after {
    display: none;
}

.cta-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.9;
    color: white;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.cta-feature i {
    color: var(--orange);
    font-size: 1.2rem;
    width: 20px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    flex: 1;
    min-width: 200px;
}

.cta-buttons .btn-primary {
    background: var(--orange);
    color: white;
}

.cta-buttons .btn-primary:hover {
    background: #e65a1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 77, 23, 0.4);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: var(--dark-teal);
    transform: translateY(-2px);
}

.cta-guarantee {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.cta-guarantee i {
    color: var(--orange);
}

.cta-visual {
    position: relative;
    z-index: 2;
}

.cta-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.cta-hero-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(251, 77, 23, 0.8), rgba(8, 54, 48, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-image:hover .cta-overlay {
    opacity: 1;
}

.cta-image:hover .cta-hero-img {
    transform: scale(1.05);
}

/* Enhanced Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.team-card {
    text-align: center;
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--dark-teal));
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--light-bg);
    transition: transform 0.3s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.05);
}

.team-name {
    color: var(--dark-teal);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.team-role {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-link {
    color: var(--text-light);
    font-size: 1.1rem;
    transition: color 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    background: var(--light-bg);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: var(--orange);
    background: var(--cyan-card);
}

/* Interactive Elements */
.metric-card {
    cursor: pointer;
    position: relative;
}

.metric-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.metric-card:hover::after {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .strategy-flow {
        flex-direction: column;
        gap: 15px;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .key-results-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .key-results-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .pro-tip-box {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-box {
        padding: 30px 20px;
    }
    
    .strategy-visual {
        padding: 20px;
    }
    
    .cta-section {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
        margin: 20px; /* maintain spacing on small screens */
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .key-results-grid .metric-value {
        font-size: 2.5rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .flow-step {
        min-width: auto;
        position: relative;
        padding-bottom: 50px;
    }

    .flow-step .step-number {
        position: absolute;
        top: auto;
        left: auto;
        bottom: 15px;
        right: 15px;
        width: 30px;
        height: 30px;
        font-size: 1rem;
        margin: 0;
    }
}

/* Case CTA Styling for Transferendi */
.case-cta {
    background: var(--dark-teal);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-top: 40px;
}

.case-cta h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.case-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.case-cta .cta-buttons {
    justify-content: center;
}

.case-cta .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.case-cta .btn-secondary:hover {
    background: var(--white);
    color: var(--dark-teal);
}