:root {
    --bg-color: #0f1115;
    --card-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --accent-color: #a5b4fc;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-xxl: 48px;
    --radius-lg: 18px;
    --border-color: var(--glass-border);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Arka Plan Animasyonu */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 15% 50%, rgba(76, 29, 149, 0.15), transparent 25%),
                radial-gradient(circle at 85% 30%, rgba(37, 99, 235, 0.15), transparent 25%);
    filter: blur(60px);
    animation: pulseBg 10s infinite alternate;
}

@keyframes pulseBg {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}

/* Header */
header {
    text-align: center;
    padding: 80px 20px 40px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(to right, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Animasyonlar */
.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Navigasyon */
nav {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    position: sticky;
    top: 20px;
    z-index: 100;
}

.nav-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    padding: 12px 30px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    display: flex;
    gap: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    transform: scale(1.05);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* Glass Card */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.25);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Profil */
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.bio-text {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Work Items */
.work-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.work-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding-left: 20px;
}

.work-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--accent-color);
}

.arrow {
    margin-left: auto;
    opacity: 0.5;
}

/* Social Buttons */
.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.social-btn:hover {
    background: #fff;
    color: #000;
    transform: scale(1.1);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* ==================== HAKKIMDA SAYFASI ==================== */
.page-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-bottom: 60px;
}

.intro-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(15, 17, 21, 0.8) 100%);
}

.section-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
}

.highlight-line {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin-bottom: 20px;
    border-radius: 2px;
}

.intro-content p {
    color: #ccc;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 15px;
}

.intro-icon {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.03);
    transform: rotate(-20deg);
}

/* Timeline */
.timeline-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.timeline {
    position: relative;
    padding-left: 10px;
    margin-top: 20px;
}

.timeline-item {
    position: relative;
    padding-left: 35px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
    border-left: 2px solid transparent;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
}

.timeline-item h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.timeline-item .date {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.timeline-item p {
    font-size: 0.9rem;
    color: #a0a0a0;
}

/* Hobbies */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.hobby-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
}

.hobby-box:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.hobby-box i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.hobby-box h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

/* ==================== ÇALIŞMALARIM SAYFASI ==================== */
.section-heading {
    color: #fff;
    font-size: 1.5rem;
    margin: 20px 0;
    padding-left: 10px;
    border-left: 4px solid var(--accent-color);
}

/* Çalışmalarım Sayfası - Özel Düzen */
.page-layout .projects-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.project-card {
    padding: 30px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 25px;
    height: auto;
    border-left: 4px solid var(--accent-color);
}

.project-card .work-icon {
    font-size: 3rem;
    margin: 0;
    color: var(--accent-color);
    background: rgba(165, 180, 252, 0.1);
    padding: 20px;
    border-radius: 15px;
    flex-shrink: 0;
}

.project-card .work-info {
    flex: 1;
}

.project-card h4 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 10px;
}

.project-card p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.tech-badge {
    background: rgba(165, 180, 252, 0.1);
    color: var(--accent-color);
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(165, 180, 252, 0.2);
}

.view-project-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 10px;
    width: auto;
}

.view-project-btn:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 15px rgba(165, 180, 252, 0.4);
    transform: translateY(-2px);
}

/* GitHub Kutusu - Altta */
.github-section {
    text-align: center;
    border: 2px solid var(--accent-color);
    background: linear-gradient(145deg, rgba(165, 180, 252, 0.05), rgba(15, 17, 21, 0.8));
    margin-top: 40px;
}

.github-section .card-title {
    justify-content: center;
    font-size: 1.3rem;
}

.github-section p {
    color: #ccc;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.github-section .social-btn {
    width: auto;
    padding: 12px 30px;
    margin: 0 auto;
    gap: 10px;
    font-size: 1rem;
    height: auto;
    border-radius: 12px;
}

/* ==================== SERTİFİKALAR SAYFASI ==================== */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.cert-card {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.cert-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-icon {
    font-size: 2rem;
    color: var(--accent-color);
}

.cert-header h4 {
    font-size: 1.05rem;
    color: #fff;
    line-height: 1.3;
}

.cert-source {
    font-size: 0.8rem;
    color: #a0a0a0;
    display: block;
    margin-top: 3px;
}

.cert-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
    cursor: pointer;
}

.cert-btn:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 15px rgba(165, 180, 252, 0.4);
    transform: translateY(-2px);
}

/* ==================== MODAL (POPUP) ==================== */
/* ==================== MODAL (POPUP) ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 60px rgba(165, 180, 252, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: 0.3s;
}

.close:hover {
    color: var(--accent-color);
    transform: rotate(90deg) scale(1.3);
}

/* ==================== SKILLS (YETENEKLER) ==================== */
.skills-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.skill-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    transform: translateX(5px);
}

.skill-name {
    font-weight: 600;
    color: #fff;
}

.skill-level {
    color: var(--accent-color);
    font-weight: 500;
    background: rgba(165, 180, 252, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.85rem;
}

/* ==================== İLETİŞİM AĞACI ==================== */
.tree-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px 60px;
}

.tree-root {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.root-node {
    padding: 12px 40px;
    background: #fff;
    color: #000;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

.tree-root::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 0);
    width: 3px;
    height: 50px;
    background: var(--accent-color);
    z-index: 0;
}

.tree-level-1 {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    position: relative;
    align-items: flex-start;
}

