/* ========== VARIABLES ========== */
:root {
    /* Colors */
    --primary-color: #e63946;
    --primary-dark: #d90429;
    --secondary-color: #1d3557;
    --accent: #00d4ff;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-color: #f1faee;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    --gradient-light: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
    
    /* UI Elements */
    --border-radius: 12px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    /* Layout Vars */
    --sidebar-fixed-width: 300px;
    --sidebar-gap: 20px; /* kütüphane ile program arasındaki boşluk */
}

/* ========== RESET & BASE STYLES ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background: var(--gradient-light);
    color: var(--secondary-color);
    min-height: 100vh;
}

/* ========== LAYOUT ========== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem; /* 20px */
}

/* ========== HEADER ========== */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(230, 57, 70, 0.1);
    transition: transform 0.3s ease;
}

header.scroll-down {
    transform: translateY(-100%);
}

header.scroll-up {
    transform: translateY(0);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.logo span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
    background: none;
    border: none;
    padding: 0.5rem;
    transition: var(--transition);
}

.mobile-menu:hover {
    color: var(--primary-color);
}

/* ========== HERO SECTION (Kaldırıldı veya sadeleştirildi, sadece başlıklar kaldı) ========== */
.page-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 120px 0 40px;
    color: var(--secondary-color);
}

.page-title span {
    color: var(--primary-color);
}

.page-title p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-top: 1rem;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.875rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.3);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}
/* ========== PROGRAM BUILDER SECTION ========== */
/* PROGRAM BUILDER SECTION */
.program-builder-section {
    padding: 40px 0 80px;
}

/* Bu bölümde container'ı tam genişlik yaparak sağ içeriği kütüphaneye yaklaştır */
.program-builder-section .container {
    max-width: 100%;
    width: 100%;
}

.program-builder {
    /* Yeni layout: Sol sidebar sabit, program geniş */
    display: grid;
    grid-template-columns: var(--sidebar-fixed-width) 1fr; /* sol kart + sağ program */
    gap: var(--sidebar-gap);
    padding-left: 0; /* sabit düzen kaldırıldı */
    margin-bottom: 1rem;
}

.right-side-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ========== EXERCISE LIST (Sidebar) - YENİLEME BAŞLANGICI ========== */
.exercise-list {
    background: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: fit-content; /* kart boyu içeriğe göre */
    position: static; /* sayfa akışında kalsın (scroll ile birlikte hareket etsin) */
    width: 100%;
}

.exercise-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-gray); /* Daha ince bir ayırıcı */
}

