/* Experience Dropdown in Header */
.experience-dropdown {
    position: relative;
    display: inline-block;
}

.experience-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3em;
}

.experience-link i {
    opacity: 1;
    visibility: visible;
    transition: transform 0.3s ease;
}

.experience-link:hover {
    color: var(--accent);
}

.experience-link:hover i {
    transform: translateY(2px);
}

.experience-dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 160px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    z-index: 1100;
    margin-top: 0.5em;
    padding: 0.5em 0;
}

.experience-dropdown-content a {
    color: var(--text-primary);
    padding: 0.5em 1.5em;
    text-decoration: none;
    display: block;
    font-size: 1em;
    transition: background 0.2s, color 0.2s;
}

.experience-dropdown-content a:hover {
    background-color: transparent;
    color: var(--accent);
}


/* Dropdown mais estático: não fecha imediatamente ao sair do link */
.experience-dropdown.open .experience-dropdown-content {
    display: block;
}
/* Reset e variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth scrolling fallback for browsers that support it */
html {
    scroll-behavior: smooth;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --border: #2a2a2a;
    --scroll-duration: 800ms;
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: #f5f5f5;
    --bg-secondary: #efefef;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --border: #e5e7eb;
    --navbar-bg: #ebe8e8;
}

[data-theme="light"] .project-card {
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}

[data-theme="light"] .project-card:hover {
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}