.tree-level-1::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 3px;
    background: var(--accent-color);
}

.tree-level-1::after {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 25px;
    background: var(--accent-color);
}

.tree-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 200px;
}

.tree-branch::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 25px;
    background: var(--accent-color);
}

.category-node {
    padding: 12px 0;
    width: 100%;
    text-align: center;
    background: rgba(165, 180, 252, 0.15);
    color: #fff;
    border: 1px solid var(--accent-color);
    border-radius: 15px;
    font-weight: 600;
}

.tree-leaves-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-top: 30px;
    position: relative;
}

.tree-leaves-wrapper::before {
    content: '';
    position: absolute;
    top: -30px;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: var(--accent-color);
    opacity: 0.5;
    z-index: 0;
}

.leaf-node {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    width: 100%;
    background: rgba(15, 17, 21, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-decoration: none;
    color: #ccc;
    transition: 0.3s;
    position: relative;
}

.leaf-node:hover {
    transform: translateX(5px);
    border-color: var(--accent-color);
    color: #fff;
}

.leaf-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.leaf-whatsapp .leaf-icon {
    color: #25D366;
}

.leaf-node span {
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
}

.leaf-node small {
    font-size: 0.8rem;
    color: #888;
}

.tree-footer {
    margin-top: 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.tree-footer::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 3px;
    background: var(--accent-color);
}

.tree-footer::after {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 30px;
    background: var(--accent-color);
}

.end-node {
    background: var(--accent-color);
    color: #000;
    padding: 12px 50px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 0 30px rgba(165, 180, 252, 0.6);
}

/* ==================== LANG SWITCHER ==================== */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 9999;
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lang-btn {
    padding: 6px 13px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    text-decoration: none;
    background: rgba(15, 17, 21, 0.85);
    transition: 0.2s;
    letter-spacing: 0.06em;
    backdrop-filter: blur(8px);
}

.lang-btn + .lang-btn {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.lang-btn.lang-active {
    color: #000;
    background: var(--accent-color);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
    h1 { font-size: 2.5rem; }
    .nav-container { width: 90%; font-size: 0.9rem; padding: 10px; }
    .nav-link span { display: none; }
    .timeline-wrapper { grid-template-columns: 1fr; }
    .intro-section { flex-direction: column; }
    .intro-icon { display: none; }
    .tree-level-1 { flex-direction: column; gap: 50px; align-items: center; }
    .tree-level-1::before, .tree-level-1::after, .tree-footer::before { display: none; }
    .tree-branch { width: 100%; max-width: 320px; }
    .tree-root::after { height: 25px; top: 100%; transform: translate(-50%, 0); }
    .tree-branch::before { height: 50px; top: -50px; }
    
    /* Çalışmalarım Mobil */
    .project-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .project-card .work-icon {
        font-size: 2.5rem;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .view-project-btn { padding: 8px 16px; font-size: 0.85rem; }
}

/* ==================== CASE STUDY & CV PANEL ==================== */
.container-split {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: var(--space-xl);
    align-items: flex-start;
}

.case-study-column {
    min-width: 0;
}

.case-study-page-header {
    margin-bottom: var(--space-xxl);
}

.case-study-page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.case-study-page-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.cv-panel-wrapper {
    position: relative;
}

.cv-panel {
    position: sticky;
    top: 100px;
    height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: var(--space-md);
    backdrop-filter: blur(12px);
}

.cv-panel-header {
    margin-bottom: var(--space-sm);
}

.cv-panel-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.cv-panel-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cv-frame-wrapper {
    flex: 1;
    min-height: 0;
}

.cv-frame-wrapper iframe {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background-color: #000;
}

.cv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.cv-action-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.25s ease;
}

.cv-action-button:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 15px rgba(165, 180, 252, 0.5);
    transform: translateY(-1px);
}

.cv-action-secondary {
    border-color: var(--border-color);
    color: var(--text-main);
}

.cv-action-secondary:hover {
    border-color: var(--accent-color);
}

.cv-action-button i {
    font-size: 0.8rem;
}

.case-study {
    margin-bottom: var(--space-xxl);
}

.case-study:last-of-type {
    margin-bottom: 0;
}

.case-study-header {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.case-study-title {
    font-size: 1.6rem;
    font-weight: 600;
}

.case-study-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.case-study-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.case-study-meta-item i {
    font-size: 0.85rem;
    color: var(--accent-color);
}

.case-study-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: var(--space-sm);
}

.badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
}

.case-study-section-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    opacity: 0.6;
    margin-top: var(--space-lg);
    margin-bottom: 4px;
    letter-spacing: 0.06em;
}

.case-study-text {
    line-height: 1.7;
    opacity: 0.9;
    font-size: 0.95rem;
}

.case-study-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: var(--space-lg);
}

.case-study-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--accent-color);
}

.case-study-link i {
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .container-split {
        grid-template-columns: 1fr;
        padding-top: 20px;
    }

    .cv-panel-wrapper {
        order: -1;
    }

    .cv-panel {
        position: static;
        height: auto;
        max-height: 70vh;
    }

    .cv-frame-wrapper {
        min-height: 320px;
    }

    .case-study-page-header {
        margin-top: var(--space-lg);
    }
}

@media (max-width: 600px) {
    .case-study-page-title {
        font-size: 1.6rem;
    }

    .cv-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

