/*
═══════════════════════════════════════════════════════════════
  PROMOTIONAL TRAINING DETAIL PAGE - CSS
  SOLID Principle: Bu CSS sadece training detay sayfası için
═══════════════════════════════════════════════════════════════
*/

/* Training Hero Section */
.training-hero {
    position: relative;
    z-index: 1;
}

.training-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    z-index: -1;
}

/* Breadcrumb Styling */
.breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
}

/* Cards */
.card {
    border-radius: 16px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

/* Icon Box */
.icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 10px;
}

/* Instructor Avatar */
.instructor-avatar .rounded-circle {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Training Info List */
.training-info-list {
    padding: 0;
}

.training-info-list .d-flex {
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.training-info-list .d-flex:hover {
    background: #e9ecef;
    transform: translateX(4px);
}

/* Progress Bar */
.progress {
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    transition: width 0.6s ease;
    border-radius: 10px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-outline-primary {
    border: 2px solid #10b981;
    color: #10b981;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #10b981;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Badges */
.badge {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Alert Styling */
.alert {
    border-radius: 12px;
    border: none;
    font-weight: 500;
}

.alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

/* Sticky Card */
.sticky-top {
    transition: all 0.3s ease;
}

/* Security Info Card */
.bg-light .d-flex {
    transition: all 0.2s ease;
}

.bg-light .d-flex:hover {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .training-hero {
        min-height: 30vh !important;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .sticky-top {
        position: relative !important;
        top: 0 !important;
    }
    
    .training-info-list .d-flex {
        padding: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .btn.py-3 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

