/* Production Hub Dashboard - Professional Filmmaking Interface */
/* Brand Colors: #4A6FA5 (Primary Blue), #D9DDE6 (Light Gray), #2C2C2E (Dark Gray), #B47857 (Warm Brown), #A6A9B6 (Medium Gray) */
/* HIGH CONTRAST REDESIGN - White background, dark text for maximum readability */

.production-hub {
    min-height: 100vh;
    background: #FFFFFF;
    color: #1A1A1B;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Header Section */
.hub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: #F8F9FA;
    
    border: 2px solid #E9ECEF;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.welcome-section h1.hub-title {
    color: #1A1A1B;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.hub-subtitle {
    color: #4A4A4C;
    font-size: 1.1rem;
    margin: 0.5rem 0 0 0;
}

.quick-actions {
    display: flex;
    gap: 1rem;
}

.hub-btn {
    padding: 12px 24px;
    
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-primary.hub-btn {
    background: linear-gradient(135deg, #4a6fa5 0%, #5a7fb5 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 111, 165, 0.3);
}

.btn-outline-primary.hub-btn {
    background: transparent;
    border: 2px solid #4a6fa5;
    color: #4a6fa5;
}

.hub-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 111, 165, 0.4);
}

/* Production Statistics */
.production-stat {
    background: rgba(255, 255, 255, 0.05);
    
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 120px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.production-stat:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(74, 111, 165, 0.3);
}

.stat-visual {
    flex: 0 0 60px;
}

.stat-circle {
    width: 60px;
    height: 60px;
    
    background: conic-gradient(#4a6fa5 0deg, #4a6fa5 120deg, rgba(255,255,255,0.1) 120deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.stat-circle span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.stat-bar {
    width: 60px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4a6fa5, #b47857);
    
    transition: width 0.8s ease;
}

.stat-progress {
    display: flex;
    justify-content: center;
    align-items: center;
}

.complete-icon {
    color: #28a745;
    width: 32px;
    height: 32px;
}

.stat-info h4 {
    color: #1A1A1B;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.stat-info p {
    color: #4A4A4C;
    font-size: 0.9rem;
    margin: 0.25rem 0 0 0;
}

/* Section Titles */
.section-title {
    color: #1A1A1B;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.section-subtitle {
    color: #4A4A4C;
    font-size: 1.1rem;
    margin: 0 0 2rem 0;
}

/* Department Modules Grid */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.department-module {
    background: #FFFFFF;
    
    border: 2px solid #E9ECEF;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.department-module:hover {
    transform: translateY(-8px);
    background: #F8F9FA;
    border-color: #4A6FA5;
    box-shadow: 0 8px 24px rgba(74, 111, 165, 0.2);
}

.department-module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4a6fa5, #b47857);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.department-module:hover::before {
    opacity: 1;
}

.module-header {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    gap: 1rem;
}

.dept-icon {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4A6FA5, #B47857);
    
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(74, 111, 165, 0.3);
}

.dept-icon i {
    color: #FFFFFF;
    width: 28px;
    height: 28px;
}

.dept-info {
    flex: 1;
}

.dept-info h3 {
    color: #1A1A1B;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

.dept-info p {
    color: #4A4A4C;
    font-size: 0.95rem;
    margin: 0.25rem 0 0 0;
}

.dept-status {
    text-align: right;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    
    margin-right: 0.5rem;
}

.status-dot.active {
    background: #28a745;
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.5);
}

.dept-status small {
    color: #A6A9B6;
    font-size: 0.8rem;
}

.module-content {
    padding: 0 1.5rem 1.5rem;
}

.dept-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(74, 111, 165, 0.1);
    border-color: rgba(74, 111, 165, 0.3);
}

.feature-item i {
    color: #4A6FA5;
    width: 18px;
    height: 18px;
}

.feature-item span {
    color: #1A1A1B;
    font-size: 0.9rem;
    font-weight: 500;
}

.dept-actions {
    display: flex;
    justify-content: center;
}

.btn-dept-enter {
    background: linear-gradient(135deg, #4A6FA5, #B47857);
    color: #FFFFFF;
    padding: 12px 24px;
    
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(74, 111, 165, 0.3);
}

.btn-dept-enter:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 111, 165, 0.4);
    color: #FFFFFF;
    text-decoration: none;
    background: linear-gradient(135deg, #B47857, #4A6FA5);
}

/* Recent Projects Section */
.projects-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.project-card-mini {
    background: rgba(255, 255, 255, 0.05);
    
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card-mini:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(74, 111, 165, 0.3);
}

.project-thumbnail {
    height: 120px;
    background: linear-gradient(135deg, #4a6fa5, #b47857);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-type {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0.5rem 1rem;
    
    font-size: 0.8rem;
    font-weight: 600;
}

.project-info-mini {
    padding: 1rem;
}

.project-info-mini h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.project-info-mini p {
    color: #a6a9b6;
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.project-meta-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-development {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-production {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status-completed {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

.update-date {
    color: #a6a9b6;
    font-size: 0.8rem;
}

.project-actions-mini {
    padding: 0 1rem 1rem;
}

.btn-mini {
    background: transparent;
    border: 1px solid #4a6fa5;
    color: #4a6fa5;
    padding: 0.5rem 1rem;
    
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-mini:hover {
    background: #4a6fa5;
    color: white;
    text-decoration: none;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.empty-state h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.empty-state p {
    color: #a6a9b6;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hub-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .departments-grid {
        grid-template-columns: 1fr;
    }
    
    .dept-features {
        grid-template-columns: 1fr;
    }
    
    .production-stat {
        height: auto;
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
}

/* Animation Enhancements */
@keyframes moduleEnter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.department-module {
    animation: moduleEnter 0.6s ease forwards;
}

.department-module:nth-child(1) { animation-delay: 0.1s; }
.department-module:nth-child(2) { animation-delay: 0.2s; }
.department-module:nth-child(3) { animation-delay: 0.3s; }
.department-module:nth-child(4) { animation-delay: 0.4s; }
.department-module:nth-child(5) { animation-delay: 0.5s; }
.department-module:nth-child(6) { animation-delay: 0.6s; }
.department-module:nth-child(7) { animation-delay: 0.7s; }
.department-module:nth-child(8) { animation-delay: 0.8s; }