/* Visual/Creative CV Themes - Canva Style */

/* Creative Designer Theme */
.theme-creative-designer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    position: relative;
    overflow: hidden;
}

.theme-creative-designer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

.theme-creative-designer .cv-container {
    background: white;
    margin: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.theme-creative-designer .cv-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    text-align: center;
    position: relative;
}

.theme-creative-designer .cv-name {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.theme-creative-designer .cv-title {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.theme-creative-designer .cv-contact {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.theme-creative-designer .contact-item {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Minimalist Modern Theme */
.theme-minimalist-modern {
    background: #f8f9fa;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #2d3748;
}

.theme-minimalist-modern .cv-container {
    background: white;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.theme-minimalist-modern .cv-header {
    border-left: 6px solid #4299e1;
    padding: 40px 40px 40px 46px;
    background: linear-gradient(90deg, #f7fafc 0%, #ffffff 100%);
}

.theme-minimalist-modern .cv-name {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 8px;
}

.theme-minimalist-modern .cv-title {
    font-size: 1.1rem;
    color: #4299e1;
    font-weight: 500;
    margin-bottom: 20px;
}

.theme-minimalist-modern .section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
    margin-bottom: 20px;
    margin-top: 30px;
}

.theme-minimalist-modern .section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: #4299e1;
    margin-right: 12px;
    vertical-align: middle;
}

/* Infographic Style Theme */
.theme-infographic {
    background: #f0f4f8;
    font-family: 'Roboto', sans-serif;
    color: #334155;
}

.theme-infographic .cv-container {
    background: white;
    margin: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.theme-infographic .cv-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 30px;
    position: relative;
}

.theme-infographic .cv-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background: white;
    border-radius: 20px 20px 0 0;
}

.theme-infographic .skills-visual {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.theme-infographic .skill-bar {
    background: #f1f5f9;
    border-radius: 10px;
    padding: 15px;
    position: relative;
}

.theme-infographic .skill-name {
    font-weight: 600;
    margin-bottom: 8px;
    color: #334155;
}

.theme-infographic .skill-progress {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.theme-infographic .skill-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 4px;
    animation: skillFill 2s ease-out;
}

/* Magazine Layout Theme */
.theme-magazine {
    background: #fff;
    font-family: 'Playfair Display', serif;
    color: #1a1a1a;
}

.theme-magazine .cv-container {
    background: white;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 2fr;
    min-height: 100vh;
}

.theme-magazine .cv-sidebar {
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 40px 30px;
}

.theme-magazine .cv-main {
    padding: 40px;
    background: #fafafa;
}

.theme-magazine .cv-name {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.theme-magazine .cv-title {
    font-size: 1rem;
    opacity: 0.9;
    font-style: italic;
    margin-bottom: 30px;
}

.theme-magazine .sidebar-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.theme-magazine .sidebar-section:last-child {
    border-bottom: none;
}

.theme-magazine .section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ecf0f1;
}

/* Geometric Modern Theme */
.theme-geometric {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Montserrat', sans-serif;
    color: #2c3e50;
}

.theme-geometric .cv-container {
    background: white;
    margin: 30px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.theme-geometric .cv-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
}

.theme-geometric .cv-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px;
    position: relative;
}

.theme-geometric .cv-header::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.theme-geometric .section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.theme-geometric .section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid #667eea;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

/* Animation Keyframes */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes skillFill {
    from { width: 0%; }
    to { width: var(--skill-width, 100%); }
}

/* Print Styles for Visual Themes */
@media print {
    .theme-creative-designer::before,
    .theme-geometric .cv-container::before {
        display: none;
    }
    
    .theme-creative-designer .cv-container,
    .theme-minimalist-modern .cv-container,
    .theme-infographic .cv-container,
    .theme-geometric .cv-container {
        margin: 0;
        box-shadow: none;
        border-radius: 0;
    }
    
    .theme-magazine .cv-container {
        display: block;
    }
    
    .theme-magazine .cv-sidebar {
        background: #2c3e50 !important;
        color: white !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .theme-magazine .cv-container {
        grid-template-columns: 1fr;
    }
    
    .theme-creative-designer .cv-name {
        font-size: 2rem;
    }
    
    .theme-minimalist-modern .cv-name {
        font-size: 2rem;
    }
    
    .theme-infographic .skills-visual {
        grid-template-columns: 1fr;
    }
}