/* Trending CV Themes - Based on Popular Online Designs */

/* Split Modern Theme - Popular on Canva/Figma */
.theme-split-modern {
    background: #f8f9fa;
    font-family: 'Inter', sans-serif;
    color: #1a202c;
}

.theme-split-modern .cv-container {
    background: white;
    margin: 20px auto;
    max-width: 850px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 320px 1fr;
    min-height: 1100px;
}

.theme-split-modern .cv-left {
    background: linear-gradient(180deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 40px 30px;
    position: relative;
}

.theme-split-modern .cv-left::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    width: 40px;
    height: 100%;
    background: linear-gradient(180deg, #4f46e5 0%, #7c3aed 100%);
    transform: skewX(-15deg);
    z-index: 1;
}

.theme-split-modern .cv-right {
    padding: 40px;
    background: white;
    position: relative;
    z-index: 2;
}

.theme-split-modern .profile-section {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
}

.theme-split-modern .profile-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 5px solid rgba(255,255,255,0.3);
    margin: 0 auto 20px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.theme-split-modern .cv-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.theme-split-modern .cv-title {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    color: rgba(255,255,255,0.9);
}

/* Minimalist Elegant Theme */
.theme-minimalist-elegant {
    background: #fafafa;
    font-family: 'Lato', sans-serif;
    color: #2d3748;
}

.theme-minimalist-elegant .cv-container {
    background: white;
    margin: 30px auto;
    max-width: 800px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-radius: 0;
    border-top: 6px solid #e53e3e;
}

.theme-minimalist-elegant .cv-header {
    padding: 50px 40px 30px;
    text-align: center;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.theme-minimalist-elegant .profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #e53e3e;
    margin: 0 auto 25px;
    background: #f7fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #e53e3e;
    overflow: hidden;
}

.theme-minimalist-elegant .cv-name {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 10px;
    color: #2d3748;
    letter-spacing: 1px;
}

.theme-minimalist-elegant .cv-title {
    font-size: 1.1rem;
    color: #e53e3e;
    font-weight: 400;
    margin-bottom: 20px;
}

.theme-minimalist-elegant .cv-body {
    padding: 40px;
}

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

/* Bold Creative Theme */
.theme-bold-creative {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Poppins', sans-serif;
    color: #2d3748;
}

.theme-bold-creative .cv-container {
    background: white;
    margin: 25px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    overflow: hidden;
    position: relative;
}

.theme-bold-creative .cv-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    background-size: 400% 100%;
    animation: colorSlide 8s ease infinite;
}

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

.theme-bold-creative .cv-header::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 30px solid #667eea;
}

