@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Playfair+Display:ital,wght@0,600;1,400&display=swap');

:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    
    /* Gradients */
    --gradient-omer: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --gradient-muge: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    --gradient-global: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 40%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.fade-in {
    animation: fadeInUp 1s var(--transition-smooth) forwards;
}

/* Glassmorphism Hub Layout */
.hub-container {
    max-width: 1100px;
    width: 90%;
    text-align: center;
    padding: 3rem 0;
}

.hub-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.05em;
    background: linear-gradient(to right, #f8fafc, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hub-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    font-weight: 300;
}

.cards-wrapper {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 450px;
    padding: 3rem 2rem;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    transition: var(--transition-smooth);
}

.profile-card.omer::before {
    background: var(--gradient-omer);
}

.profile-card.muge::before {
    background: var(--gradient-muge);
}

.profile-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.avatar-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    padding: 4px;
    margin-bottom: 2rem;
    position: relative;
}

.profile-card.omer .avatar-wrapper {
    background: var(--gradient-omer);
}

.profile-card.muge .avatar-wrapper {
    background: var(--gradient-muge);
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-dark);
}

.name {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.tagline {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.profile-card.omer .tagline {
    background: var(--gradient-omer);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-card.muge .tagline {
    background: var(--gradient-muge);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bio {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
}

.badge-container {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
}

.badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* CV Layout & Styling */
.cv-container {
    max-width: 1000px;
    width: 90%;
    margin: 4rem auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 4rem;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(20px);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 3rem;
    transition: var(--transition-smooth);
}

.back-btn:hover {
    color: var(--text-primary);
    transform: translateX(-4px);
}

.cv-header {
    display: flex;
    gap: 3rem;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 3rem;
    margin-bottom: 3rem;
}

.cv-header-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
}

.cv-header-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.cv-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.cv-section {
    margin-bottom: 3rem;
}

.cv-section h2 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.cv-section h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 4px;
    border-radius: 2px;
}

.omer .cv-section h2::after {
    background: var(--gradient-omer);
}

.muge .cv-section h2::after {
    background: var(--gradient-muge);
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid var(--border-color);
    padding-bottom: 2.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-secondary);
}

.omer .timeline-item::before {
    background: #3b82f6;
}

.muge .timeline-item::before {
    background: #ec4899;
}

.timeline-date {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.timeline-company {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.timeline-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.cv-sidebar {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.sidebar-block h3 {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

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

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
}

.skill-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.skill-level {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.contact-item:hover {
    color: var(--text-primary);
}

.contact-item svg {
    width: 20px;
    height: 20px;
    opacity: 0.7;
}

@media (max-width: 900px) {
    .cv-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .cv-header {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}

/* Language Switcher */
.lang-switch {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    z-index: 100;
}

.lang-switch a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

.lang-switch a:hover, .lang-switch a.active {
    color: var(--text-primary);
}

.lang-switch span {
    color: rgba(255, 255, 255, 0.2);
}