.exercise-list-header h2 {
    font-size: 1.25rem;
    margin-bottom: 0;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.exercise-count {
    background: var(--primary-color);
    color: white;
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(230, 57, 70, 0.3);
}

.exercise-list > p {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

/* ========== MUSCLE FILTER - YENİLEME BAŞLANGICI ========== */
.muscle-filter {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.muscle-filter h3 {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    text-align: left;
    font-weight: 600;
    padding-left: 0.5rem;
    border-left: 4px solid var(--primary-color);
    line-height: 1;
}

.filter-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 0.6rem;
}

.filter-btn {
    padding: 0.65rem 0.4rem;
    border: none;
    background: var(--light-gray);
    color: var(--secondary-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 42px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover {
    background: rgba(230, 57, 70, 0.1); /* Hover'da hafif kırmızı arka plan */
    color: var(--primary-color);
    transform: translateY(-2px); /* Daha belirgin bir yukarı hareket */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); /* Hover'da gölge artırıldı */
}

.filter-btn.active {
    background: var(--primary-color); /* Kırmızı arka plan */
    color: var(--white);
    transform: translateY(-1px);
    /* Daha canlı ve belirgin bir gölge */
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4); 
    border: 2px solid var(--primary-color); /* Hafif kenarlık ekle */
    font-weight: 600;
}

/* ========== EXERCISE ITEMS: Liste görünümünü iyileştirme (Örnek) ========== */
/* Eğer bu kısım CSS'inizde yoksa ekleyebilirsiniz */
.exercise-item {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: var(--light-color);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    cursor: grab;
    transition: var(--transition);
    border-left: 5px solid transparent;
}

.exercise-item:hover {
    background: var(--white);
    border-left: 5px solid var(--secondary-color);
    transform: translateX(3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.exercise-item.selected {
    border: 2px solid var(--primary-color);
    border-left: 8px solid var(--primary-color);
    background: #fff0f1;
    box-shadow: 0 6px 15px rgba(230, 57, 70, 0.2);
}

/* ================================================================= */
/* Mobil Uyum (Responsive) İyileştirmeleri */
/* ================================================================= */

@media (max-width: 992px) {
    /* Küçük ekranda sol kart üstte, tek sütun */
    :root { --sidebar-fixed-width: 100%; --sidebar-gap: 12px; }

    /* Ana layout tek sütuna düşer ama sol padding korunur */
    .program-builder {
        grid-template-columns: 1fr;
        padding-left: 0;
    }

    .exercise-list {
        position: static;
        top: auto;
        left: auto;
        width: 100%;
        max-height: none;
        overflow-y: visible;
    }

    /* Filtre düğmeleri mobil cihazlarda 2 sütun olabilir */
    .filter-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .filter-btn {
        font-size: 0.85rem;
        min-height: 44px;
        padding: 0.6rem 0.5rem;
    }
}

/* Muscle Group Icons */
.filter-btn[data-filter="Göğüs"]::before { content: "🦾"; }
.filter-btn[data-filter="Sırt"]::before { content: "🔙"; }
.filter-btn[data-filter="Bacak"]::before { content: "🦵"; }
.filter-btn[data-filter="Omuz"]::before { content: "🎯"; }
.filter-btn[data-filter="Kol"]::before { content: "💪"; }
.filter-btn[data-filter="Karın"]::before { content: "📍"; }
.filter-btn[data-filter="all"]::before { content: "🔍"; }



/* ========== EXERCISE ITEMS ========== */
.exercise-items {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 8px;
    margin-top: 1rem;
}

/* Scrollbar Styling */
.exercise-items::-webkit-scrollbar { width: 6px; }
.exercise-items::-webkit-scrollbar-track { background: var(--light-gray); border-radius: 10px; }
.exercise-items::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 10px; }
.exercise-items::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

.exercise-item {
    background: var(--light-gray);
    padding: 1rem;
    margin-bottom: 0.8rem;
    border-radius: 8px;
    cursor: pointer; /* Tıklama ve Sürükleme için */
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.exercise-item:hover {
    background: #e8e8e8;
    border-color: rgba(230, 57, 70, 0.4);
    transform: translateX(3px);
}

.exercise-item.selected {
    border-color: var(--primary-color);
    background: rgba(230, 57, 70, 0.1);
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.2);
}

.exercise-emoji {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 8px;
    flex-shrink: 0;
}

.exercise-content {
    flex: 1;
    min-width: 0;
}

.exercise-content h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--secondary-color);
    line-height: 1.3;
}

.exercise-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
}

.tag-muscle {
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(230, 57, 70, 0.2);
}

.tag-level {
    background: var(--light-gray);
    color: var(--gray);
    border: 1px solid var(--gray);
}

.muscle-distribution {
    margin-top: 0.5rem;
}

.muscle-distribution small {
    color: var(--secondary-color);
    font-size: 0.75rem;
    line-height: 1.3;
    font-weight: 500;
}

