/* Consilium Capital — Sitewide WOW Effects */

/* Scroll reveal base */
.wow-fade-up,
.wow-fade-in,
.wow-fade-left,
.wow-fade-right,
.wow-scale,
.section-block,
.feature-column,
.hero-content,
.dashboard-card,
.tabs-content {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.wow-fade-up,
.section-block,
.feature-column,
.dashboard-card {
    transform: translateY(40px);
}

.wow-fade-left { transform: translateX(-40px); }
.wow-fade-right { transform: translateX(40px); }
.wow-scale { transform: scale(0.92); }

.wow-visible,
.wow-fade-up.wow-visible,
.wow-fade-in.wow-visible,
.wow-fade-left.wow-visible,
.wow-fade-right.wow-visible,
.wow-scale.wow-visible,
.section-block.wow-visible,
.feature-column.wow-visible,
.dashboard-card.wow-visible {
    opacity: 1;
    transform: none;
}

.wow-delay-1 { transition-delay: 0.1s; }
.wow-delay-2 { transition-delay: 0.2s; }
.wow-delay-3 { transition-delay: 0.3s; }
.wow-delay-4 { transition-delay: 0.4s; }
.wow-delay-5 { transition-delay: 0.5s; }

/* Page load shimmer on gold elements */
@keyframes goldShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.gold-shimmer,
.button.bkg-gold,
.bkg-gold {
    background-size: 200% auto;
}

/* Floating animation for hero elements */
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.wow-float {
    animation: floatY 4s ease-in-out infinite;
}

/* Gradient text effect */
.wow-gradient-text {
    background: linear-gradient(135deg, #c9a961 0%, #e1c138 50%, #c9a961 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 4s linear infinite;
}

/* Card hover lift sitewide */
.wow-card-hover {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s ease;
}

.wow-card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* Button pulse on hover */
.button,
a.button {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button:hover,
a.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.35);
}

/* Header scroll effect */
.header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

/* Image reveal */
.wow-img-reveal {
    overflow: hidden;
}

.wow-img-reveal img {
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.wow-img-reveal:hover img {
    transform: scale(1.05);
}

/* Progress bar animation */
@keyframes progressFill {
    from { width: 0; }
}

.wow-progress .allocation-bar-fill,
.allocation-bar-fill {
    animation: progressFill 1.2s ease forwards;
}

/* Dashboard page styles (static HTML preview) */
.dashboard-container {
    padding: 8rem 0 5rem;
    background: #f5f5f5;
    min-height: 80vh;
}

.welcome-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 3rem;
    border-radius: 16px;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

.welcome-banner::after {
    content: '';
    position: absolute;
    top: -30%; right: -10%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(201,169,97,0.2), transparent 70%);
    border-radius: 50%;
}

.welcome-banner h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.welcome-banner p {
    color: rgba(255,255,255,0.7);
    position: relative;
}

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

.dashboard-card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, #c9a961, #e1c138);
}

.dashboard-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.dashboard-card h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 0.75rem;
}

.dashboard-card .value {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
}

.dashboard-card .change {
    font-size: 0.85rem;
    font-weight: 600;
    color: #28a745;
    margin-top: 0.5rem;
}

.dashboard-card .label {
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 0.25rem;
}

.table-section {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.table-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #c9a961;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.dashboard-table th {
    background: #fafafa;
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

.dashboard-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.9rem;
}

.dashboard-table tr:hover td {
    background: #fafafa;
}

.status-badge {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-completed { background: #d4edda; color: #155724; }
.status-processing { background: #cce5ff; color: #004085; }
.status-pending { background: #fff3cd; color: #856404; }

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

.btn-action {
    padding: 0.9rem 1.5rem;
    background: #f5f5f5;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.btn-action:hover,
.btn-action.primary {
    background: linear-gradient(135deg, #c9a961, #b8984e);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201,169,97,0.3);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .wow-fade-up, .wow-fade-in, .wow-fade-left, .wow-fade-right, .wow-scale,
    .section-block, .feature-column, .dashboard-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .wow-float { animation: none; }
}
