/* Global Styles */
* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.gradient-bg {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.text-gradient {
    background: linear-gradient(135deg, #1e293b 0%, #64748b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Cards */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

/* Profile Image */
.profile-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #e2e8f0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: rgba(255, 255, 255, 0.8);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active::after {
    width: 100%;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(30, 41, 59, 0.3);
}

.btn-secondary {
    background: rgba(30, 41, 59, 0.05);
    color: #1e293b;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(30, 41, 59, 0.1);
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.btn-download {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border: none;
    transition: all 0.3s ease;
    color: white;
}

.btn-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

/* Typography */
.section-title {
    color: #1e293b;
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* CV specific section title */
.cv-section-title {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.cv-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #64748b;
}

.text-muted {
    color: #64748b;
}

/* Layout */
.bg-section {
    background: #fafafa;
}

/* Language Switcher */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.lang-switcher a {
    padding: 0.25rem 0.5rem;
    text-decoration: none;
    color: #64748b;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    background: #1e293b;
    color: white;
}

@media (max-width: 640px) {
    .lang-switcher {
        top: 70px;
        right: 10px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(5px);
    }
}

/* Forms (Contact Page) */
.form-input {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    border-color: #1e293b;
    box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.1);
    outline: none;
}

.contact-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

/* Skill Tags */
.skill-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.skill-tag-expert {
    background: #1e40af;
    color: white;
}

.skill-tag-expert:hover {
    background: #1e3a8a;
    transform: translateY(-1px);
}

.skill-tag-advanced {
    background: #3b82f6;
    color: white;
}

.skill-tag-advanced:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.skill-tag-intermediate {
    background: #93c5fd;
    color: #1e3a8a;
}

.skill-tag-intermediate:hover {
    background: #60a5fa;
    color: white;
    transform: translateY(-1px);
}

/* CV Navigation */
.cv-nav-link.active {
    background: #1e293b;
    color: white;
}

/* Sticky Header Animation */
#cv-sticky-header.visible {
    transform: translateY(0);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}