.theme-bold-creative .profile-photo {
    width: 160px;
    height: 160px;
    border-radius: 20px;
    border: 6px solid white;
    margin: 0 auto 30px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.theme-bold-creative .profile-photo:hover {
    transform: rotate(0deg);
}

.theme-bold-creative .cv-body {
    padding: 60px 40px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Corporate Professional Theme */
.theme-corporate-pro {
    background: #f7fafc;
    font-family: 'Source Sans Pro', sans-serif;
    color: #2d3748;
}

.theme-corporate-pro .cv-container {
    background: white;
    margin: 20px auto;
    max-width: 820px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
}

.theme-corporate-pro .cv-header {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: white;
    padding: 40px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
}

.theme-corporate-pro .profile-photo {
    width: 110px;
    height: 110px;
    border-radius: 8px;
    border: 4px solid white;
    background: #4a5568;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    overflow: hidden;
}

.theme-corporate-pro .header-info {
    text-align: left;
}

.theme-corporate-pro .cv-name {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.theme-corporate-pro .cv-title {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 15px;
    color: #e2e8f0;
}

.theme-corporate-pro .header-contact {
    text-align: right;
    font-size: 0.9rem;
}

.theme-corporate-pro .contact-item {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.theme-corporate-pro .contact-item i {
    margin-left: 8px;
    color: #63b3ed;
}

/* Modern Geometric Theme */
.theme-modern-geometric {
    background: #f8fafc;
    font-family: 'Nunito', sans-serif;
    color: #1a202c;
}

.theme-modern-geometric .cv-container {
    background: white;
    margin: 25px auto;
    max-width: 800px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
}

.theme-modern-geometric .cv-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 148, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(69, 183, 209, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.theme-modern-geometric .cv-content {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
}

.theme-modern-geometric .cv-header {
    padding: 50px 40px;
    text-align: center;
    background: transparent;
}

.theme-modern-geometric .profile-photo {
    width: 130px;
    height: 130px;
    border-radius: 30px;
    border: 4px solid white;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transform: rotate(5deg);
}

.theme-modern-geometric .cv-name {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1a202c;
    background: linear-gradient(135deg, #667eea, #764ba2);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Creative Portfolio Theme */
.theme-creative-portfolio {
    background: #1a202c;
    font-family: 'Montserrat', sans-serif;
    color: #e2e8f0;
}

.theme-creative-portfolio .cv-container {
    background: #2d3748;
    margin: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    border: 1px solid #4a5568;
}

.theme-creative-portfolio .cv-header {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: #e2e8f0;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.theme-creative-portfolio .cv-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(99, 179, 237, 0.1) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(236, 72, 153, 0.1) 50%, transparent 70%);
    animation: shimmer 6s ease-in-out infinite;
}

.theme-creative-portfolio .cv-header > * {
    position: relative;
    z-index: 1;
}

.theme-creative-portfolio .profile-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid #63b3ed;
    margin: 0 auto 25px;
    background: #4a5568;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #63b3ed;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(99, 179, 237, 0.3);
}

.theme-creative-portfolio .cv-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #f7fafc;
    text-align: center;
}

.theme-creative-portfolio .cv-title {
    font-size: 1.2rem;
    color: #63b3ed;
    text-align: center;
    margin-bottom: 20px;
}

.theme-creative-portfolio .cv-body {
    padding: 40px;
    background: #2d3748;
}

.theme-creative-portfolio .section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #f7fafc;
    margin-bottom: 20px;
    margin-top: 30px;
    position: relative;
    padding-left: 20px;
}

.theme-creative-portfolio .section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #63b3ed, #ec4899);
    border-radius: 2px;
}

/* Executive Premium Theme */
.theme-executive-premium {
    background: #f7fafc;
    font-family: 'Playfair Display', serif;
    color: #1a202c;
}

.theme-executive-premium .cv-container {
    background: white;
    margin: 30px auto;
    max-width: 850px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-radius: 0;
    border-top: 8px solid #c53030;
    border-bottom: 2px solid #e2e8f0;
}

.theme-executive-premium .cv-header {
    padding: 60px 50px 40px;
    background: linear-gradient(135deg, #f7fafc 0%, #ffffff 100%);
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.theme-executive-premium .profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #c53030;
    margin: 0 auto 30px;
    background: #fed7d7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #c53030;
    overflow: hidden;
}

.theme-executive-premium .cv-name {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: #1a202c;
    letter-spacing: 1px;
}

.theme-executive-premium .cv-title {
    font-size: 1.3rem;
    color: #c53030;
    font-weight: 400;
    margin-bottom: 25px;
    font-style: italic;
}

.theme-executive-premium .cv-body {
    padding: 50px;
}

/* Animations */
@keyframes colorSlide {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .theme-split-modern .cv-container,
    .theme-corporate-pro .cv-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .theme-bold-creative .cv-body {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .theme-modern-geometric .cv-name {
        font-size: 2rem;
    }
    
    .theme-executive-premium .cv-name {
        font-size: 2.2rem;
    }
}

/* Print Optimizations */
@media print {
    .theme-split-modern .cv-left,
    .theme-corporate-pro .cv-header,
    .theme-creative-portfolio .cv-header {
        background: #4f46e5 !important;
        color: white !important;
    }
    
    .theme-bold-creative .cv-container::before,
    .theme-modern-geometric .cv-container::before {
        display: none;
    }
    
    .theme-creative-portfolio .cv-container {
        background: white !important;
        color: #1a202c !important;
        border: 1px solid #e2e8f0 !important;
    }
    
    .theme-creative-portfolio .cv-body {
        background: white !important;
        color: #1a202c !important;
    }
}