﻿/* PortfolioSeparators.css */

/* Dashboard Section Styles */
.dashboard-section {
    margin-bottom: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 30px;
}

.section-header {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px 0 0 0;
}

.section-title {
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-quote {
    font-style: italic;
    font-size: 1.1em;
    color: #34495e;
    text-align: center;
    margin-bottom: 30px;
    padding: 0 15px;
    position: relative;
    line-height: 1.5;
}

.section-quote::before,
.section-quote::after {
    content: '"';
    font-size: 1.5em;
    color: #3498db;
    font-weight: bold;
}

/* Visual Divider Base Styles */
.visual-divider {
    height: 80px;
    position: relative;
    overflow: hidden;
    margin: 0;
}

/* Divider 1: Chart Analytics */
.divider-1 {
    background: linear-gradient(45deg, transparent 40%, #3498db 50%, transparent 60%);
}

.divider-1::before {
    content: '📊';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8em;
    background: white;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Divider 2: Growth Trends */
.divider-2 {
    background: linear-gradient(90deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
}

.divider-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 8px,
        rgba(255,255,255,0.1) 8px,
        rgba(255,255,255,0.1) 16px
    );
}

.divider-2::after {
    content: '📈';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 2em;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    z-index: 2;
}

/* Divider 3: Financial Waves */
.divider-3 {
    background: linear-gradient(135deg, #16a085, #1abc9c);
    position: relative;
}

.wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='rgba(255,255,255,0.3)'/%3E%3C/svg%3E") repeat-x;
    animation: wave 4s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-30px); }
}

.divider-3::after {
    content: '💰';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8em;
    background: white;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 2;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .dashboard-section {
        padding: 25px 15px;
        border-radius: 8px;
        margin: 10px 0;
    }
    
    .section-title {
        font-size: 1.4em;
    }
    
    .section-quote {
        font-size: 1em;
        padding: 0 10px;
    }
    
    .visual-divider {
        height: 60px;
    }
    
    .divider-1::before,
    .divider-3::after {
        font-size: 1.5em;
        padding: 10px;
    }
    
    .divider-2::after {
        font-size: 1.7em;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .dashboard-section {
        padding: 20px 10px;
        border-radius: 6px;
    }
    
    .section-title {
        font-size: 1.2em;
    }
    
    .section-quote {
        font-size: 0.95em;
    }
    
    .visual-divider {
        height: 50px;
    }
    
    .section-title::after {
        width: 40px;
        height: 2px;
    }
}

/* Accessibility and Performance */
@media (prefers-reduced-motion: reduce) {
    .wave {
        animation: none;
    }
    
    .divider-1::before,
    .divider-2::after,
    .divider-3::after {
        transition: none;
    }
}

/* Dark mode support (if needed) */
@media (prefers-color-scheme: dark) {
    .dashboard-section {
        background: #1a1a1a;
        color: #e0e0e0;
    }
    
    .section-title {
        color: #ffffff;
    }
    
    .section-quote {
        color: #b0b0b0;
    }
    
    .divider-1::before,
    .divider-3::after {
        background: #2a2a2a;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 8px,
    rgba(255,255,255,0.1) 8px,
    rgba(255,255,255,0.1) 16px
)

@keyframes shimmer {
    0% { opacity: 0.3; }
    100% { opacity: 0.1; }
}