/* under-construction.css - Under Construction Page Styles */
/* Note: This file depends on theme.css for shared utilities */

/* ========================================
   BODY & BACKGROUND
   ======================================== */

.construction-body {
    min-height: 100vh;
    background: linear-gradient(180deg, #0a0e27 0%, #1a1f3a 100%);
    position: relative;
    overflow-x: hidden;
}

[data-bs-theme="light"] .construction-body {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Animated Background */
.construction-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.construction-background::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float1 20s ease-in-out infinite;
    filter: blur(70px);
}

.construction-background::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float2 18s ease-in-out infinite;
    filter: blur(70px);
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.1); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-60px, -40px) scale(1.1); }
}

/* ========================================
   NAVBAR
   ======================================== */

.construction-body .navbar {
    backdrop-filter: blur(20px);
    background: rgba(var(--bs-body-bg-rgb), 0.8) !important;
    border-bottom: 1px solid rgba(var(--bs-primary-rgb), 0.1);
    position: relative;
    z-index: 100;
    padding: 1.25rem 0;
}

.construction-body .navbar-brand img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

/* ========================================
   CONSTRUCTION CONTAINER
   ======================================== */

.construction-container {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

/* ========================================
   CONSTRUCTION ILLUSTRATION
   ======================================== */

.construction-illustration {
    position: relative;
    height: 200px;
    margin-bottom: 2rem;
}

.construction-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%);
    border: 2px solid rgba(var(--bs-primary-rgb), 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--bs-primary);
    margin: 0 auto;
    animation: toolsRotate 10s linear infinite;
}

[data-bs-theme="dark"] .construction-icon {
    background: rgba(15, 42, 74, 0.5);
    backdrop-filter: blur(10px);
}

@keyframes toolsRotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

/* Construction Bars */
.construction-bars {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.bar {
    width: 40px;
    background: linear-gradient(180deg, var(--bs-primary) 0%, var(--affda-purple) 100%);
    border-radius: 4px 4px 0 0;
    animation: barBounce 1.5s ease-in-out infinite;
}

.bar-1 {
    height: 50px;
    animation-delay: 0s;
}

.bar-2 {
    height: 70px;
    animation-delay: 0.2s;
}

.bar-3 {
    height: 60px;
    animation-delay: 0.4s;
}

@keyframes barBounce {
    0%, 100% {
        transform: scaleY(1);
        opacity: 1;
    }
    50% {
        transform: scaleY(0.7);
        opacity: 0.7;
    }
}

/* ========================================
   STATUS BADGE
   ======================================== */

.status-badge .badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.5rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.3);
    border-radius: 50px;
    color: var(--bs-primary);
    font-size: 0.95rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
    }
}

/* ========================================
   CONTENT
   ======================================== */

.construction-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.construction-description {
    font-size: 1.125rem;
    color: var(--bs-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ========================================
   PROGRESS BAR
   ======================================== */

.progress-section {
    max-width: 500px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.progress-label,
.progress-percent {
    font-size: 0.875rem;
    font-weight: 600;
}

.progress-percent {
    color: var(--bs-primary);
}

.progress-bar-custom {
    height: 12px;
    background: rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

[data-bs-theme="dark"] .progress-bar-custom {
    background: rgba(15, 42, 74, 0.5);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--bs-primary) 0%, var(--affda-purple) 100%);
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.65, 0, 0.35, 1);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* ========================================
   ACTION BUTTONS
   ======================================== */

.construction-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.construction-actions .btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 12px;
}

/* ========================================
   FEATURES PREVIEW
   ======================================== */

.features-preview {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.feature-items {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(var(--bs-body-bg-rgb), 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
}

[data-bs-theme="dark"] .feature-item {
    background: rgba(15, 42, 74, 0.5);
}

.feature-item:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--bs-primary-rgb), 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon-sm {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--bs-primary);
}

.feature-item span {
    font-weight: 600;
    font-size: 0.95rem;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 767px) {
    .construction-container {
        padding: 3rem 0;
    }
    
    .construction-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    
    .construction-title {
        font-size: 2rem;
    }
    
    .construction-description {
        font-size: 1rem;
    }
    
    .construction-actions {
        flex-direction: column;
    }
    
    .construction-actions .btn {
        width: 100%;
    }
    
    .feature-items {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature-item {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .construction-title {
        font-size: 1.75rem;
    }
    
    .bar {
        width: 30px;
    }
}