/* ========== GLASS CARD RESUME PREVIEW STYLES ========== */

.resume-preview-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
    min-height: 100vh;
}

/* ========== GLASS CARD FOUNDATION ========== */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 188, 212, 0.2);
    box-shadow: 0 16px 64px rgba(0, 188, 212, 0.1);
}

.glass-card:hover::before {
    opacity: 1;
}

/* ========== RESUME HEADER ========== */
.resume-header-section {
    margin-bottom: 2rem;
}

.resume-header-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
}

.resume-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.resume-identity .resume-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 188, 212, 0.3);
}

.resume-identity .resume-title {
    font-size: 1.3rem;
    color: #4DD0E1;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.resume-identity .resume-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

/* Contact Grid */
.resume-contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 188, 212, 0.3);
}

.contact-item i {
    color: #4DD0E1;
    width: 16px;
    text-align: center;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #4DD0E1;
}

/* Header Actions */
.resume-header-actions {
    display: flex;
    gap: 1rem;
}

.glass-btn {
    padding: 0.75rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.glass-btn.primary {
    background: linear-gradient(135deg, #00BCD4, #26C6DA);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 188, 212, 0.3);
}

.glass-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 188, 212, 0.4);
    background: linear-gradient(135deg, #26C6DA, #4DD0E1);
}

.glass-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

/* ========== SECTION STYLING ========== */
.resume-section {
    margin-bottom: 2rem;
}

.section-header {
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.section-title i {
    color: #4DD0E1;
    font-size: 1.2rem;
}

/* ========== PROFESSIONAL SUMMARY ========== */
.summary-text {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    text-align: justify;
}

/* ========== METRICS GRID ========== */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.metric-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.metric-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 188, 212, 0.2);
}

.metric-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #4DD0E1;
    font-family: 'Roboto Mono', monospace;
    display: block;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== SKILLS SECTION ========== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.skill-category-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.skill-category-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 188, 212, 0.2);
}

.skill-category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4DD0E1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.75rem;
}

.skill-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.skill-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-weight: 500;
    color: #ffffff;
}

.skill-proficiency {
    font-size: 0.85rem;
    color: #4DD0E1;
    font-family: 'Roboto Mono', monospace;
    padding: 0.25rem 0.75rem;
    background: rgba(77, 208, 225, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(77, 208, 225, 0.2);
}

.skill-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ========== PROJECTS SECTION ========== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.project-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.project-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 188, 212, 0.2);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.project-date {
    font-size: 0.8rem;
    color: #4DD0E1;
    font-family: 'Roboto Mono', monospace;
    padding: 0.25rem 0.75rem;
    background: rgba(77, 208, 225, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(77, 208, 225, 0.2);
    white-space: nowrap;
}

.project-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: #4DD0E1;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(77, 208, 225, 0.1);
    border: 1px solid rgba(77, 208, 225, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: rgba(77, 208, 225, 0.2);
    color: #ffffff;
}

/* ========== TECH TAGS ========== */
.tech-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 188, 212, 0.1);
    color: #4DD0E1;
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(0, 188, 212, 0.2);
    color: #ffffff;
}

/* ========== TWO COLUMN LAYOUT ========== */
.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* ========== TIMELINE ITEMS ========== */
.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    border-left: 2px solid rgba(77, 208, 225, 0.3);
    padding-left: 1rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0;
    width: 8px;
    height: 8px;
    background: #4DD0E1;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(77, 208, 225, 0.2);
}

.item-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.item-subtitle {
    font-size: 0.9rem;
    color: #4DD0E1;
    margin-bottom: 0.25rem;
}

.item-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-bottom: 0.75rem;
}

.item-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
}

.experience-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ========== FOOTER ========== */
.resume-footer {
    margin-top: 3rem;
}

.footer-card {
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-info i {
    color: #4DD0E1;
}

.download-formats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.format-link {
    color: #4DD0E1;
    text-decoration: none;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    background: rgba(77, 208, 225, 0.1);
    border: 1px solid rgba(77, 208, 225, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.format-link:hover {
    background: rgba(77, 208, 225, 0.2);
    color: #ffffff;
}

.generated-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .resume-preview-container {
        padding: 1rem 0.5rem;
    }
    
    .glass-card {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .resume-header-content {
        gap: 1.5rem;
    }
    
    .resume-identity .resume-name {
        font-size: 2rem;
    }
    
    .resume-contact-grid {
        flex-direction: column;
        gap: 1rem;
    }
    
    .resume-header-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .glass-btn {
        justify-content: center;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .two-column-grid {
        grid-template-columns: 1fr;
    }
    
    .project-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .project-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .download-formats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-info p {
        flex-direction: column;
        gap: 0.25rem;
    }
}

@media (max-width: 480px) {
    .resume-identity .resume-name {
        font-size: 1.75rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        width: 100%;
        justify-content: center;
    }
    
    .skill-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .project-technologies {
        gap: 0.25rem;
    }
    
    .tech-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
}