/* ========== SCHEDULE ========== */
.schedule {
    background: var(--white);
    padding: 1rem; /* daha kompakt */
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.schedule h2 {
    font-size: 1.35rem; /* küçültüldü */
    margin-bottom: 1rem; /* azaltıldı */
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Day Names are only in H4 now, removing redundant header */
/* .schedule-header { display: none; } */

.schedule-body {
    display: grid;
    grid-template-columns: repeat(7, minmax(135px, 1fr)); /* daha dar kartlar, Pazar da sığar */
    gap: 0.5rem;
    overflow-x: auto; /* yatay scroll ekle */
}

.day-column {
    background: var(--light-gray);
    padding: 0.8rem; /* biraz daraltıldı */
    border-radius: 8px;
    min-height: 400px;
    transition: var(--transition);
    flex-shrink: 0; /* sütunların küçülmesini engelle */
}

.day-column:hover {
    background: #e8e8e8;
}

.day-column h4 {
    font-size: 0.80rem; /* küçültüldü */
    margin-bottom: 0.7rem; /* azaltıldı */
    color: var(--secondary-color);
    text-align: center;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 4px;
    padding: 0.4rem 0; /* azaltıldı */
    font-weight: 700;
    line-height: 1.2;
}

.day-column .exercises {
    min-height: 300px;
    padding: 0.65rem; /* rahat tıklama alanı */
    /* Tıklama Alanı */
    cursor: pointer;
    transition: var(--transition);
    overflow: visible; /* çarpı butonlarının görünmesi için */
}

.day-column .exercises:hover {
    background: rgba(230, 57, 70, 0.03);
}

.scheduled-exercise {
    background: var(--white);
    padding: 0.85rem; /* kart iç boşluğu artırıldı */
    margin-bottom: 0.75rem;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: var(--transition);
    overflow: visible; /* çarpı butonunun görünmesi için */
    min-width: 0; /* taşmayı engelle */
}

.scheduled-exercise:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.scheduled-exercise h5 {
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
    color: var(--secondary-color);
    line-height: 1.3;
    font-weight: 600;
}

.scheduled-exercise p {
    font-size: 0.7rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.4;
}

.muscle-distribution-small {
    margin-top: 0.3rem;
}

.muscle-distribution-small small {
    color: var(--primary-color);
    font-size: 0.7rem;
    line-height: 1.3;
    font-weight: 500;
}

.remove-exercise {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10; /* üstte görünsün */
    box-shadow: 0 2px 6px rgba(0,0,0,0.2); /* daha belirgin */
}

.remove-exercise:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

    /* === Minimal kart ve tekrar alanı (yeni) === */
    .scheduled-exercise .scheduled-title {
        font-size: 0.95rem; /* ~15px */
        color: var(--secondary-color);
        margin-bottom: 0.6rem;
        font-weight: 600;
        line-height: 1.3;
        word-wrap: break-word;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .scheduled-exercise .reps-row {
        display: flex;
        flex-direction: column; /* alt alta */
        align-items: center;
        gap: 8px;
        background: var(--light-gray);
        border: 1px solid rgba(0,0,0,0.08);
        border-radius: 6px;
        padding: 10px 12px;
        width: 100%;
        box-sizing: border-box;
    }

    /* Label + input blokları (yazılar tam görünsün) */
    .scheduled-exercise .rep-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        width: 100%;
    }

    .scheduled-exercise .rep-label {
        font-size: 0.85rem;
        color: var(--secondary-color);
        font-weight: 600;
        line-height: 1;
        text-align: center;
        letter-spacing: 0.1px;
    }

    .scheduled-exercise .set-input {
        width: 64px;
        padding: 6px 6px;
        border: 1px solid var(--light-gray);
        border-radius: 4px;
        font-size: 0.95rem;
        text-align: center;
        outline: none;
        background: var(--white);
        box-sizing: border-box;
        flex-shrink: 0;
    }

    .scheduled-exercise .set-input:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.1);
    }

    .scheduled-exercise .x { 
        color: var(--gray); 
        font-weight: 800; 
        font-size: 1rem; /* ortada belirgin X */
        flex-shrink: 0;
        line-height: 1;
        margin: 2px 0; /* dikey boşluk */
    }

    .scheduled-exercise .rep-input {
        width: 64px;
        padding: 6px 6px;
        border: 1px solid var(--light-gray);
        border-radius: 4px;
        font-size: 0.95rem;
        text-align: center;
        outline: none;
        background: var(--white);
        box-sizing: border-box;
        flex-shrink: 0;
    }

    .scheduled-exercise .rep-input:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.1);
    }

    .scheduled-exercise .rep-suffix {
        font-size: 0.3rem;
        color: var(--gray);
    }

/* ========== PROGRAM ACTIONS ========== */
.program-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--light-gray);
    flex-wrap: wrap;
}

/* ========== SELECTION INDICATOR (Tıkla-Ata Özelliği için) ========== */
.selection-indicator {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
    z-index: 1000;
    display: none;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.selection-indicator.show {
    display: flex;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ========== DRAG AND DROP STYLES ========== */
.dragging {
    opacity: 0.5;
    cursor: grabbing;
    transform: rotate(2deg);
    transition: none; /* Dragging sırasında transform olmasın */
}

.drag-over {
    border: 3px dashed var(--primary-dark);
    background: rgba(230, 57, 70, 0.1);
}

/* ========== FOOTER ========== */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-logo p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-links h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-social h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.social-icons a {
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.copyright p {
    font-size: 0.8rem;
    color: #aaa;
}

.body-figure {
    position: relative;
    width: 140px; /* Görsel genişliği */
    height: 300px; /* Görsel yüksekliği */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.body-front, .body-back {
    position: relative;
    width: 100%; /* Figure genişliğini kullan */
    height: 270px; /* Figürün büyük bölümünü kapla */
    border-radius: 0; /* Artık kutu değil, resim olacak */
    border: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
    box-shadow: none;
    overflow: hidden; /* Vurgulama alanlarının dışarı taşmasını engelle */
}
.body-front {
    /* Vücudun ön yüzü görseli */
    background-image: url('../assets/ön.png');
    background-size: cover;
    background-position: center;
}

.body-back {
    /* Vücudun arka yüzü görseli */
    background-image: url('../assets/arka.png');
    background-size: cover;
    background-position: center;
}

.muscle-area {
    position: absolute;
    background: transparent; /* Başlangıçta tamamen şeffaf */
    padding: 0;
    text-align: center;
    color: transparent; /* Yazı rengini şeffaf yap (sadece vurgu önemli) */
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s ease-out;
    border-radius: 50%; /* Daha yumuşak hatlar için */
}

/* Dinamik Kırmızı Vurgulama (Glow Effect) */
.muscle-area.active {
    background: rgba(230, 57, 70, 0.5); /* Kırmızı dolgu (yarı saydam) */
    /* border: 2px solid var(--primary-color); */
    /* Parlama efekti */
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.8), inset 0 0 8px rgba(255, 255, 255, 0.5);
    z-index: 3;
    opacity: 1; /* Görünür yap */
    animation: pulseGlow 1.5s infinite alternate;
}

@keyframes pulseGlow {
    from { box-shadow: 0 0 10px rgba(230, 57, 70, 0.8), inset 0 0 5px rgba(255, 255, 255, 0.3); }
    to { box-shadow: 0 0 20px rgba(230, 57, 70, 1), inset 0 0 10px rgba(255, 255, 255, 0.7); }
}

/* Ön Vücut Kas Pozisyonları (Bu değerler görsellere göre ayarlanmıştır) */

/* ========== RESPONSIVENESS ========== */

/* Geniş ekranlarda kademeli kolon azaltma (ekrana sığdırma) */
@media (max-width: 1400px) { .schedule-body { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 1200px) { .schedule-body { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1100px) { .schedule-body { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px)  { .schedule-body { grid-template-columns: repeat(3, 1fr); } }

/* Tablet ve Büyük Telefonlar için (992px altı) */
@media (max-width: 992px) {
    .program-builder {
        grid-template-columns: 1fr;
        padding-left: 0; /* sol panel kart gibi davransın, sabit olmasın */
    }

    .exercise-list {
        position: static; /* sayfa ile birlikte scroll */
        top: auto;
        left: auto;
        width: 100%;
        max-height: none;
        overflow-y: visible;
    }

    .schedule-body {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .day-column {
        min-height: 300px;
    }

    .body-diagram {
        flex-direction: column;
        align-items: center;
    }
    .body-figure-wrapper {
        width: 180px;
        height: 350px;
    }
    
    .highlight-percentages-box {
        width: 80%;
        margin-top: 1rem;
    }
    .body-figure {
        width: 120px;
        height: 200px;
    }
    .right-side-content {
        gap: 1.5rem;
    }
    .body-front, .body-back {
        width: 100px;
        height: 150px;
    }
}

/* Küçük Telefonlar için (576px altı) */
@media (max-width: 576px) {
    header .container {
        padding: 0.8rem 1.25rem;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background: var(--white);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
    }

    nav ul {
        display: none;
        flex-direction: column;
        gap: 0;
    }
    
    nav ul.active {
        display: flex !important;
    }

    nav li {
        width: 100%;
        text-align: center;
    }

    nav a {
        display: block;
        padding: 0.75rem 0;
    }

    .mobile-menu {
        display: block;
    }

    .page-title h1 {
        font-size: 2rem;
    }

    .schedule-body {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .program-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-large {
        width: 100%;
        padding: 12px 20px;
    }
}